Topic : Can't get developmental App to deploy to my iPhone (0xE800003A variation)

Topic Archived This topic has been archived - replies are not allowed.


This question is answered.



            Permlink
            Replies : 27 - Pages : 2 [ 1 2 | Next ] - Last Post : Jan 8, 2009 8:02 PM by: gibson10ma
scotopia

Posts: 258
Registered: Sep 9, 2008
Can't get developmental App to deploy to my iPhone (0xE800003A variation)
Posted: Sep 21, 2008 1:21 PM
 

Hello All,

I believe I have followed Apple's guidelines to T but I still can not get my app to deploy to my developmental iPhone. It seems to copy all the files over but then fails at the last second with the dreaded "Your mobile device has encountered an unexpected error (0xE800003A) during the install phase: Verifying application" Error.

After the failure the Organizer console logger display's this:

Sun Sep 21 16:10:53 unknown mobile_installation_proxy207 <Error>: install_embedded_profile: Skipping the installation of the embedded profile
Sun Sep 21 16:10:53 unknown securityd191 <Error>: mobile_installat207 SecItemCopyMatching: missing entitlement
Sun Sep 21 16:10:53 unknown mobile_installation_proxy207 <Error>: entitlement 'application-identifier' has value not permitted by a provisioning profile
Sun Sep 21 16:10:53 unknown mobile_installation_proxy207 <Error>: verify_executable: Could not validate signature: e8008016
Sun Sep 21 16:10:53 unknown mobile_installation_proxy207 <Error>: preflight_application_install: Could not verify /var/tmp/install_staging.ZM6A2o/iChuck.app/iChuck
Sun Sep 21 16:10:53 unknown mobile_installation_proxy207 <Error>: install_application: Could not preflight application install
Sun Sep 21 16:10:53 unknown mobile_installation_proxy207 <Error>: handle_install: Installation failed
Sun Sep 21 16:11:21 unknown afcd214 <Error>: user mobile has uid 501

Sun Sep 21 16:11:21 unknown afcd214 <Error>: mode is 0x41e8

Which seems to indicate that there is a problem with entitlements.plist. Well, I don't even have this file so I don't know what that is about. I thought this was only required for ad hoc distribution (which i think is different from just development distribution which is what I did).

Please help me. Thank you very much.

  Mac OS X (10.5.4)    

scotopia

Posts: 258
Registered: Sep 9, 2008
Re: Can't get developmental App to deploy to my iPhone (0xE800003A variatio
Posted: Sep 21, 2008 1:41 PM   in response to: scotopia
 

Hmm.... I just created an Entitlements.plist file and unchecked the allow thing; and referenced it in the target file. This whittled down my error in the console to just 2 lines:

Sun Sep 21 16:39:10 unknown afcd320 <Error>: user mobile has uid 501
Sun Sep 21 16:39:10 unknown afcd320 <Error>: mode is 0x41e8

What does this mean? Thank you.

  Mac OS X (10.5.4)    
scotopia

Posts: 258
Registered: Sep 9, 2008
Re: Can't get developmental App to deploy to my iPhone (0xE800003A variatio
Posted: Sep 21, 2008 4:13 PM   in response to: scotopia
 

Ive gone through the process several times; following the guidelines to the letter(so I thought) and I still can't get it to work. Can someone please assist? Thank you!

  Mac OS X (10.5.4)    
scotopia

Posts: 258
Registered: Sep 9, 2008
Re: Can't get developmental App to deploy to my iPhone (0xE800003A variatio
Posted: Sep 21, 2008 5:19 PM   in response to: scotopia
 

Someone please give me some suggestions of what to look for; i've been at this for days. I think I have all my certs downloaded and installed, provisioning files, etc...i'm starting to go nuts. Please help me.

  Mac OS X (10.5.4)    
scotopia

Posts: 258
Registered: Sep 9, 2008
Re: Can't get developmental App to deploy to my iPhone (0xE800003A variatio
Posted: Sep 21, 2008 8:11 PM   in response to: scotopia
 

I tried Restoring the Iphone and that didn't help any either. The target and project seem to be pointing to the right place too....extremely confused.

  Mac OS X (10.5.4)    
scotopia

Posts: 258
Registered: Sep 9, 2008
Re: Can't get developmental App to deploy to my iPhone (0xE800003A variatio
Posted: Sep 21, 2008 9:17 PM   in response to: scotopia
 

Add reinstall the SDK to the list...

  Mac OS X (10.5.4)    
Scott Squires1


Posts: 762
Registered: Sep 11, 2004
Re: Can't get developmental App to deploy to my iPhone (0xE800003A variatio
Posted: Sep 21, 2008 9:19 PM   in response to: scotopia
Helpful

Make sure you have the latest SDK and your phone is updated at this point.
Get the latest Portal Guidelines (new version just a week or two ago)
If it downloaded a version of your app to your phone delete it from the phone.
Check the Keys section of Keychain. Is your development certificate there? Can you expand it it out?
Does the name you put in BOTH places in xcode match (while in debug settings)? (project and target settings) iPhone Developer: My Name
No need for entitlement for regular development.
Is your provision set in both places while you have it set to a debug build?
Is organizer checked for this?
What does organizer say while downloading?
Did you set a Unique bundle ID in info.plist? com.mycompany.myapp

