Xcode 9 Bug: Cannot find cdtool

前端 未结 4 639
时光说笑
时光说笑 2020-12-22 19:58

After installing Xcode 9 beta, Xcode 8 gives me an error when compiling a project:

Cannot find cdtool at \'/Applications/Xcode.app/Contents/Developer/

4条回答
  •  半阙折子戏
    2020-12-22 20:36

    Didn't work for me because I also have a Watch app and got the error on the Watch SDK.

    I ended up deleting both Xcode 8 and 9 Beta, deleting /Library/Developer and ~/Library/Developer. Then reinstalled Xcode 8 and it worked.

提交回复
热议问题