2017-09-04 63 views
0

嘗試使用火力與iOS和火力「鐺:錯誤:連接命令失敗」與IOS和Xcode的

1)創建與迅速爲iPhone .. IOS一個項目叫做笨之前從來沒有處理豆莢 2)這裏就是項目所在地和文件創建:

~/Documents/swift/stupid$ ls 
stupid   stupid.xcodeproj 

3)這是火力點說做:

Move the GoogleService-Info.plist file you just downloaded into the root of your Xcode project and add it to all targets. 

~/Documents/swift/stupid/stupid$ ls 
AppDelegate.swift  GoogleService-Info.plist stupid.xcdatamodeld 
Assets.xcassets   Info.plist 
Base.lproj   ViewController.swift 

4)我運行下面的〜/ Documen TS /斯威夫特/傻目錄 〜/文檔/斯威夫特/愚蠢$莢初始化

Google services use CocoaPods to install and manage dependencies. Open a terminal window and navigate to the location of the Xcode project for your app. 

Create a Podfile if you don't have one: 

pod init 
Open your Podfile and add: 

pod 'Firebase/Core' 
includes Analytics by default help_outline 
Save the file and run: 

pod install 

5)我建項目

現在我得到這個錯誤。誰能告訴我爲什麼?

clang: error: linker command failed with exit code 1 (use -v to see invocation) 

回答

2

仔細檢查您打開工作區而不是xcodeproj。

相關問題