美文网首页
cocoapods 不生成xcworkspace文件

cocoapods 不生成xcworkspace文件

作者: rednow | 来源:发表于2015-10-01 17:47 被阅读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文件

          本文链接:https://www.haomeiwen.com/subject/srhgcttx.html