Missing "Code Signing Provisioning Profile" in Xcode build options
In the Organizer everything is as it should be: my iPhone with the Provisioning-Certificate from the Developer Portal, though I had problems restoring the iPhone with the Organizer so it is still in the state from the iTunes update.
When I build my app and want to run it on the device, the status bar says "Failed to upload asdf.app". My guess is that these to things must somehow be related. This is the output of the console on the Mac:
Xcode: ApplicationVerificationFailed
Xcode: MobileDevice: perform_command: There was an error communicating with the service agent: -402653183
Xcode: MobileDevice: AMDeviceInstallApplication: Could not install package on device: kAMDUndefinedError
iMac, Mac OS X (10.5.4)