Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How fix iPhone encountered unexpected error 0xE8000001 install phase?

Please help ( if there is an iPhone developer forum somewhere please redirect me)!

I can not get even the sample "Hello World" application to download and run on my iPhone device. I have spent hours googling and messing around in the iPhone Developer Program Portal trying to figure out where I went wrong. I get the following error after I build and run:


"Your mobile device has encountered an unexpected error 0xE8000001 during the install phase: Verifying application"

"Try disconnecting and powering off"


Any tips, resources, or advice is much appreciated. I about to the point to consider wiping and reinstalling my Mac in a hope it may improve whatever I did wrong between SDK1-8.

Thanks in advance,

-Ed

iMac 17 2.0 GHz Intel Duo, Mac OS X (10.5.1), iPhone non-3G FW2.0

Posted on Jul 18, 2008 9:05 AM

Reply
42 replies

Jul 18, 2008 9:14 AM in response to esutton

Look in the organizer and make sure that the provisioning profile you created is installed (and checked) on the device. If it's there but not checked, check it. If it's not there at all, then you skipped a step during setup, and should go back through the directions. If it is there and checked, then there's some more investigating to do.

Jul 18, 2008 10:24 PM in response to esutton

Thank you all for trying to help. Unfortunately for me, another hour or so checking and double-checking and I get the same results. In the portal I deleted myself as team member, deleted my keys, certificates, provisioning profile, Xcode cache, devices and tried to start all over clean from scratch. Same problem once again.

Recently I had to submit some signed certified drivers to Microsoft. That was quite an adventure game. Getting my iPhone development machine setup is even more so. Can anyone please recommend a procedure to clean all the cob webs out and start over from scratch? Uninstall Xcode? Wipe my machine?

Thanks in advance for any tips or suggestions,

-Ed

Jul 18, 2008 10:34 PM in response to maikuru

I saw no mention of having to set the Bundle Identifier in Info.plist. Perhaps that's my problem?

In the Hello World" sample I set it literally to the following ( except a few changes for security ). Does this syntax look correct?

F728T3Y4K.myapp.com.mycompany.${PRODUCT_NAME:identifier}

The portal has it listed as:
myapp F728T3Y4K.myapp.com.mycompany.* SDK8SuttonEd

Thank you for your help,

-Ed

Jul 18, 2008 10:59 PM in response to maikuru

Ed and all,
I'm in the same boat that Ed is in, so close but yet so far, and am reading this thread with interest. Only started on this this afternoon, though. It is possible to get one of the sample code projects to work this way, no? It seems there is a bit of information left out of the formal documentation about the bundle identifier in the plist, I have it set as com.macdob.macdob${PRODUCT_NAME:identifier} which is ripped out of my app ID. Doing the two terminal commands as suggested above give me
CrashLanding.app: code object is not signed
so I'm clearly not signed. I have walked through all the steps (so I think) and have all the certs and provisioning showing up in Xcode (so I think!)but clearly am missing the last pin in the lock.

Any and all help, much appreciated, if I have any revelations I'll post as well!

Dave

Jul 18, 2008 11:25 PM in response to maikuru

Hey Maikuru,
I just noticed the missing '.', I fixed that, threw out the build folder and did a rebuild, now I get

doit:Release-iphoneos dave$ codesign -vvvv CrashLanding.app
CrashLanding.app: valid on disk
CrashLanding.app: satisfies its Designated Requirement
doit:Release-iphoneos dave$ codesign -dvvv CrashLanding.app
Executable=/Users/dave/Desktop/Crash Landing/build/Release-iphoneos/CrashLanding.app/CrashLanding
Identifier=com.macdob.macdob.CrashLanding
Format=bundle with Mach-O thin (armv6)
CodeDirectory v=20001 size=535 flags=0x0(none) hashes=18+5 location=embedded
CDHash=7cf88e6ef299e89519f2e1c124de08e17b9edb15
Signature size=4272
Authority=iPhone Developer: Dave Sopchak
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=Jul 18, 2008 11:18:59 PM
Info.plist entries=16
Sealed Resources rules=3 files=21
Internal requirements count=0 size=12

but still no love from trying to put it on the phone. The above error again. Restarted XCode and the phone as well. Closer?

Jul 18, 2008 11:38 PM in response to David Sopchak

The only other place I can think of to check is in the project info to make sure you have the proper provision profile selected.

When I download a sample app the only things I need to do is set the Bundle Identifier to the com.... from my App ID and make sure the project info has the appropriate provision profile configured.

If you can't get that to work still after confirming those are set I would recommend making a call to apple developer support.

Jul 19, 2008 12:31 AM in response to maikuru

Maikuru and Ed,
I finally got things to work. First, create a profile that doesn't use com.whatever, just use a wildcard character '*'. Second, when specifying the "iPhone Developer: George Tirebiter", be sure to put the colon and the space after the iPhone Developer in the Code signing thing in the build settings of the project. Then I had access to the provisioning profile I set up, and didn't have to use the "default provisioning profile" which never worked anyway. After that you don't have to mess with the bundle identifier or the target settings (make sure you're changing stuff for the release settings). These were the only changes I had to make to a stock example project. Piece of cake! :/

Good luck Ed and let me know if you're still stuck. this worked for me.

Dave

Jul 19, 2008 9:34 AM in response to maikuru

Thank you _very much_ for looking at my "Bundle identifier" syntax. I think I am getting closer. I removed the 10-digit prefix from the Info.plist "*Bundle identifier*" setting. My setting is now entered as seen below.

"*myapp.com.mycompany.${PRODUCT_NAME:identifier}*"

My new challenge is that when I build-and-go it displays the following message in the bottom-left:

"*Failed to start remote debugserver for (null) on Ed's Phone*"

Any advice is much appreciated and I appreciate all others who have added comment to this thread.

-Ed


For others that are having similar problesm, you can now print out the portal "How to" adventure game. On the portal home page is a link to the following PDF. I am planning on printing out and reading the whole thing and high-lighting all the important bits and steps.

http://adcdownload.apple.com/iphone/iphone_developer_program_user_guide/iphone_d eveloper_program_user_guide__standard_program.pdf

*A tip to check if you have a valid "Code Signing Identity" installed and entered in your project Build settings.*

1 - Select the root folder in your code project
2 - Press the "i" info icon on the tool bar
3 - Go to the *Build* tab
4 - The format of Code *Signing Identity->Any iPhone OS Device* setting is case sensitive and looks like: "*iPhone Developer: John Doe*"
5 - If it is correct, the associated provisioning profile will appear in the drop-down list of the Code Signing *Provisioning Profile->Any iPhone OS Device* setting. If you mess it up, do it intentionally by try adding an extra character, you should see the provisioning profile disappear from the list. If you see no change, you may have a bad developer name(wrong case?) or provisioning profile or profile install problem.

Jul 19, 2008 9:45 AM in response to maikuru

I have success!

While I have not yet figured out how to remote debug as I get the message "Failed to start remote debugserver for (null) on Ed's Phone". I did successfully get the "HelloWorld" sample app installed and running on my iPhone. Sorry, I did not notice it at first within all my AppStore-icon-clutter.

So the core of my problem was fixed by entering the correct Info.plist bundle identifier.

Thank you all for your time and patience!

-Ed

How fix iPhone encountered unexpected error 0xE8000001 install phase?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.