我偶然发现了我需要处理的项目问题。该项目使用Cocoapods来管理其库。我像往常一样运行pod install
开始,但xcode给我错误。我得到了Undefined symbols for architecture armv7
,如下图所示:
所有这些符号都是我用于项目的库。例如。 AFNetworking,RNBlurModalView。我试图从项目中删除所有Cocoapods相关文件并再次运行pod install
,但它仍然无法解决问题。
到目前为止我做了什么:
pod install
。YES
设置为NO
。我也尝试了same problem的解决方案,但没有一个对我有用。
如果有帮助,我正在使用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.
提前致谢。