,我遇到的問題是,我不能編譯我的應用程序,因爲我得到了以下錯誤:
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