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

Fai*_*tar 29 xcode armv7 ios cocoapods xcode-project

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

在此输入图像描述

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

到目前为止我做了什么:

  • 清理项目并重新构建.
  • 删除Cocoapods相关文件并pod install再次运行.
  • 试图在Project Target中的Compile Sources中添加类,但不能.该类位于Pods工作区中.
  • 设置编译有源体系仅从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.
Run Code Online (Sandbox Code Playgroud)

提前致谢.

小智 72

看起来你没有$(inherited)其他LINKER FLAGS.请发布输出pod install