CocoaPod 问题(I)

问题一

报错:_OBJC_CLASS_$_

    方案:https://blog.csdn.net/duxinfeng2010/article/details/8265273

 

问题二:

 

 1 [!] Oh no, an error occurred.
 2 
 3 Search for existing GitHub issues similar to yours:
 4 https://github.com/CocoaPods/CocoaPods/search?q=%5BXcodeproj%5D+Unknown+object+version.&type=Issues
 5 
 6 If none exists, create a ticket, with the template displayed above, on:
 7 https://github.com/CocoaPods/CocoaPods/issues/new
 8 
 9 Be sure to first read the contributing guide for details on how to properly submit a ticket:
10 https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
11 
12 Don't forget to anonymize any private data!
13 
14 Looking for related issues on cocoapods/cocoapods...
15  - RuntimeError - [Xcodeproj] Unknown object version.
16    https://github.com/CocoaPods/CocoaPods/issues/7458 [closed] [12 comments]
17    4 days ago
18 
19  - RuntimeError - [Xcodeproj] Unknown object version.
20    https://github.com/CocoaPods/CocoaPods/issues/6992 [closed] [11 comments]
21    a week ago
22 
23  - RuntimeError - [Xcodeproj] Unknown object version.
24    https://github.com/CocoaPods/CocoaPods/issues/6991 [closed] [11 comments]
25    03 Feb 2018
26 
27 and 33 more at:
28 https://github.com/cocoapods/cocoapods/search?q=[Xcodeproj]%20Unknown%20object%20version.&type=Issues&utf8=✓
29 HarelydeMacBook-Pro:testOne HuangGang$ gem install cocoapods --pre
30 ERROR:  While executing gem ... (Errno::EACCES)
31     Permission denied @ rb_sysopen - /Library/Ruby/Gems/2.3.0/gems/xcodeproj-1.5.7/LICENSE
View Code

 

以上的错误提示可以用下面的终端命令解决。

终端输入:

1 sudo gem install -n /usr/local/bin cocoapods --pre

 

转载于:https://www.cnblogs.com/EchoHG/p/8777488.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值