标签云

微信群

扫码加入我们

WeChat QR Code

This question was asked before, but unresolved here.I have tried the solution here, but it doesn't solve the issue.I get this error: xcrun: error: active developer path ("/Applications/Xcode 2.app/Contents/Developer") does not exist, use xcode-select to changeThe active developer path should NOT say "Xcode 2.app", but instead "Xcode.app".My question is: How can I change the active path to say "Xcode.app"?I already tried the following: $> xcode-select -switch /Applications/Xcode.app/Contents/Developer$> xcode-select -print-path /Applications/Xcode.app/Contents/DeveloperI have tried reinstalling Xcode, but the problem persists.


The solution worked for me

2019年04月22日34分44秒

+1 It works perfectly , this should be accepted as an Answer.

2019年04月22日34分44秒

Agreed, this worked. OP should revisit to accept this answer.

2019年04月22日34分44秒

Yuppy.....!!! Its worked... Thanks.

2019年04月22日34分44秒

I cannot accept this answer because it did not solve my issue, which is a bit more involved. Though I'm glad it's helped people!

2019年04月22日34分44秒

This works....thanks

2019年04月22日34分44秒

Perfect... thanks

2019年04月22日34分44秒

Thanks.It helped me.

2019年04月22日34分44秒

This should be a comment (once you have enough reputation to add one) instead of an answer. Please refer to the Help Section to learn how to earn reputation and therefore be able to comment.

2019年04月22日34分44秒