1. Levi Dhuyvetter's Avatar
    Hello,

    I have iOS 6.1 (jailbroken) and i'm using xCode 4.6. I fake codesigned and build my application in xcode but when i try to install it with itunes my iphone shows an alert box that says "'application name' failed to install" and then the icon dissapears from the springboard. What am i doing wrong?
    02-05-2013 01:24 PM
  2. duckboys's Avatar
    Hey

    As a side question, did you have to do anything specific to fake the code signing? I did the typical changes, but after that it never signs, also the ios SDK disappears from xcode.
    02-05-2013 08:42 PM
  3. Levi Dhuyvetter's Avatar
    You need to make the changes in the Info.plist make you certificate and then in your build settings you need to change 5 things to your certificate. At least that's what i found for xcode 5.5 i didn't find anything specific for 5.6 so i guess it's the same or nobody found a way to fake code sign in 5.6 yet. I think my application gets signed because i don't get any errors but when i try to install it it seems like ios knows it's not signed properly. (My device is jailbroken)
    02-05-2013 09:26 PM
  4. Pepito de los Palotes's Avatar
    Hey please, post detailed info on how to fake sign when you get to it. I don't know how to do it, I have never done it, but I want to do it.

    Thanks a lot
    02-06-2013 09:59 AM
  5. natasftw's Avatar
    Hey please, post detailed info on how to fake sign when you get to it. I don't know how to do it, I have never done it, but I want to do it.

    Thanks a lot
    Step 1: Jailbreak your phone
    Step 2: Open Cydia
    Step 3: Scroll down to the bottom where it says "Bypassing Code Signature"
    02-06-2013 10:27 AM
  6. Levi Dhuyvetter's Avatar
    Ok it's working now for me so here is a quick tutorial on the whole process:

    1. Close xCode

    2. Open Keychain Access

    3. In the menu bar click on "Keychain Acces" then go to "Certificate Assistant" and click on "Create a Certificate..."

    4. In the field "Name:" give your certificate a name, this can be anything, i just used my own name

    5. For "Identity Type" choose (or leave it on) "Self Signed Root"

    6. For "Certificate Type" choose "Code Signing"

    7. Check "Let me override defaults"

    8. Click Create

    9. In the field "Serial Number:" type any number you want (for example "12345678")

    10. Leave the Validity Period as it is except if you want your certificate to be valid for more than 1 year

    11. Click Continue

    12. If you want you can fill in your details here

    13. Click Continue until it says "Your certificate has been successfully created." (if not try again)

    14. Click Done and quit Keychain Access

    15. Find xCode in your applications folder.

    16. Richt click and then click show package contents.

    17. Go to contents > developer > platforms > iphoneos.platform

    18. Copy the file "Info.plist" to your desktop (drag while holding the option key will copy the file, make sure it doesn't make a shortcut)

    19. Delete the file you just copied (not the one you placed on your desktop, delete the original file in the iphoneos.platform folder)

    20. Open the file with Xcode

    21. Under default properties change "XCiPhoneOSCodeSignContext" where it says "CODE_SIGN_CONTEXT_CLASS" to "XCCodeSignContext"

    22. Do the same under overrideproperties

    23. Save and close the file

    24. Go back to contents > developer > platforms > iphoneos.platform

    25. Paste the file from your desktop back in the folder (your computer might ask you to authenticate)

    26. If xcode is open (because of editing the file) close it and then open it again

    27. When xcode is open again open the project you want to fake code sign

    28. On the left click on your project (the one with the blue icon that says 1 target, iOS sdk 6.1 or something like that under it, if it's not already selected)

    29. on the right there is another blue icon with your application name "under project", click this one and then go to "build settings"

    30. under "Code Signing" change all 5 values to the name of the certificate you made

    31. build your project (command + B)

    32. On the left in the group "Products" there is a file that is called *application name*.app drag this file to itunes

    33. On your jailbroken iPhone add the source "http://cydia.myrepospace.com/flaminfury/" to cydia

    34. In cydia search for "AppSync for iOS 4.x-6.x" and install

    35. Now you can sync your iphone with iTunes (make sure in itunes the application is selected to be installed) and the application will install on your iPhone.
    Last edited by Levi Dhuyvetter; 02-06-2013 at 11:03 AM.
    02-06-2013 10:44 AM
  7. natasftw's Avatar
    If you can edit, you probably want to change step 33 to the following repo: http://cydia.myrepospace.com/flaminfury/

    The one you mentioned won't make admins very happy around here.
    02-06-2013 10:55 AM
  8. Laelipoo's Avatar
    Ok it's working now for me so here is a quick tutorial on the whole process:

    1. Close xCode

    2. Open Keychain Access

    3. In the menu bar click on "Keychain Acces" then go to "Certificate Assistant" and click on "Create a Certificate..."

    4. In the field "Name:" give your certificate a name, this can be anything, i just used my own name

    5. For "Identity Type" choose (or leave it on) "Self Signed Root"

    6. For "Certificate Type" choose "Code Signing"

    7. Check "Let me override defaults"

    8. Click Create

    9. In the field "Serial Number:" type any number you want (for example "12345678")

    10. Leave the Validity Period as it is except if you want your certificate to be valid for more than 1 year

    11. Click Continue

    12. If you want you can fill in your details here

    13. Click Continue until it says "Your certificate has been successfully created." (if not try again)

    14. Click Done and quit Keychain Access

    15. Find xCode in your applications folder.

    16. Richt click and then click show package contents.

    17. Go to contents > developer > platforms > iphoneos.platform

    18. Copy the file "Info.plist" to your desktop (drag while holding the option key will copy the file, make sure it doesn't make a shortcut)

    19. Delete the file you just copied (not the one you placed on your desktop, delete the original file in the iphoneos.platform folder)

    20. Open the file with Xcode

    21. Under default properties change "XCiPhoneOSCodeSignContext" where it says "CODE_SIGN_CONTEXT_CLASS" to "XCCodeSignContext"

    22. Do the same under overrideproperties

    23. Save and close the file

    24. Go back to contents > developer > platforms > iphoneos.platform

    25. Paste the file from your desktop back in the folder (your computer might ask you to authenticate)

    26. If xcode is open (because of editing the file) close it and then open it again

    27. When xcode is open again open the project you want to fake code sign

    28. On the left click on your project (the one with the blue icon that says 1 target, iOS sdk 6.1 or something like that under it, if it's not already selected)

    29. on the right there is another blue icon with your application name "under project", click this one and then go to "build settings"

    30. under "Code Signing" change all 5 values to the name of the certificate you made

    31. build your project (command + B)

    32. On the left in the group "Products" there is a file that is called *application name*.app drag this file to itunes

    33. On your jailbroken iPhone add the source "http://sinfuliphonerepo.com/" to cydia

    34. In cydia search for "AppSync for iOS 4.x-6.x" and install

    35. Now you can sync your iphone with iTunes (make sure in itunes the application is selected to be installed) and the application will install on your iPhone.

    So uh, I gotta stick my head in here--that last bit (step 32 and on) kinda imply you're trying to sync apps you may not be able to do the normal way. You may want to edit that, since cracked apps aren't allowed here. If you not, sorry, I just want to make sure your intentions are clear.
    02-06-2013 10:57 AM
  9. kch50428's Avatar
    This does seem hinky... at first look, I was thinking the OP was looking to do something involving their own apps on their own devices... but after seeing the explanation I'm left to wonder why one would need to "fake sign" their own code... not being a developer - I'm not knowledgeable on this...
    02-06-2013 11:02 AM
  10. Levi Dhuyvetter's Avatar
    What's wrong with the explanation? I'm trying to put apps i made myself with xcode on my own iPhone
    02-06-2013 11:06 AM
  11. natasftw's Avatar
    This does seem hinky... at first look, I was thinking the OP was looking to do something involving their own apps on their own devices... but after seeing the explanation I'm left to wonder why one would need to "fake sign" their own code... not being a developer - I'm not knowledgeable on this...
    Apple has a code signing process required for all apps. If the code isn't signed, your phone will reject it. There's a small amount discussing bypassing code signature on the main page of Cydia.

    I'm still learning the ways of Apple development, so I could be mistaken. However, if I've interpreted everything correctly to this point you must "fake" the Apple signing process to get your apps to run without being an official developer.
    02-06-2013 11:07 AM
  12. kch50428's Avatar
    What's wrong with the explanation? I'm trying to put apps i made myself with xcode on my own iPhone
    Fine and dandy... just understand that it is iMore policy that any discussions of piracy is not tolerated.
    02-06-2013 11:09 AM
  13. natasftw's Avatar
    What's wrong with the explanation? I'm trying to put apps i made myself with xcode on my own iPhone
    The mention of a known pirating repo makes people question things. Keep in mind you're posting in a place where few spend the time developing apps so some of the terms you're using aren't well known.
    02-06-2013 11:10 AM
  14. kch50428's Avatar
    I'm still learning the ways of Apple development, so I could be mistaken. However, if I've interpreted everything correctly to this point you must "fake" the Apple signing process to get your apps to run without being an official developer.
    So this is for writing apps without being an Apple registered developer... Just so everyone is clear... review the iMore Forum rules for piracy discussion, and act accordingly.
    02-06-2013 11:13 AM
  15. Laelipoo's Avatar
    Apple has a code signing process required for all apps. If the code isn't signed, your phone will reject it. There's a small amount discussing bypassing code signature on the main page of Cydia.

    I'm still learning the ways of Apple development, so I could be mistaken. However, if I've interpreted everything correctly to this point you must "fake" the Apple signing process to get your apps to run without being an official developer.
    Hopefully that's all. But between the evil repo and the mention of appsync, I couldn't help but be a little suspicious.
    02-06-2013 11:14 AM
  16. Levi Dhuyvetter's Avatar
    I didn't know about the pirating repo, i just jailbroke my iPhone a few days ago for the first time
    02-06-2013 11:15 AM
  17. natasftw's Avatar
    When you add that repo, it pops up a warning telling you it's a known pirating repo :P

    That's why I went to find you another repo in a hurry.
    02-06-2013 11:17 AM
  18. Levi Dhuyvetter's Avatar
    Ohhh yeah i think i just skipped the warning anyway if someone needs more information about terms i used they can just ask me here.
    02-06-2013 11:22 AM
  19. Sohayb Dosky's Avatar
    I Already had same problem "name.app" failed to install...so i followed ur steps by adding a source but still i got same Notification ..Help me if u can plz

    Note : i am using ios 6.1
    05-11-2013 12:33 PM
  20. Just_Me_D's Avatar
    I Already had same problem "name.app" failed to install...so i followed ur steps by adding a source but still i got same Notification ..Help me if u can plz

    Note : i am using ios 6.1
    Assisting you is important to us and there are times when the members of this community who can best provide you with assistance to your particular issue or concern may not be available at the time of your post so please be patient while awaiting a reply. In the meantime, feel free to peruse the various sections of the iMore forum as well as the iMore Blog and check back periodically for a reply to your post. Thank you.
    05-11-2013 12:56 PM

Similar Threads

  1. Installer not working? or just noob...
    By Longshot9 in forum Jailbreaking, Unlocking, Hacks, Themes & Mods
    Replies: 1
    Last Post: 09-29-2008, 02:32 PM
  2. Mail2web Push not working...
    By Justanotherspeechwriter in forum iPhone 4
    Replies: 3
    Last Post: 09-17-2008, 09:49 AM
  3. Help Wifi Not Working
    By anixon92 in forum iPhone 4
    Replies: 1
    Last Post: 08-08-2008, 12:38 PM
  4. Vibrate not working
    By SJ12 in forum iPhone 4
    Replies: 2
    Last Post: 07-31-2008, 01:38 PM
  5. Apps not working
    By IsrealsSoN13 in forum iPhone 4
    Replies: 1
    Last Post: 07-16-2008, 12:54 AM
LINK TO POST COPIED TO CLIPBOARD