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

我偶然发现了一个需要处理的项目的问题。 该项目使用Cocoapods来pipe理其库。 我像往常一样运行pod install来开始,但xcode给我错误。 我得到了Undefined symbols for architecture armv7如下图所示:

在这里输入图像说明

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

我到目前为止所做的:

  • 清理项目并重新构build。
  • 删除Cocoapods相关文件并再次运行pod install
  • 试图在Project Target中的Compile Sources中添加类,但是不能。 该课程在Pods工作区中。
  • 将“构build主动架构”仅从YES更改为“ NO

我也尝试从同样的问题的解决scheme,但没有一个是为我工作。

如果有帮助,我使用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. 

提前致谢。

好像你在其他链接标志中没有$(inherited) 。 请发布pod install输出

你可能只需要清理构build文件夹(⌥⇧⌘K)。

在这里输入图像说明