CLion won't compile existing project once Mac upgraded to XCode 9.
已完成
I have a project that compiled under CLion before the Mac upgraded to XCode 9. I have installed the command line and accepted the software agreement.
CLion complains:
clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk' [-Wmissing-sysroot]
And it is correct, that sdk is not there. Just MacOSX.sdk and MacOSX10.13.sdk, an alias.
Thanks
Tim
请先登录再写评论。
I found the problem, I needed to reload cmake file so it could find everything. I kept everything open during the upgrade so the loaded cmake was stale.
Thanks