码迷,mamicode.com
首页 > 其他好文 > 详细

cocoapods 不生成xcworkspace文件

时间:2015-10-01 20:25:33      阅读:145      评论:0      收藏:0      [点我收藏+]

标签:

每次 $ pod install 不生成 xcworkspace 文件, 结束都会报错:

 

MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-8208.9/IDEFoundation/Initialization/IDEInitialization.m:590
Details: Assertion failed: _initializationCompletedSuccessfully
Function: BOOL IDEIsInitializedForUserInteraction()
Thread: <NSThread: 0x7fefb4375c50>{number = 1, name = main}
Hints: None
Backtrace:
0 0x00000001058e88a8 -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
1 0x00000001058e8035 _DVTAssertionHandler (in DVTFoundation)
2 0x00000001058e82a1 _DVTAssertionFailureHandler (in DVTFoundation)
3 0x00000001058e8203 _DVTAssertionFailureHandler (in DVTFoundation)
4 0x0000000107643c4c IDEIsInitializedForUserInteraction (in IDEFoundation)
5 0x000000010a29cd39 +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
6 0x000000010a29e8be +[PBXProject projectWithFile:errorHandler:] (in DevToolsCore)
7 0x00007fff8b942f44 ffi_call_unix64 (in libffi.dylib)
Abort trap: 6

查了一下版本 $pod COMMAND --version

发现是0.37的旧版了

于是更新了版本:sudo gem install cocoa pods

测试发现,问题解决。

cocoapods 不生成xcworkspace文件

标签:

原文地址:http://www.cnblogs.com/rednow/p/4851374.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!