总结 Carthage 遇到的问题

  1. 执行 carthage update 报 error:
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/xiaosong/Jobs/Code/BattleRobots/Carthage/Checkouts/Alamofire/Alamofire.xcworkspace CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES -list) failed with exit code 72:
xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH

解决办法:
屏幕快照 2018-06-28 上午10.53.16.png
  1. dyld: Library not loaded: @rpath/YYWebImage.framework/YYWebImage.....
    Reason: image not found
    在 Build Phases 添加 Copy Files, Destination选择 Framework


    屏幕快照 2018-07-02 下午3.17.56.png
  1. carthage update
  • Error: The brew link step did not complete successfully
    删除旧版本framework
sudo rm /Library/Frameworks/CarthageKit.framework

执行

brew link --overwrite carthage
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容