posted by: Ralf Rottmann | posted @ Thursday, August 21, 2008 3:50 PM | View blog reactions

(Apologies for the somewhat wired post title - it'll all make sense later and I wanted to get it listed by Google in case you're experiencing the issues discussed here.)

November 14th update: I've just published even more details about mobile provisioning here.

I've started this post quite a while ago but never really finished it. Last night one of my colleagues ran into a mysterious PreflightingApplication error when trying to deploy an application from Xcode to the iPhone.

We finally solved the problem by setting him up completely new and while so doing I again noticed that some of the instructions Apple is providing are confusing if not imprecise. Therefore I finally decided to finish the post up and highlight some of the subtleties of the process. Hope it helps!

Prerequisites

Here is a brief overview of the environment we are working in:

  • We are approved and paying members of the iPhone Developer Program.
  • We are using iMacs with Mac OS X 10.5.4, Xcode 3.1 and the final version of iPhone SDK 2.0 (build 9M2199a).
  • Our iPhones are running the pwned Apple firmware 2.0.1 with Jailbreak and Unlock applied. We've used Pwnage tool 2.0.2 to do the magic.
  • We are not using any methods to circumvent Apple's code signing practices and generally do not endorse those.

The Developer Program Portal

Your entry point into iPhone developer heaven is the Developer Program Portal. Navigate to the iPhone Dev Center and log in with your Apple ID.
Log into the iPhone Developer Center

The iPhone SDK download is available for free. However, in order to set up iPhone developers for code signing and provisioning, you need to be an approved iPhone developer and should see the login for the Developer Program Portal in the upper right corner.
image

Apple's Guide to setting everything up and some additional remarks

Apple has published a pretty comprehensive guide how to do the basic set up. You need to be an approved iPhone developer to access this download. Here are some tips which helped us getting things right:

  • Make sure you've downloaded all certificates and stored them in a secure place on your hard disk. This includes the WWDR Intermediate Certificate and your personal certificate issued by Apple which you can download from the Developer Program Portal.
    Download your Certificate

  • Install the certificates by double-clicking them. This will launch the Keychain Access application. Make sure you install to the login chain which should be selected by default. Validate that your keys have been correctly installed and validated by opening Applications > Utilities > Keychain Access and expanding the iPhone Developer: Your Name section in the login Keychain.
    FlySketchWorkflow-2008.08.21 13.51.32

  • Make sure your App IDs are set up correctly.

    App IDs are an important piece of the overall iPhone developer infrastructure and one, where I found many people struggling with subtle details. Unfortunately neither the Developer Program Portal's How to section nor Apple's guide are extremely clear on what needs to be done to get things going.

    An App ID is a unique digital fingerprint that OS X iPhone uses to grant your application access to a portion of the Keychain and is one part of your development provisioning profile. In the App IDs section of the Developer Program Portal create an App ID if you have not yet done so. You can give your App ID an arbitrary Name. The name is used for reference purposes only.

    The ID itself must be unique. Therefore most developers use a reversed version of their domain name (or their companies domain name) as it is pretty common for namespaces. In case you would like to use a single App ID for all of your applications, you have to add a trailing asterisk. With that said I'm using the following ID:

    net.24100.*

    Important: Apple generates a Bundle Seed ID for every App ID you create and appends it to your App ID as a prefix, however, the Bundle Seed ID must not be considered as a part of your App ID. So whenever you're prompted for your App ID anywhere in Xcode or elsewhere, you must only use your App ID without the Bundle Seed ID. To make this very clear: In my case in the ID column of the Portal it says C5LRL9WHCV.net.24100.*. The "C5LRL9WHCV" part is the Apple generated Bundle Seed ID and only the net.24100.* part is my App ID!

  • Use the Developer Program Portal's Devices section to set up your development device. Make sure to use the correct Device ID by copying it from Xcodes Window > Organizer.

  • In the Provisioning section of the Developer Program Portal make sure you've set up at least a single Provisioning Profile. Provisioning profiles combine a developer certificate, an App ID and a device and link them together. Once you've double-checked everything, download the provisioning profile to your hard disk. If you have not yet done so, you need to install the provisioning profile to your iPhone. I'd suggest not to use the method outlined by Apple (dragging the downloaded provisioning profile file to the Xcode icon) but instead open Window > Organizer in Xcode with your device connected, selecting the device and hitting the [+] in the Provisioning section.
    image
    You can double-check whether the profile has been installed correctly by going to Settings > General > Profile on your device.

