,我遇到的问题是,我不能编译我的应用程序,因为我得到了以下错误:
ld: library not found for -lBolts
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我有我XCode项目配置为使用的CocoaPods,这是我荚的名单:
pod 'Google/Analytics', '~> 1.0.0'
pod 'AFNetworking', '~> 2.0'
pod 'XCDYouTubeKit', '~> 2.4.0'
pod 'FBSDKCoreKit'
pod 'FBSDKShareKit'
pod 'FBSDKLoginKit'
pod 'Parse'
pod 'ParseUI'
pod 'ParseFacebookUtilsV4'
pod 'ParseTwitterUtils'
这是命令pod install
的输出:
Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Installing AFNetworking (2.6.3)
Installing Bolts (1.5.0)
Installing FBSDKCoreKit (4.8.0)
Installing FBSDKLoginKit (4.8.0)
Installing FBSDKShareKit (4.8.0)
Installing Google (1.0.7)
Installing GoogleAnalytics (3.14.0)
Installing GoogleNetworkingUtilities (1.0.0)
Installing GoogleSymbolUtilities (1.0.3)
Installing GoogleUtilities (1.1.0)
Installing Parse (1.10.0)
Installing ParseFacebookUtilsV4 (1.9.1)
Installing ParseTwitterUtils (1.9.1)
Installing ParseUI (1.1.7)
Installing XCDYouTubeKit (2.4.1)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 10 dependencies from the Podfile and 15 total pods installed.
的事情,我曾尝试:
- 清洁和重建
- 退出Xcode中,清洁和重建
- 删除所有吊舱和重新安装,清洁和重建
在哪里可以找到'构建有源体系Only'?一个截图将不胜感激。 – Eye
@Eye - 以下是Xcode 7.3的截图:http://i.imgur.com/7GpNoMA.png。文本说明:它在“构建设置”>“体系结构”下。 – DMan