(1)无法引用pod文件
(2)在Pod 私有库中存在mrc的类如何正确配置
s.requires_arc = false
s.requires_arc = ['ELDiagnosis/Classes/ARC/* / .m']
(3)编译器model属性报警告, 取值时异常
在子类中显示的声明一个@synthesize name = _name;
cocoaPod报错:
(1):[!] CocoaPods was not able to update the komect-zdyy-cmhispec repo. If this is an unexpected issue and persists you can inspect it running pod repo update --verbose
没有连接内网vpn
(2)[!] The 'Pods-UniAppCommon_Example' target has frameworks with conflicting names: littlecim.framework.
换环境为远程
(3)如果更新完pod里的文件引用不了, pod install一下文件
(4)
运行报错
证书问题
(1)证书不对
配置证书即可
(2)证书设置不对
Code Siging Identity里设置路径
(3)下面错误
重启手机或者关闭下面选项
(4)打包提示下面错误
:-1: Cycle inside XXX; building could produce unreliable results.
1、升级Ruby环境
终端输入:$gem update --system
此时会出现
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
zijingMacBook-Pro:~ shiyunlei$ sudo gem update —system
这个是因为你没有权限去更新Ruby
这个时候你可以在终端使用:$sudo gem update —system来进行升级
这个时候表示Ruby升级完成。
以上就是土嘎嘎小编大虾米为大家整理的Cocoapods报错小结_cocoapods,不能用了,怎么办相关主题介绍,如果您觉得小编更新的文章对您有所帮助,不要忘记讲本站分享给您身边的朋友哦!!