Fixing settings in Xcode

You've got to go through the previously outlined one-time process in order to start deploying and debugging applications to your iPhone. There are also some additional important details which - if you're not doing it right - can cause wired errors once you deploy.

You might see error messages like the one we've encountered:

"Your mobile device has encountered an unexpected error (0xE8000001) during the install phase: PreflightingApplication"

Chances are you also occasionally see application verification failed errors with the same or similar hexadecimal error codes. In almost all cases related to this error the problem has been a wrongly configured Bundle Identifier in Xcode's project settings.

Even though Apple explicitly states somewhere on their web site that you don't need to set the Bundle Identifier manually anymore, we never got deployment working without having it set correctly manually. So before you move on check your project settings:

  • In Xcodes project organizer expand the Resources section.

  • Find the Info.plist file and double-click to open it.

  • Enter your App ID into the Bundle identifier field. In my case I've entered net.24100.*.
    image
    Note: I've seen others recommending to put something like net.24100.${PRODUCT_NAME:identifier} in here. While this might be perfectly correct, it simply did not work for us in most cases. The reason might be (and this is a purely personal assumption as Apple unfortunately does not reveal specific details about the inner workings of the deployment process) that with the ${PRODUCT_NAME:identifier} set as the Bundle identifier the deployment can not uninstall a previous version of the application. If you manually uninstall the application on your iPhone and redeploy, this version seems to work, too. Again, this is pure speculation and in case you've got further information, I'd love to see your comments. Anyway, we simply put net.24100.* in the field and it works like a charm.

  • The last thing I found many people struggling with are the correct project settings. You might want to verify those, too. To access your project settings select the first entry in the Group & Files pane in Xcode project window. Double-click it or select Get Info from the context menu. Here are my current settings. I've highlighted the area which is important for deploying: image

    In the Code Signing Identity field enter iPhone Developer: Your Name. The name must match the one used for the certificate. You might find it awkward but you really do have to manually type in iPhone Developer a colon a blank and then your name.

    In the Code Signing Identity > Any iPhone OS Device filed make sure it says iPhone Developer.

    In Code Signing Provisioning Profile > Any iPhone OS Device you should be able to select a provisioning profile. In case no provisioning profiles show up here, you most likely have a typo in the Code Signing Identity field.

That's it for today. I hope this helps. In case you've got additional tips and findings, please do use the comment feature as others very likely will find your information valuable, too.

comments
Joe Schofield stated:
# re: PreflightingApplication errors (0xE8000001) and others
Ralf -
I was pulling my hair out trying to get my first app to run on my iphone. Your article "PreflightingApplication errors (0xE8000001) and others" got me running within an hour. I couldn't believe how much info that was missing from the project properties when Apple leads you to believe all of that should be pre-filled in.

Thanks - you saved me at least 4 or 5 hours!!

Joe
posted on 8/21/2008 10:17 PM
Ralf stated:
# re: PreflightingApplication errors (0xE8000001) and others
@Joe: I very well appreciate your feedback. It actually did take us hours to get things going. The main reason was that while Apple provides some step-by-step information when it comes to creating certificates etc. they do leave you alone with the rest of it. To me it seems as if Apple iPhone Dev documentation generally varies big time in quality. May be different authors and a lack of overall quality control. Don't know.

Good to hear that the article has helped you. It's this kind of feedback which keeps us going.

