 |
 |
|
 |
12-08-2008, 03:42 PM
|
#1 (permalink)
|
|
New Member
Join Date: Oct 2008
Posts: 11
|
[SOLVED] 2.2 + error (0xE8000001, 501, 0x41e8)
Hi,
I'm not a member of the iPhone Developer Program. So to install my apps on the iPhone, I followed these steps:
1)Just edited the file
/Developer/Platforms/iPhoneOS.platform/Info.plist
and add the words in red as below
<key>NATIVE_ARCH</key>
<string>armv6</string>
<key>PLIST_FILE_OUTPUT_FORMAT</key>
<string>binary</string>
<key>PROVISIONING_PROFILE_ALLOWED</key>
<string>NO</string>
<key>PROVISIONING_PROFILE_REQUIRED</key>
<string>NO</string>
<key>SDKROOT</key>
<string>iphoneos2.2</string>
2)Installed MobileInstallation patch on my iPhone
3)Created a developer signing profile called "iPhone Developer" according to this guide
4)Inserted into the file Info.plist in my Application the following key:
Key: SignerIdentity
Value: Apple iPhone OS Application Signing
With the iPhone SDK 2.1, these worked.
Today I updated my iPhone and the SDK to 2.2. Now when I try to Build and Go, I get an error:
"Your mobile device has encountered an unexpected error (0xE8000001). Try disconnecting and powering off the device; then power the device on and reconnect it."
In organizer console, iPhone says:
unknown afcd[a random number] <Error>: user mobile has uid 501\n
unknown afcd[the same random number] <Error>: mode is 0x41e8
I can install my app only one time successfully. If I make any changes and I want to redeploy, I'm back where I started with the 0xe8000001 error and all the rest. I delete the app manually and still get the error.
I googled but nothing worked (even if I reinstalled the iPhone SDK).
Thanks in advance
Solletichino999
Last edited by solletichino999; 01-10-2009 at 02:01 PM.
|
|
|
12-08-2008, 07:24 PM
|
#2 (permalink)
|
|
Registered Member
Join Date: Nov 2008
Posts: 250
|
It's tricky enough to get this working when you've got a valid ADC account to use for code signing. You're going to need it anyways to deploy your app, might as well.
|
|
|
12-09-2008, 07:29 AM
|
#3 (permalink)
|
|
New Member
Join Date: Oct 2008
Posts: 11
|
Quote:
Originally Posted by zhyla
It's tricky enough to get this working when you've got a valid ADC account to use for code signing.
|
But with the firmware 2.0 and 2.1 this worked, and I'm not a paying member of the iPhone Developer Program.
Quote:
Originally Posted by zhyla
You're going to need it anyways to deploy your app, might as well.
|
Why? I don't develop for the AppStore, I just develop for Cydia.
|
|
|
12-09-2008, 12:01 PM
|
#4 (permalink)
|
|
Registered Member
Join Date: Nov 2008
Posts: 250
|
Did you try restarting the device? I've had to do that a couple times when I get that error.
|
|
|
12-09-2008, 01:06 PM
|
#5 (permalink)
|
|
New Member
Join Date: Oct 2008
Posts: 11
|
Quote:
Originally Posted by zhyla
Did you try restarting the device? I've had to do that a couple times when I get that error.
|
Yes, of course, I tried a lots of times.
What I get is a permanent problem: I restarted the iPhone, I restarted the pc, I reinstalled the SDK, I also googled, but nothing worked for me.
Anyway, Thank you
|
|
|
12-10-2008, 04:54 AM
|
#6 (permalink)
|
|
New Member
Join Date: Nov 2008
Location: Argentina
Posts: 12
|
Try to install a free app from the AppStore first and then try with your application again.
|
|
|
12-10-2008, 07:32 AM
|
#7 (permalink)
|
|
New Member
Join Date: Oct 2008
Posts: 11
|
Quote:
Originally Posted by Oskee
Try to install a free app from the AppStore first and then try with your application again.
|
It doesn't worked.  I installed WiFi Track from the AppStore on the iPhone (not by iTunes) and then I retried... Nothing.
|
|
|
12-10-2008, 07:42 AM
|
#8 (permalink)
|
|
New Member
Join Date: Nov 2008
Location: Argentina
Posts: 12
|
Quote:
Originally Posted by solletichino999
It doesn't worked.  I installed WiFi Track from the AppStore on the iPhone (not by iTunes) and then I retried... Nothing.

