iOS   发布时间:2022-05-04  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了ios – ‘pod install’在Xcode 7上出错大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

我更新了我的 cocoapods(0.38.2)gem和 xcodeproj(0.27.2),但仍然收到错误: – WriTing Xcode project file to `Pods/Pods.xcodeproj` 2015-09-24 09:40:27.969 rubY[12098:428715] [MT] DVTAssertions: ASSERTION FAILURE in
我更新了我的 cocoapods(0.38.2)gem和 xcodeproj(0.27.2),但仍然收到错误: –

WriTing Xcode project file to `Pods/Pods.xcodeproj`
2015-09-24 09:40:27.969 rubY[12098:428715] [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: 0x7fb9adbd99d0>{number = 1,name = main}
Hints: None
BACktrace:0  0x000000011038ca5c -[DVTAssertionHandler handleFailureInFunction:filename:linenumber:assertionSignature:messageformat:arguments:] (in DVTFoundation)
  1  0x000000011038c1e9 _DVTAssertionHandler (in DVTFoundation)
  2  0x000000011038c455 _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x000000011038c3b7 _DVTAssertionFailureHandler (in DVTFoundation)
  4  0x00000001118c5f5c IDEIsInitializedForUserInteraction (in IDEFoundation)
  5  0x000000011451deb9 +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolscore)
  6  0x000000011451fa3e +[PBXProject projectWithFile:errorHandler:] (in DevToolscore)
  7  0x00007fff8da7df44 ffi_call_unix64 (in libffi.dylib)
[1]    12098 abort      pod install --verbose

解决方法

试试sudo xcode-SELEct -r

如果它没有帮助,请告诉我@H_696_29@

它对我有帮助@H_696_29@

'pod --version' returned 0.37.2 (even after updating cocoa pods to 0.38.2) it would update but still for some reason use 0.37.2 for all pod commands
So what I did: 
1) run 'pod --verbose' to locate the 0.37.2,delete it manually
2) run 'gem list --local | grep cocoapods' to find all cocoa pods installed on machine
2.1) 'gem uninstall' everything returned by step2 
2.2) run 'gem list --local | grep cocoapods' just to make sure everything is deleted
3) '[sudo] gem uninstall cocoapods'
4) '[sudo] gem install cocoapods'

如果您之前通过brew安装了pod,请尝试使用home-brew更新@H_696_29@

大佬总结

以上是大佬教程为你收集整理的ios – ‘pod install’在Xcode 7上出错全部内容,希望文章能够帮你解决ios – ‘pod install’在Xcode 7上出错所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。