xcode7下pod install报错Assertion failed: _initializationCompletedSuccessfully

自从更新了xcode7之后,pop更新和安装就报错了:

[MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-8227/IDEFoundation/Initialization/IDEInitialization.m:590
Details:  Assertion failed: _initializationCompletedSuccessfully
Function: BOOL IDEIsInitializedForUserInteraction()
Thread:   <NSThread: 0x7ff01d69f160>{number = 1, name = main}
Hints: None
Backtrace:
  0  0x00000001011a6a5c -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
  1  0x00000001011a61e9 _DVTAssertionHandler (in DVTFoundation)
  2  0x00000001011a6455 _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x00000001011a63b7 _DVTAssertionFailureHandler (in DVTFoundation)
  4  0x0000000102642f5c IDEIsInitializedForUserInteraction (in IDEFoundation)
  5  0x000000010529aeb9 +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
  6  0x000000010529ca3e +[PBXProject projectWithFile:errorHandler:] (in DevToolsCore)
  7  0x00007fff8a9dbf44 ffi_call_unix64 (in libffi.dylib)
Abort trap: 6


我去。。找了一些原因,后来测试发现,把cocoapods 升级到最新版本就行了。

sudo gem install cocoapods


另外说一个题外话,淘宝吧 他的ruby源 改为 https协议了,记得替换。。。。


gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/ $ gem sources -l
*** CURRENT SOURCES ***

https://ruby.taobao.org # 请确保只有 ruby.taobao.org

关键词: xcode7

上一篇: 如何定义一个人的成功?
下一篇: Discuz获取IP的bug问题分析,坑爹的玩意

目前还没有人评论,您发表点看法?
发表评论

评论内容 (必填):