Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone ($4.99)

dotnetIQ ($4.99)

Your First iPhone App ($1.99)

iPocket Tools 9 in 1 ($0.99)

Catch-Me (Free)

Alien Strike ($0.99)

Historic Olympic Medal-Table ($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-08-2008, 03:42 PM   #1 (permalink)
New Member
 
Join Date: Oct 2008
Posts: 11
Default [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.
solletichino999 is offline   Reply With Quote
Old 12-08-2008, 07:24 PM   #2 (permalink)
Registered Member
 
Join Date: Nov 2008
Posts: 250
Default

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.
zhyla is offline   Reply With Quote
Old 12-09-2008, 07:29 AM   #3 (permalink)
New Member
 
Join Date: Oct 2008
Posts: 11
Default

Quote:
Originally Posted by zhyla View Post
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 View Post
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.
solletichino999 is offline   Reply With Quote
Old 12-09-2008, 12:01 PM   #4 (permalink)
Registered Member
 
Join Date: Nov 2008
Posts: 250
Default

Did you try restarting the device? I've had to do that a couple times when I get that error.
zhyla is offline   Reply With Quote
Old 12-09-2008, 01:06 PM   #5 (permalink)
New Member
 
Join Date: Oct 2008
Posts: 11
Default

Quote:
Originally Posted by zhyla View Post
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
solletichino999 is offline   Reply With Quote
Old 12-10-2008, 04:54 AM   #6 (permalink)
New Member
 
Join Date: Nov 2008
Location: Argentina
Posts: 12
Send a message via MSN to Oskee
Default

Try to install a free app from the AppStore first and then try with your application again.
Oskee is offline   Reply With Quote
Old 12-10-2008, 07:32 AM   #7 (permalink)
New Member
 
Join Date: Oct 2008
Posts: 11
Default

Quote:
Originally Posted by Oskee View Post
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.

solletichino999 is offline   Reply With Quote
Old 12-10-2008, 07:42 AM   #8 (permalink)
New Member
 
Join Date: Nov 2008
Location: Argentina
Posts: 12
Send a message via MSN to Oskee
Default

Quote:
Originally Posted by solletichino999 View Post
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.
Oskee is offline   Reply With Quote
Old 12-10-2008, 08:51 AM   #9 (permalink)
New Member
 
Join Date: Oct 2008
Posts: 11
Default

Quote:
Originally Posted by Oskee View Post
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 View Post
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*]?
solletichino999 is offline   Reply With Quote
Old 12-10-2008, 09:34 AM   #10 (permalink)
New Member
 
Join Date: Nov 2008
Location: Argentina
Posts: 12
Send a message via MSN to Oskee
Default

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).
Oskee is offline   Reply With Quote
Old 12-10-2008, 09:50 AM   #11 (permalink)
New Member
 
Join Date: Oct 2008
Posts: 11
Default

Quote:
Originally Posted by Oskee View Post
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
solletichino999 is offline   Reply With Quote
Old 12-11-2008, 08:04 AM   #12 (permalink)
New Member
 
Join Date: Oct 2008
Posts: 11
Default

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.
solletichino999 is offline   Reply With Quote
Old 12-11-2008, 01:02 PM   #13 (permalink)
New Member
 
Join Date: Oct 2008
Posts: 11
Default

no one?
solletichino999 is offline   Reply With Quote
Old 12-12-2008, 11:47 AM   #14 (permalink)
New Member
 
Join Date: Oct 2008
Posts: 11
Default

I will wait for the firmware 2.3. Maybe it will solve my problem.
I will wait for the firmware 2.3. Maybe it will solve my problem.
I will wait for the firmware 2.3. Maybe it will solve my problem.
solletichino999 is offline   Reply With Quote
Old 12-12-2008, 12:29 PM   #15 (permalink)
New Member
 
Join Date: Nov 2008
Location: Argentina
Posts: 12
Send a message via MSN to Oskee
Default

Maybe you have to recheck the whole procedure. I have everything working right now and running 2.2.
Oskee is offline   Reply With Quote
Old 12-19-2008, 06:45 PM   #16 (permalink)
Physician developer
 
StatCoder's Avatar
 
Join Date: Aug 2008
Location: Austin, TX
Posts: 204
Default

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.
StatCoder is offline   Reply With Quote
Old 01-10-2009, 10:02 AM   #17 (permalink)
New Member
 
Join Date: Oct 2008
Posts: 11
Default

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!!!
solletichino999 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


» Advertisements
» Stats
Members: 21,505
Threads: 35,786
Posts: 156,783
Top Poster: smasher (2,449)
Welcome to our newest member, SimonK
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:13 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0