iPhone SDK: ApplicationVerificationFailed
February 25, 2009 4:55 PM
Subscribe
How do you get rid of the "ApplicationVerificationFailed" error when trying to test an application on the iPhone?
I am using Xcode 3.1.2 with the iPhone SDK 2.2.1 on Mac OS X 10.5.6. I am trying to develop my first application for the iPod and iPhone. For testing, I have an iPod Touch 2nd gen with software version 2.2.1. I have also paid $99 USD for an iPhone single developer package with Apple.
When I'm trying to install an application for testing on my iPod using Xcode, I always get the following error message:
Your mobile device has encountered an unexpected error (0xE800003A)
ApplicationVerificationFailed
I do have all the necessary certificates installed in my Keychain and provisioning profiles installed on my iPod. The provisioning profile is for development (not deployment), and is correctly associated with my developer's certificate, application ID, and device (iPod) profile. For here, I'll say my App ID is "9876543210.*".
Here is what I tried so far:
- I restarted my iPod and Xcode several times already.
- I restored my iPod.
- For the application's "Target" listed in the Project's window (not the Organiser), I brought up its "Info" window and under the "Properties" tab, I tried the following "Identifiers": blank, 9876543210.${PRODUCT_NAME:identifier}, 9876543210.*, *, ${PRODUCT_NAME:identifier}.
Can anyone help me with this? It would be greatly appreciated. Thanks in advance!
posted by remi to computers & internet (3 comments total)
3 users marked this as a favorite
When these annoying errors pop up (and they do from time to time) here's a list of things to check:
* clean all targets before building
* view "build results" - one of the little icons will give you more info about the error
* open organizer and check that the certificate is installed in xcode and on your ipod (you may need to wipe out the directories with long hex names in ~/Library/Mobiledevices/ - apparently xcode sometimes caches the wrong one.
You'll get lots of info if you google the hex error code 0xE800003A - but I would recommend not using ${PRODUCT_NAME} and just enter the application name in the identifier field.
I found it annoying to create a different application certificate for each app, so I use a wildcard one:
com.mydomain.*
(I don't think just "*" will work. Is that what you did?)
So, if your project is called "go" then your product identifer is "com.mydomain.go". Don't type in the randomly generated part at the start.
Also - the docs on apples' site are slowly getting better. It's still insanely frustrating until you get it sorted out.
posted by kamelhoecker at 8:45 PM on February 25