我在一个项目中遇到了问题。该项目使用Cocoapods来管理其库。我像往常一样运行
我已经尝试过以下操作:
如果有帮助的话,我正在使用xCode6和Cocoapods
pod install
开始工作,但是Xcode却给我报错:Undefined symbols for architecture armv7
,如下图所示:
pod install
,但仍无法解决问题。我已经尝试过以下操作:
- 清理项目并重新构建。
- 删除与Cocoapods相关的文件,然后再次运行
pod install
。 - 尝试将类添加到项目目标的Compile Sources中,但无法添加。该类位于Pods的工作区中。
- 将Build Active Architecture Only从
YES
更改为NO
。
如果有帮助的话,我正在使用xCode6和Cocoapods
0.34.4
。该项目的有效架构为armv7和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.
提前致谢。