Friday, 6 September 2013

how to change your xcode SDK in Titanium Studio for OSX

so recently i've needed to use the developer preview of xcode 5 to make sure our iOS app is compliant in iOS7 but i couldn't see a way to switch xcode versions within Titanium studio.

turns out you do it from the command line in Terminal.

open up Terminal and type the following:

sudo xcode-select -switch /Applications/Xcode5-DP5.app/Contents/Developer

if you want to revert back to 4.x then just type:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

You will need to restart Titanium Studio after you type either and you will be prompted to change your run configuration when you try to deploy it on the simulator.

No comments:

Post a Comment