2017-09-04 65 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。

相关问题