coacoapod报错记录

1、报错内容

当使用coacoapod执行指令pod install 时报错

RuntimeError - [!] Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa.

2、需要执行下面指令

sudo gem update xcodeproj 

在执行的时候又报找不到数据源的错误

ERROR:Whileexecuting gem ... (Gem::RemoteFetcher::FetchError) bad response Not Found404(https://gems.ruby-china.org/specs.4.8.gz)

于是删除gem源:

gem sources --remove https://gems.ruby-china.org/

修改gem源:

gem sources -a https://gems.ruby-china.com

查看gem源是否是最新的:

gem sources -l

3、更新之后重新执行 

sudo gem update xcodeproj 后阔以正常更新库

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容