Login
网站首页 > 文章中心 > 其它

Cocoapods报错小结_cocoapods 不能用了 怎么办

作者:小编 更新时间:2023-07-27 17:28:12 浏览量:424人看过

(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.

Cocoapods安装步骤

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,不能用了,怎么办相关主题介绍,如果您觉得小编更新的文章对您有所帮助,不要忘记讲本站分享给您身边的朋友哦!!

版权声明:倡导尊重与保护知识产权。未经许可,任何人不得复制、转载、或以其他方式使用本站《原创》内容,违者将追究其法律责任。本站文章内容,部分图片来源于网络,如有侵权,请联系我们修改或者删除处理。

编辑推荐

热门文章