在Xcode7下执行pod install命令时,报如下错误:
2015-09-23 14:14:10.115 ruby[3456:188736] [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: 0x7fb4eaef4560>{number = 1, name = main}
Hints: None
Backtrace:
0 0x00000001090b4a5c -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
1 0x00000001090b41e9 _DVTAssertionHandler (in DVTFoundation)
2 0x00000001090b4455 _DVTAssertionFailureHandler (in DVTFoundation)
3 0x00000001090b43b7 _DVTAssertionFailureHandler (in DVTFoundation)
4 0x000000010a53cf5c IDEIsInitializedForUserInteraction (in IDEFoundation)
5 0x000000010d153eb9 +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
6 0x000000010d155a3e +[PBXProject projectWithFile:errorHandler:] (in DevToolsCore)
7 0x00007fff9736ef44 ffi_call_unix64 (in libffi.dylib)
Abort trap: 6
解决方法 更新cocoapods 版本到最新版本即可
sudo gem install cocoapods --pre
查看cocoapods版本
pod --version