[英]no xcworkspace generated when using pod
我使用Swift创建了一个新的iOS项目,在该项目中我创建了新的文件项目 - > Cocoa touch framework。 然后我去了我的终端,并执行了以下命令:
pod init
open -a xcode podfile
我在podfile中写了以下内容:
platform :ios, '9.0'
use_frameworks!
target 'Halgat' do
pod 'SwiftyJSON'
pod 'Alamofire'
pod 'AlamofireObjectMapper', '~> 4.0'
pod 'SCLAlertView'
end
但是没有创建App.xcworkspace,我的问题是什么,怎么回事?
这是我的文件夹的外观:
我运行pod install
,终端输出如下:
Analyzing dependencies
Downloading dependencies
Installing Alamofire (4.2.0)
Installing AlamofireObjectMapper (4.0.1)
Installing ObjectMapper (2.2.2)
Installing SCLAlertView (0.7.0)
Installing SwiftyJSON (3.1.3)
Generating Pods project
Abort trap: 6
您必须使用以下命令更新您的cocoapods:
gem update cocoapods
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.