总结 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

你可能感兴趣的:(总结 Carthage 遇到的问题)