(Why do I say "us" instead of "me"? Well, I'm not doing all of the iPhone stuff on my own. We are actually in the process of venturing an iPhone Developer operation - stay tuned!)
posted on 8/21/2008 10:40 PM
mrcro stated:
# re: PreflightingApplication errors (0xE8000001) and others
thanks man! that really helped! esp at this time of the day!
posted on 8/26/2008 10:34 AM
Mickey stated:
# re: PreflightingApplication errors (0xE8000001) and others
Hi Ralf, your article is really really helpful. The apple hold me one week without reply my tech support request. Thank you for your help and I found my answer here.
posted on 8/28/2008 10:35 AM
Andras stated:
# re: PreflightingApplication errors (0xE8000001) and others
Hi Ralf!

Thank you for the article!

Unfortunately I still get the dreaded 0xe8000001 error.. :( I'm not sure what else could I do. Provisioning profile is installed correctly, everything is set up like you mentioned, I have even tried the ${PRODUCT_NAME...} type of bundle identifier but still had no luck :(
Can you add some hint if there is some kind of log file of what happens? I have absolutely no idea :(

Br,
Andras
posted on 8/28/2008 2:49 PM
Ralf stated:
# re: PreflightingApplication errors (0xE8000001) and others
@Andras:
In Xcode open Organizer (Window > Organizer). Select your development device in the left pane. Select the Console tab. Use the Save Log As... button to save the log. Send it to me. I can try to help.

-Ralf
posted on 8/29/2008 10:00 AM
Andras stated:
# re: PreflightingApplication errors (0xE8000001) and others
I have tried the MSN client on your site, but something was wrong with it..

Anyways. Here are the relevant logs:

Fri Aug 29 11:07:45 unknown afcd[252] : user mobile has uid 501

Fri Aug 29 11:07:45 unknown afcd[252] : mode is 0x41e8
Fri Aug 29 11:07:52 unknown securityd[240] : mobile_image_mou[250] SecItemCopyMatching: missing entitlement
Fri Aug 29 11:08:07 unknown securityd[240] : misagent[258] SecItemCopyMatching: missing entitlement
Fri Aug 29 11:09:05 unknown securityd[261] : misagent[267] SecItemCopyMatching: missing entitlement
Fri Aug 29 11:10:35 unknown afcd[278] : user mobile has uid 501

Fri Aug 29 11:10:35 unknown afcd[278] : mode is 0x41e8
Fri Aug 29 11:10:37 unknown mobile_installation_proxy[280] : verify_executable: Could not validate signature: e800800e
Fri Aug 29 11:10:37 unknown mobile_installation_proxy[280] : preflight_application_install: Could not verify /var/tmp/install_staging.mShS/MoveMe.app/MoveMe
Fri Aug 29 11:10:37 unknown mobile_installation_proxy[280] : install_application: Could not preflight application install
Fri Aug 29 11:10:37 unknown mobile_installation_proxy[280] : handle_install: Installation failed

I have also checked the build and it does not contain a CodeResource and an embedded.mobileprovision... I think this means that it could not sign the application although everything seems to be set up correctly.
posted on 8/29/2008 11:22 AM
Andras stated:
# re: PreflightingApplication errors (0xE8000001) and others
I have almost managed to get over the problem, code signing starts now but it says it cannot find --entitlements

You can safely delete my last comment as I think the problem is still in my project settings..
posted on 8/29/2008 11:44 AM
Ralf stated:
# re: PreflightingApplication errors (0xE8000001) and others
@Andras: Comments never get deleted here. :-) You never know whome they might help. Would you mind sharing how you resolved the situation later on?
posted on 8/29/2008 12:05 PM
Johan Attli stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thanks a lot for this tutorial Ralf, I had the same 0XE80000001 error and now it's solved by appending the the Bundle ID as you mentioned it. The weird thing though is that I used to just create a projet launch it on the device and it would work.
Maybe they changed that automatic type of thing with the new SDK.
Anyway, thanks again.
posted on 8/29/2008 6:12 PM
Chuck Smith stated:
# re: PreflightingApplication errors (0xE8000001) and others
Wow, this article was a huge help! After struggling with this issue for TWO DAYS and scouring the web, I was almost to the end of my rope to contact Apple dev support when I ran across this article that got me running in about 15 minutes. Thank you SOOO much!!
posted on 8/30/2008 9:49 PM
Eknath Kadam stated:
# re: PreflightingApplication errors (0xE8000001) and others
The instructions are great, but still some unlucky developer like me still face the same problem even if he does everything correctly.

I was following all instructions correctly and still facing the problem, What helped me was uninstalling developer tools completely and reinstalling them. I literally moved /Developer folder to trash and re-installed it. On fresh installation it worked like charm.
posted on 8/31/2008 12:34 AM
Benson stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thank you, Ralf!
This is the best solution when I encountered 0xE8000001 error. iPhone Dev Doc does not mention that we have to change Bundle identifier manually. After I changed Bundle identifier, my first application was loaded to my iPhone!!
posted on 9/1/2008 6:49 PM
Mark Jones stated:
# re: PreflightingApplication errors (0xE8000001) and others
Saved me bacon! the bundle identifier was the last piece of the puzzle for me.
posted on 9/1/2008 9:17 PM
Ivo Roes stated:
# re: PreflightingApplication errors (0xE8000001) and others
Dear Ralf,

Thanks very much for posting this info. I finally got it working thanks to your guide. The main problem I had was that I typed Iphone Developer : Ivo Roes (notice a space too much after developer). Thanks to your comments I got it to work!
posted on 9/3/2008 12:28 PM
volker stated:
# re: PreflightingApplication errors (0xE8000001) and others
Hi Ralf,
thank you very very much.
It was this "Bundle Indentifier" in my first Project which was not set correctly.
good work
posted on 9/3/2008 11:38 PM
pavel stated:
# Upgrading apps with ad hoc profile
First, I'd like to thank Ralf for the great article. It's saved me lot of time.

My problem is that I still can't update application to the newer version :( I tried to play with BundleId but this did not help at all. I always get 0xE800002E (the dreadful sister of 0xE8000001). My console contains the following:

Thu Sep 4 19:27:41 unknown securityd[641] : misagent[648] SecItemCopyMatching: missing entitlement
Thu Sep 4 19:27:42 unknown securityd[641] : misagent[650] SecItemCopyMatching: missing entitlement
Thu Sep 4 19:27:42 unknown mobile_installation_proxy[654] : perform_application_archive: Could not archive /private/var/mobile/Applications/73A1D040-460B-4CE3-A3B9-DD21755A1225 to /private/var/mobile/Media/ApplicationArchives/my.company.*.zip
Thu Sep 4 19:27:42 unknown mobile_installation_proxy[654] : MobileInstallationArchive: Could not archive the application
Thu Sep 4 19:27:42 unknown mobile_installation_proxy[654] : handle_archive: Uninstallation failed

Can anybody help? I'm out of ideas and almost crazy because I can't push new versions to beta testers. My application collects data on device and complete uninstallation is not an option.
posted on 9/4/2008 5:34 PM
santangeli stated:
# re: PreflightingApplication errors (0xE8000001) and others
Guys , I received the email from apple with a code because i was approved, i paid Apple, received an invoice already was charged at my credit card, and i'm still waiting for the email that will grant my access to the program portal. Never received that email, I already sent 14 emails to apple (with my invoice attached) without a single response from them. Any ideas to this frustrated programmer that could only test his (until now 3) apps on the simulator ?

Thanks to anyone that answer this (i'm tired of being ignored) :(

Santangeli
posted on 9/6/2008 10:45 PM
Mike Greiner stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thanks for the article Ralf. It did help clear a few things up for me. I wish I'd found it earlier because I think I've been burned by every "gotcha" that you mention here.

Too bad Andras hasn't posted a follow-up. I am still having problems and my console looks exactly like what he posted.

I'm pretty sure reinstalling the dev tools will make the problem go away, but I'd rather understand why it's happening...
posted on 9/9/2008 9:52 AM
Mike Greiner stated:
# re: PreflightingApplication errors (0xE8000001) and others
I found the answer. The 'missing entitlement' error refers to the new requirement for us to use entitlements in our Xcode projects. (Something that's gleefully absent from the instructions in the iPhone Developer Program Portal)

I was attempting to build for ad hoc distribution -- which is why an entitlement is required.

Following these instructions solved my problem.
furbo.org/2008/08/06/beta-testing-on-iphone-20/
posted on 9/9/2008 10:27 AM
Brian White stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thank you. So much. Really.

Apple really needs to improve this.
posted on 9/9/2008 12:56 PM
Matthias stated:
# re: PreflightingApplication errors (0xE8000001) and others
this is so cool. got me running in no time (ok, well it's 2 am now)....

works perfectly also for ad hoc distribution.



posted on 9/9/2008 11:52 PM
Sean R stated:
# re: PreflightingApplication errors (0xE8000001) and others
This has been driving me nuts for days. I feel so close everytime I hit the build button and still getting the error.

Quick things:
In Organizer on the iPhone i have two profiles
1 ticked - the dev one
and the distribution one greyed out is that correct ?

Also Ralph, your code signing screen shot - are those fields in the red box in the right place?

Would love to see a screen shot of the distribution settings..as these differ to the debug ones.

Everyone in the office is so excited about the app - I can't build it for release - thanks for your help - beers on me.

S
posted on 9/11/2008 10:02 AM
Arash Payan stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thanks for the helpful article. I was getting this error everytime I tried to run the program on my iPhone, unless I deleted it from the phone first. I just followed your advice about replacing ${PRODUCT_NAME:identifier} with * in the bundle idenifier, and that allows me to run new builds without deleting the old one from phone.
posted on 9/16/2008 2:51 AM
Trygve stated:
# re: PreflightingApplication errors (0xE8000001) and others
Wow. Many thanks. Apple's guide is vague on a few essential points. You cleared it up.
posted on 9/21/2008 1:36 PM
muddivers stated:
# re: PreflightingApplication errors (0xE8000001) and others
My connection to iTouch used to work ok for development until I upgraded to osx 10.5.5 just a few days ago. That was the only change made to my previously working system. Now I get this error. I've since upgraded to the latest SDK but nothing I do seems to fix the problem. This error appears as soon as I connect my iTouch, then again any time I try to build/install my app. Very frustrating!
posted on 9/21/2008 5:34 PM
Daniel stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thank you for the tutorial! I changed the Bundle Identifier in the info.plist to com.mycompany.* and I was able to install the helloworld program on my iPhone.

I had followed the steps verbatim in the Standard Program Portal User Guide for iPhone OS 2.1 and was receiving the error as follows:

Your mobile device has encountered an unexpected error (0xE800003A) during the install phase: verifying application


Thank you again!
posted on 9/22/2008 4:45 PM
GingerSnap stated:
# re: PreflightingApplication errors (0xE8000001) and others
I followed all the instructions in this article and am still getting "Your mobile device has encountered an unexpected error (0xE800003A) during install phase: Verifying application"

Can you help?

I am using 2.1 SDK.

My device console log shows:

Mon Sep 22 12:12:24 unknown configd[21] : WiFi: Display off. Adjusting scan intervals for dim screen.
Mon Sep 22 12:12:24 unknown configd[21] :
Mon Sep 22 12:12:24 unknown configd[21] : WiFi: Disassociation timer disabled because we are connected to a power source
Mon Sep 22 12:12:36 unknown mobile_installation_proxy[71] : check_freshness: sb.st_mtime = 1222096061 reference_mtime = 1222096047
Mon Sep 22 12:12:36 unknown mobile_installation_proxy[71] : MobileInstallationLookup: /private/var/mobile/Applications appears stale
Mon Sep 22 12:12:37 unknown mobile_installation_proxy[73] : check_freshness: sb.st_mtime = 1222096061 reference_mtime = 1222096047
Mon Sep 22 12:12:37 unknown mobile_installation_proxy[73] : MobileInstallationLookup: /private/var/mobile/Applications appears stale
Mon Sep 22 12:12:37 unknown afcd[75] : user mobile has uid 501

Mon Sep 22 12:12:37 unknown afcd[75] : mode is 0x41e8
Mon Sep 22 12:12:38 unknown mobile_installation_proxy[77] : check_freshness: sb.st_mtime = 1222096061 reference_mtime = 1222096047
Mon Sep 22 12:12:38 unknown mobile_installation_proxy[77] : MobileInstallationLookup: /private/var/mobile/Applications appears stale
posted on 9/22/2008 6:29 PM
Alex Young stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thanks, this article was really useful. For me it turned out I thought my Bundle ID was "net.helicoid.appname" but in reality I'd defined it as "net.helicoid" without realising.

If only the verification process could just say "Your Bundle ID is wrong" ;)
posted on 9/24/2008 1:35 AM
Kyle stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thank you! This worked perfectly.

One day school children will sing songs about your greatness.
posted on 9/26/2008 10:56 PM
Ralf stated:
# re: PreflightingApplication errors (0xE8000001) and others
@Kyle: I had to laugh out loud when I read your remark regarding the school children singing songs about my greatness. I'm glad my little article has helped you. Spread the word and go help others, too!
posted on 9/26/2008 11:08 PM
Ed stated:
# re: PreflightingApplication errors (0xE8000001) and others
Fixing the Bundle ID fixed it.
Great post.
posted on 9/29/2008 5:40 AM
Alex Hunt stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thanks...you saved me hours - all that I needed was to change my info.plist Bundle Identifier to be able to download to my phone.
posted on 9/30/2008 10:16 AM
Dan stated:
# re: PreflightingApplication errors (0xE8000001) and others
THANK YOU SO MUCH!!!

This had me stumped all day! (I was getting the 0xE800003A error) In my desperation, I actually called the Apple Developer support line - only to be put on hold for 10 minutes by a lady who had no idea what I was talking about, and then finally told to send my support request via email... (Seriously, what is the point of having a support line for developers if they can't even help with getting the dev kit working?!? O_O )

Anyway, you my good sir, are a godsend ;)

Thanks again!
posted on 9/30/2008 7:24 PM
Jason stated:
# re: PreflightingApplication errors (0xE8000001) and others
Dude, thank you so much for this overview. I was literally going insane.

Good luck with your apps.

-Jason
posted on 9/30/2008 8:35 PM
Steven Sholtis stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thanks for this very important extension to the build process in detail. I had a problem with one the bundle Id until I changed it to match what I had in the profile.

Thanks again!
posted on 10/1/2008 7:19 AM
Ricky C stated:
# re: PreflightingApplication errors (0xE8000001) and others
Hello, everybody, I would like to share some experiences after I took hours to fix that 0xE800003A error. If I just put (com.companyname.*) at Bundle identifier of info.plist, the apps just load and run on the phone. When you install another app again, the first one gone. So, I put a app.name like (com.companyname.HelloWorld) then the program state on the phone even disconnect with the computer. I found this web late otherwise I can save hours. thks.
posted on 10/2/2008 10:57 AM
Jonathan stated:
# re: PreflightingApplication errors (0xE8000001) and others
Here's a fun one. After signing (successfully) the app to install on the iPhone, the application (for which there is a valid provision profile on the iPhone) will not copy to the iphone with the following errors (from Xcode):

MobileDevice: copy_symlink: Could not create symlink on device: 16
MobileDevice: transfer_package: Could not copy /Volumes/Docs/Users/[Redacted]/svnCheckouts/priv/FAAExam/trunk/FlyExam/build/Debug-iphoneos/FlyExam.app to PublicStaging/FlyExam.app on the device: (null)
MobileDevice: AMDeviceTransferApplication: Could not copy package to device via AFC: kAMDUndefinedError

When I (ahem, sorry) ssh into the iPhone and delete everything in the PublicStaging directory, it installs and runs just fine.
posted on 10/7/2008 2:39 AM
Andrew Charron stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thank you very much. You saved me a TON of time.
posted on 10/7/2008 5:59 AM
julia liu stated:
# re: PreflightingApplication errors (0xE8000001) and others
Saved me tons of time (in the Project info part). Thank you.
posted on 10/7/2008 8:10 AM
OrangeCrow stated:
# re: PreflightingApplication errors (0xE8000001) and others
I finally got it..... for those of you who are wondering...

yes - you can provision a device that is jailbroken... (mine is the 1st gen iPhone with OS 2.1)
yes - you this all works on the new ipod (which i bought, because i could never do the legit provision BS... don't let me get started...)
and yes - don't even sweat trying the ldid bs... its not worth it...

this is were i was stuck...

1. once you do the ldid trick on an app - you're pretty screwed. you can't do it the legit way afterwards... found this out after i reinstalled the firmware...

i think it has something to do with what ldid does exactly, and i tried to 'rm -r /Applications/APPNAME' but no dice. i assume that there is some master list somewhere that has all this data, and that is what the ldid manipulates. which is exactly what the preflight bs does...

so its sorta like you do a bad thing - you can't go back :) you gotta get your slap on the wrist...

2. you have to delete an app before you can 'test' it again... this may be common sense - but you figure.... you pay 100$ - can't apple do it for you?




posted on 10/7/2008 8:27 AM
Proxima stated:
# re: PreflightingApplication errors (0xE8000001) and others
One additional note is that you may have to restart XCode to get everything working "right". I kept on getting the PreFlightingApplication error with everything set right, and it finally understood the changes with a restart.
posted on 10/7/2008 8:45 PM
Amit stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thanks mate,
posted on 10/8/2008 4:25 AM
Spiro Mifsud stated:
# re: PreflightingApplication errors (0xE8000001) and others
Worked like a charm. Thanks!
posted on 10/10/2008 7:46 PM
mudder stated:
# re: PreflightingApplication errors (0xE8000001) and others
This document helped me too. After reading this document, I was able to get my apps to load. Then something happened and all of a sudden NONE of my previously loaded apps would load again. Same old useless 0xE80*1 error.

after reading OrangeCrows experience, i decided my phone was most likely the problem. So I did a Restore in iTunes and it works once again.



posted on 10/11/2008 9:17 PM
Chuckc stated:
# re: PreflightingApplication errors (0xE8000001) and others
You Da Man!
posted on 10/14/2008 10:13 PM
NIels stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thanks a lot!
posted on 10/15/2008 11:04 PM
jj stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thank you so much!!!

I was about to lose it, you saved me!

It worked perfect!

jj
posted on 10/15/2008 11:28 PM
Bruce stated:
# re: PreflightingApplication errors (0xE8000001) and others
Thanks man! This is very helpful.

But I got some strange error here, just the night before, I managed to get a test app running on my phone with no probs, then I tried another one, with all the proper settings and everything, it built the app ok, installed it, but gave this error:

sharedlibrary apply-load-rules all
run
Running…
Error launching remote program: security policy error.
Error launching remote program: security policy error.

Then I was unable to run the app... I tried many different settings but no luck, have you ever come across this error? I found a lot on google but none got answered.
posted on 10/23/2008 1:54 AM
Claire stated:
# re: PreflightingApplication errors (0xE8000001) and others
This is a great post, i only wish I found it earlier, I solved my 0xE8000001 error, using this site, it's also good

www.fixya.com/.../t777187-iphone_3g_error_0xe80...

I believe you might learn there a few things that will help you to make this post even better.

Thanks for a great post,
Clarie.
posted on 10/23/2008 5:18 PM
Ju stated:
# re: PreflightingApplication errors (0xE8000001) and others
I'm a french iPhone developer, and I had the same error...

Fixed with this article ;)

Ralf FTW !
posted on 10/24/2008 12:13 PM
# re: PreflightingApplication errors (0xE8000001) and others
thank you very, very much.. really helpfull information..
posted on 10/26/2008 7:16 PM
# re: PreflightingApplication errors (0xE8000001) and others
Ralf-
First, thank you very much for the information.

I have a couple of questions which may be related to the same topic.

Q1. In my code, I was trying to access forkpty(), in order to use pseudo terminals for easy access to stdout, stderr of the legacy code. Simulator works, on real hardware errno returns (1), "operation not permitted". My guess is that it is somehow related to the `rights` of the application. Is it possible to resolve the issue by adjusting the settings within XCode project?

Q2. You said at the beginning that you are using jailbreak iPHones. Is it really helpful from the development point of view?
Are the apps, developed and tested on `opened` iphone portable and easy installed on 'still closed` devices?


Thanks.
- Michael
posted on 10/28/2008 4:11 PM
Anon stated:
# re: PreflightingApplication errors (0xE8000001) and others
After following the directions and setting the bundle identifier as "com.mydomain.*" I still kept having the problem where I could not update the app on the device a second time without deleting it first on the device.

What seems to have solved the problem for me is removing the application from the xcode organizer window in the applications section by selecting and pressing the "-" button below. Xcode warns that this will remove the app and all its data - which is what you want. When you rebuild the app it will put it back in, and then you can update.

The problem may have been caused because I hadn't set the bundle identifier before the first time I built and deployed.
posted on 11/1/2008 2:32 AM
Ryan Dunlap stated:
# re: PreflightingApplication errors (0xE8000001) and others
bless you bless you bless you
posted on 11/4/2008 4:11 AM
# iphone sdk mobile provisioning (0xe800003a, 0xe8000001, ...)
iphone sdk mobile provisioning (0xe800003a, 0xe8000001, ...)
posted on 11/10/2008 4:04 PM
lulijcal stated:
# lulijcal
lulijcal
posted on 11/19/2008 12:32 AM
Rob stated:
# re: PreflightingApplication errors (0xE8000001) and others
I don't have "Code Signing Provisioning Profile" setting in Code Signing Section of Build, any ideas?
posted on 11/19/2008 8:09 PM
Rob stated:
# re: PreflightingApplication errors (0xE8000001) and others
OK, I got the latest SDK 2.1 and now I have it.
Changed bundle identifier to com.xxxx.myapp and I am in business.

Thanks!
posted on 11/20/2008 2:36 AM
post your comment
Title *
Name *
Email
Url
Comment *  
Please add 8 and 6 and type the answer here: