Lifehack: If you can’t compile old XCode project “There is no SDK with the name or path”

If your old project fails to compile with XCode with error like
error: There is no SDK with the name or path ‘/path/to/my/project/macosx10.6’

even if you changed target in the XCode Build Settings, then you stumbled upon silly bug in the XCode. It’s just unable to change SDKROOT in your pbxproject file. Edit it manually and remove all SDKROOT lines.

Leave a Reply

Proudly powered by WordPress
Theme: Esquire by Matthew Buchanan.