我偶然发现了我需要处理的项目中的问题。该项目使用Cocoapods来管理其库。我pod install
像往常一样开始运行,但是xcode给我错误。我得到了Undefined symbols for architecture armv7
你可以在下面的图片中看到:
所有这些符号都是我在项目中使用的库。例如。AFNetworking,RNBlurModalView。我试图从项目中删除所有与Cocoapods相关的文件并pod install
再次运行,但是仍然不能解决问题。
到目前为止,我所做的是:
pod install
再次运行。YES
为NO
。我也尝试了相同问题的解决方案,但没有一个对我有用。
如果有帮助,我正在使用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
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句