I am trying to build my app native for iOS and launch it in the simulator.

I'm using Sencha Touch 2.0.1.1 and SenchaSDKTools-2.0.0-beta3

As far as I can tell I should be using this command:

Code:
sencha app build native
This seems to work fine in packaging and creating the .app file, however when it tries to launch the Xcode simulator it throws this error:

Code:
The application was successfully packaged
[ERROR] Tue Dec 11 20:07:37 Steven-Seniors-iMac.local stbuild[17787] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection
Tue Dec 11 20:07:37 Steven-Seniors-iMac.local stbuild[17787] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Tue Dec 11 20:07:37 Steven-Seniors-iMac.local stbuild[17787] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection
2012-12-11 20:07:42.943 stbuild[17787:60f] Directory URL: file://localhost/
2012-12-11 20:07:42.943 stbuild[17787:60f] Directory URL path: /
2012-12-11 20:07:42.943 stbuild[17787:60f] Trying to load bundle at path: /Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/iPhoneSimulatorRemoteClient.framework
2012-12-11 20:07:42.944 stbuild[17787:60f] Could not load required frameworks, make sure Xcode installed correctly
I get a popup asking me to locate Xcode.

Xcode is installed here:

/XCode402_iOS43

I point it to that directory and then the above error occurs.

Seems like it is not picking this up and expecting /Platforms to exist which it does not.

I can't see any parameter I can pass into the sencha app build command to tell it where it is.

I've searched long and hard for an answer to no avail, hence this post.

Any help appreciated.

Steve