|
I think installing from iTunes is a must.
On the other hand change the signing profile to any other name. Like iPhone Pwned Developer.
Second, make sure in your project / Active Target settings you have the following:
CODE_SIGN_IDENTITY = iPhone Pwned Developer
CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Pwned Developer
CODE_SIGN_RESOURCE_RULES_PATH = /* Nothing, NULL, empty, nil */
So far is as much I know. I have the aftermentioned configuration working under 2.2.
Cheers.
|
|
|
12-10-2008, 08:51 AM
|
#9 (permalink)
|
|
New Member
Join Date: Oct 2008
Posts: 11
|
Quote:
Originally Posted by Oskee
I think installing from iTunes is a must.
|
I installed FaceBook from iTunes, but I still get the same error.
Quote:
Originally Posted by Oskee
On the other hand change the signing profile to any other name. Like iPhone Pwned Developer.
Second, make sure in your project / Active Target settings you have the following:
CODE_SIGN_IDENTITY = iPhone Pwned Developer
CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Pwned Developer
CODE_SIGN_RESOURCE_RULES_PATH = /* Nothing, NULL, empty, nil */
|
l created a signing profile called "iPhone Pwned Developer".
I set:
CODE_SIGN_IDENTITY = iPhone Pwned Developer
CODE_SIGN_RESOURCE_RULES_PATH = /*empty*/
Where I can find CODE_SIGN_IDENTITY[sdk=iphoneos*]?
|
|
|
12-10-2008, 09:34 AM
|
#10 (permalink)
|
|
New Member
Join Date: Nov 2008
Location: Argentina
Posts: 12
|
If you click in the arrows in CODE_SIGN_IDENTITY (up and down) you will get a popup with all the device SDKs installed. Select: Device - iPhone OS 2.2. This will add a row below CODE_SIGN_IDENTITY (Any OS Device).
Also make sure you are modifying the appropriate Project / Target configuration. (Debug / Release or whatever).
|
|
|
12-10-2008, 09:50 AM
|
#11 (permalink)
|
|
New Member
Join Date: Oct 2008
Posts: 11
|
Quote:
Originally Posted by Oskee
If you click in the arrows in CODE_SIGN_IDENTITY (up and down) you will get a popup with all the device SDKs installed. Select: Device - iPhone OS 2.2. This will add a row below CODE_SIGN_IDENTITY (Any OS Device).
Also make sure you are modifying the appropriate Project / Target configuration. (Debug / Release or whatever).
|
Ok, I setted:
Any iPhone OS Device = iPhone Pwned Developer
but it doesn't work, I still get the error
Anyways, thank you very much
|
|
|
12-11-2008, 08:04 AM
|
#12 (permalink)
|
|
New Member
Join Date: Oct 2008
Posts: 11
|
I can install my app only one time successfully. If I make any changes and I want to redeploy, I'm back where I started with the 0xe8000001 error and all the rest. I delete the app manually and still get the error.
Last edited by solletichino999; 12-11-2008 at 01:02 PM.
|
|
|
12-11-2008, 01:02 PM
|
#13 (permalink)
|
|
New Member
Join Date: Oct 2008
Posts: 11
|
no one?
|
|
|
12-12-2008, 12:29 PM
|
#15 (permalink)
|
|
New Member
Join Date: Nov 2008
Location: Argentina
Posts: 12
|
Maybe you have to recheck the whole procedure. I have everything working right now and running 2.2.
|
|
|
12-19-2008, 06:45 PM
|
#16 (permalink)
|
|
Physician developer
Join Date: Aug 2008
Location: Austin, TX
Posts: 204
|
I'm convinced that this error has to do with leftover or corrupt files on the iPhone interfering with the debug/install because it never happened to me until I interrupted an install. Also, there is only problem with debugging one app. Another one works fine. I have read here that some people just started a new project and moved over the files. I'm afriad I might have to restore my iPhone in order to fix this.
|
|
|
01-10-2009, 10:02 AM
|
#17 (permalink)
|
|
New Member
Join Date: Oct 2008
Posts: 11
|
Ok, I founded the solution:
1) As written here, the directory “/private/var/mobile/Media/PublicStaging” may hold a copy of the application. So delete the application folder inside “/private/var/mobile/Media/PublicStaging” (if there is);
2) As written here, go to the "Build" menu and select "Clean All Targets" (Build > Clean All Targets);
AND GOODBYE ERROR!!!
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
» Online Users: 484 |
| 57 members and 427 guests |
| AdyCoder, atsd, AXP, bensj, blackoutq3, bravetarget, cakeisalie, CHV, coconnor, cribasoft, CunningCat, danny8, davek, embedded, Gamer211, ggalante, Gudus, harrytheshark, healthyutech, henmue, iFizzgig, imsatasia, intomo, iPhoneDevelopment, Jeremy1026, johnnybluejeans, krowczyk, lepetitapps, Link, MacSteve85, markbuchanan, MasterLee, MiniRobinho, mlo, nibby, NicolasD, not_too_shabby, P2k, pokypine, racer_X, raheel, robotcult, SimonK, talakoski, Tambourin, Type25, umarmara, vcanic, virvalid, Vivek Nirkhe, Vonswanko, wassupdoc, winklllll, ZunePod |
| Most users ever online was 779, 05-11-2009 at 10:55 AM. |
» Stats |
Members: 21,505
Threads: 35,786
Posts: 156,783
Top Poster: smasher (2,449)
|
| Welcome to our newest member, SimonK |
|