在使用cocoapods的过程中,遇到了一个问题,就是在更新cocoapods的过程中,遇到一个问题,报错!大致如下;
Podfile文件如下:
platform:ios, ‘7.0’
pod ‘SDWebImage’, ‘~> 3.7.1’
pod ‘CocoaHTTPServer’, ‘~> 2.3’
pod ‘RoutingHTTPServer’, ‘~> 1.0.0’
pod ‘Masonry’, ‘~> 0.6.1’
pod ‘ASIHTTPRequest’, ‘~> 1.8.2’
pod ‘MBProgressHUD’, ‘~> 0.9.1’
pod ‘AFNetworking’, ‘~> 2.5.4’
在利用命令(首先切换到对项目所在目录)
pod install
的时候出现以下问题:
Update all pods
Analyzing dependencies
CocoaPods 0.39.0.beta.4 is available.
To update use: gem install cocoapods --pre
[!] This is a test version we’d love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Downloading dependencies
Installing AFNetworking (2.5.4)
Installing ASIHTTPRequest (1.8.2)
Installing CocoaAsyncSocket (7.4.2)
Installing CocoaHTTPServer (2.3)
Installing CocoaLumberjack (2.0.1)
Installing MBProgressHUD (0.9.1)
Installing Masonry (0.6.3)
Installing Reachability (3.2)
Installing RoutingHTTPServer (1.0.0)
Installing SDWebImage (3.7.3)
Generating Pods project
2015-09-23 13:18:31.468 ruby[1245:292388] [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: {number = 1, name = main}
Hints: None
Backtrace:
0 0x0000000106998a5c -[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
1 0x00000001069981e9 _DVTAssertionHandler (in DVTFoundation)
2 0x0000000106998455 _DVTAssertionFailureHandler (in DVTFoundation)
3 0x00000001069983b7 _DVTAssertionFailureHandler (in DVTFoundation)
4 0x0000000107e42f5c IDEIsInitializedForUserInteraction (in IDEFoundation)
5 0x000000010aa42eb9 +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
6 0x000000010aa44a3e +[PBXProject projectWithFile:errorHandler:] (in DevToolsCore)
7 0x00007fff91012f44 ffi_call_unix64 (in libffi.dylib)
Abort trap: 6
victordeiMac:swiftproject victor ge