Cocoapods库的架构armv7的未定义符号

法兹·莫赫塔(Faiz Mokhtar)

我偶然发现了我需要处理的项目中的问题。该项目使用Cocoapods来管理其库。pod install像往常一样开始运行,但是xcode给我错误。我得到了Undefined symbols for architecture armv7你可以在下面的图片中看到:

在此处输入图片说明

所有这些符号都是我在项目中使用的库。例如。AFNetworking,RNBlurModalView。我试图从项目中删除所有与Cocoapods相关的文件并pod install再次运行,但是仍然不能解决问题。

到目前为止,我所做的是:

  • 清理项目,然后重新构建。
  • 删除与Cocoapods相关的文件,然后pod install再次运行
  • 试图将类添加到Project Target的“编译源”中,但不能这样做。该类在Pods工作区中。
  • 将Build Active Architecture仅从设置YESNO

我也尝试了相同问题的解决方案,但没有一个对我有用。

如果有帮助,我正在使用xCode6和Cocoapods 0.34.4该项目的有效架构为armv7 and armv7s

更新:运行时pod install --verbose

Integrating client project

Integrating target `Pods` (`AIYOCore.xcodeproj` project)

[!] The use of implicit sources has been deprecated. To continue using all of the sources currently on your machine, add the following to the top of your Podfile:

    source 'https://github.com/CocoaPods/Specs.git'


[!] The `Project [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

[!] The `Project [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

提前致谢。

安德烈·申德(Andrei Shender)

好像您没有$(inherited)其他链接器标志。请发布的输出pod install

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

架构armv7的未定义符号:“ _ OBJC_CLASS _ $ _ FIRApp”

架构armv7的未定义符号

架构armv7的重复符号

Apple Mach-O链接器错误(20)-体系结构armv7的未定义符号

架构Armv7 Swift的未定义符号

不允许使用swift类的Objective C头文件中定义的Constant。架构armv7的未定义符号

OpenTok(iOS)v2.4.0(64位)-体系结构armv7的未定义符号

ZBar:体系结构armv7的未定义符号

架构armv7的未定义符号:“ _ OBJC_CLASS _ $ _ GGLContext”,引用自:AppDelegate.o中的objc-class-ref

架构armv7的未定义符号:“ _ objc_readClassPair”,引用自:libarclite_iphoneos.a(arclite.o)中的__ARCLite__load()

ld:用于架构armv7 FireBase Google的4个重复符号

Xcode错误:使用Cometchat Cordova的架构armv7的9个重复符号

架构armv7的未定义符号:“ query_call_back(callback_func_type)”

使用objc_setAssociatedObject时,体系结构armv7的未定义符号

使用Zxing GreyscaleLuminanceSource XCode 5的项目中体系结构armv7错误的未定义符号

Google admob架构armv7的未定义符号

设置-ObjC标志时,libGoogleAnalyticsServices.a中的体系结构armv7的未定义符号

SignalR-Objc-架构armv7的未定义符号

在iOS 8中找不到架构Armv7的符号

MobileAppTracker架构armv7的未定义符号:

Unity 4.6.6 Xcode'armv7 / arm64体系结构的未定义符号'链接器错误

架构armv7错误的重复符号

切换到Xcode7时的链接器问题,体系结构armv7的未定义符号:_objc_readClassPair

架构armv7的未定义符号:“ _ OBJC_CLASS _ $ _ ALAssetsLibrary”,引用自:GooglePlus(NSData + GPPAdditions.o)

Apple Mach-O链接器错误。架构armv7的未定义符号

Mac o 链接器错误(id)架构 armv7 的未定义符号:

从 Unity3D 导入后,Xcode 中架构 armv7 的未定义符号

找不到架构 armv7 的符号(在 Xcode 和 Python3 中运行存档时)

xCode Cocoapods 构建失败“架构 x86_64 的未定义符号”