Finally, I solved my problem:
In xCode, select Project> Install Active SDK β iPhone 3.2 Device from the menu
And now, when you create the application, you get the following logical message:
"Error starting executable file - iPhone OS device is not connected."
but your .app works well, and if you look into it, you have the file "embedded.mobileprovision".
Fredm source share