I have a newly setup machine with new Titanium install, Xcode and iOS SDK 4.2
On trying to create a mobile App in Titanium I get the "You must have iPhone SDK installed. We cannot find it." alert.
Xcode can build both from GUI and via terminal.
I'm also getting a similar error with a fresh install of Xcode, 4.2 iOS sdk and Titanium Developer. When I create a new mobile project it gives the error:
'XCode is not installed. It is required for iPhone.'
My dev tools are installed in the standard directory - under Macintosh HD / Developer / Applications.
Would really appreciate it if anyone can help with this.
For those as oblivious as I was: note that installing Xcode 4 from the Mac App Store does not, err, install Xcode 4. Instead, it creates an installer in Applications. One needs to run that installer to get Xcode 4 and the iOS SDKs.
(As of writing this, the iOS 4.3 SDK installed with Xcode 4.0.2 works fine with TitaniumStudio 1.0.1)
I thought I read on there that 4.2 wasnt supported yet, and not to upgrade.
As far as I am aware it's kind of supported although some un-expected results may occur. However, not this result… you should get further than 'Add New Project'.
I have also installed SDK 4.1 - still the same. It appears to be something to do with the current installation of Xcode from the Apple. It worked on my system prior when using an older version of Xcode (note I am not using the beta version of XCode).
Pointers appreciated but I will continue to 'play'