If none of that works you may have to delete your provisions and certificates and start again.
Do a restart of your whole system just to make sure if you reinstall any new certificates.
Restart xcode if you add a provision.
Do a full clean before building.

G5 2.5Ghz, MacBook Pro   Mac OS X (10.5.2)    
scotopia

Posts: 258
Registered: Sep 9, 2008
Re: Can't get developmental App to deploy to my iPhone (0xE800003A variatio
Posted: Sep 21, 2008 9:28 PM   in response to: Scott Squires1
 

Excellent post Scott...but would you believe I have actually done everything you have said multiple times already... I'm at a total loss because everything seems to be jiving (as in the development manager shows all the files (certs, provisions, apple ID) jiving the way they should...provision file shows up in organizer...build and target are set to right places involving the provision file because the first name last name is correct etc. I'll try to go through it all again...I emailed apple tech support too...I'm going absolutely nuts. I really wish they gave a more descriptive error.

  Mac OS X (10.5.4)    
scotopia

Posts: 258
Registered: Sep 9, 2008
Re: Can't get developmental App to deploy to my iPhone (0xE800003A variatio
Posted: Sep 21, 2008 9:35 PM   in response to: scotopia
 

Yup..I just ran through everything you said once more...its all spot on. I'm at a loss...I've gone as far as reinstalling the whole SDK, wiping my certs, restarting.. pretty much everything except reformatting the whole computer. This post should be stickied or something though, because I think you condensed where the issues would be for pretty much anyone having this problem who isn't me. ;)

  Mac OS X (10.5.4)    
Mike Greiner


Posts: 42
From: Beijing, China
Registered: Jan 24, 2008
Re: Can't get developmental App to deploy to my iPhone (0xE800003A variatio
Posted: Sep 21, 2008 9:57 PM   in response to: scotopia
 

Unfortunately I can't add much to Scott's earlier post except this: Ensure that whenever you edit project or target settings in the inspector, that you only edit the active configuration. So if you active configuration is set to 'Debug' in the main project window, make sure you only edit the 'Debug' settings in the inspector.

I have done all the iPhone release builds for our company. Each time I think that I finally have the right combination of build/deploy settings, I still end up fiddling with them again on the next release since -- for whatever reason -- it doesn't work anymore.

Each time I solve it by burning 1 - 2 hours each time we release - checking settings, double-checking, reinstalling provisioning profiles even when I'm sure they haven't changed, re-launching Xcode even after resizing a window... ;-)

Eventually, it works.
Good luck

MacBook Pro   Mac OS X (10.5.1)    
scotopia

Posts: 258
Registered: Sep 9, 2008
Re: Can't get developmental App to deploy to my iPhone (0xE800003A variatio
Posted: Sep 21, 2008 10:04 PM   in response to: Mike Greiner
 

Yeah; I got that covered too. Thanks for the response though; and for the encouragement. I honestly have no idea what other options to pursue; but I'll keep fiddling with it and hope apple gets back to me. I just can't fathom why they don't have specific error messages for these kind of issues; even something vague would help. Thanks again.

  Mac OS X (10.5.4)    
scotopia

Posts: 258
Registered: Sep 9, 2008
Re: Can't get developmental App to deploy to my iPhone (0xE800003A variatio
Posted: Sep 21, 2008 10:25 PM   in response to: scotopia
 

Holy F**K i think i got it... but it doesn't make sense. In the info.plist file the bundle id has to be: com.company.app.... I had it as the appID...meaning MAGICNUMBER.com.company.app I have no idea why the number breaks it....from the docs it seemed like it was necessary too. Any insight!? I'm only having two slight issues now; but I'll post that separately. Thanks.

  Mac OS X (10.5.4)    
Mike Greiner


Posts: 42
From: Beijing, China
Registered: Jan 24, 2008
Re: Can't get developmental App to deploy to my iPhone (0xE800003A variatio
Posted: Sep 21, 2008 10:34 PM   in response to: scotopia
Helpful

Glad to hear you found the problem. I ran into that same problem a few weeks back.

Don't know if you've seen this guy's article, but it was helpful:
http://www.talentgrouplabs.com/blog/archive/2008/08/21/preflightingapplication-errors-0xe8000001-and-others.aspx

Cheers

MacBook Pro   Mac OS X (10.5.5)    
Scott Squires1


Posts: 762
Registered: Sep 11, 2004
Re: Can't get developmental App to deploy to my iPhone (0xE800003A variatio
Posted: Sep 22, 2008 12:01 AM   in response to: scotopia
Solved

yes, skip the magic number and the wildcard *
just keep it com.yourcompany.yourapp

G5 2.5Ghz, MacBook Pro   Mac OS X (10.5.2)    
Matt Sephton


Posts: 103
From: London, UK
Registered: Oct 20, 2003
Re: Can't get developmental App to deploy to my iPhone (0xE800003A variatio
Posted: Oct 6, 2008 2:22 AM   in response to: Scott Squires1
 

Thanks! That solved it for me, too.

24" iMac 3.06GHz Intel Core 2 Duo (4GB RAM)   Mac OS X (10.5.4)   32GB iPod Touch with BOSE and KOSS headphones