2011/01/14 15:37
Hey guys. Today I'm going to show you all how to fake code sign your XCode applications and let you know how to put the application on your device.
This requires four things to be installed from CYDIA (Search for them)[[MUST BE INSTALLED FROM CYDIA]]
- ldid (Link Identity Editor)
- Respring (Or however you prefer respringing your device).
- OpenSSH
- GUICache
First, open a new Finder window and click on "Macintosh HD" or whatever you called your main computer hard-drive.

Next, navigate to the path Developer/Platforms/iPhoneOS.platform/Developer/SDKs
You will see something that looks like this:

For this tutorial, we are going to use the iPhoneOS3.0.sdk because the latest SDKs unfortunately do not work. (3.1 and 3.1.2.)
Go into the iPhoneOS3.0.sdk folder and you will see a few files and folders, including the one we care about most called "SDKSettings.plist."
Drag "SDKSettings.plist" to your Desktop to edit it because it cannot be modified when it is in the folder "iPhoneOS3.0.sdk."
Once it is on your Desktop, open it up in TextEdit or whatever text program you want to use.
In the plist, you will see it says this:
Change that string to this:
Save the .plist and close out of your text editor. Now, drag the SDKSettings.plist file from your Desktop into the iPhoneOS3.0.sdk folder so that you overwrite it. Finder will ask you to authenticate it, then click on "replace."
Once you've done that, open up your XCode project for the app you want to build. (restart it if it's already open).

Now click on the name of your project so that it is highlighted blue like this:

Once you've done that, click on the
button.
Now, in this picture below, change your settings to what is highlighted:

After you've done that, build your project by pressing Command "B" on your keyboard. Make sure the project build is "Release"
In the XCode project, go to the "Products" folder on the sidebar and right click on your application.app. Click on "Reveal in Finder"
Next, drag your application to the Desktop.
After that, open up whatever SSH program you use and copy your application to the path "/Applications"
Now open up Terminal and do the following commands:
Now do the following command:
Now open up GUICache and click "Rebuild"
Now go back to Terminal (in your SSH shell) and type:
Respring your device
Now your application should be fully functional on your device.
I hope this tutorial was helpful. If you have any questions or concerns, post them below!
:]
This requires four things to be installed from CYDIA (Search for them)[[MUST BE INSTALLED FROM CYDIA]]
- ldid (Link Identity Editor)
- Respring (Or however you prefer respringing your device).
- OpenSSH
- GUICache
First, open a new Finder window and click on "Macintosh HD" or whatever you called your main computer hard-drive.

Next, navigate to the path Developer/Platforms/iPhoneOS.platform/Developer/SDKs
You will see something that looks like this:

For this tutorial, we are going to use the iPhoneOS3.0.sdk because the latest SDKs unfortunately do not work. (3.1 and 3.1.2.)
Go into the iPhoneOS3.0.sdk folder and you will see a few files and folders, including the one we care about most called "SDKSettings.plist."
Drag "SDKSettings.plist" to your Desktop to edit it because it cannot be modified when it is in the folder "iPhoneOS3.0.sdk."
Once it is on your Desktop, open it up in TextEdit or whatever text program you want to use.
In the plist, you will see it says this:
Code:
<key>CODE_SIGNING_REQUIRED</key> <string>YES</string>
Code:
<key>CODE_SIGNING_REQUIRED</key> <string>NO</string>
Once you've done that, open up your XCode project for the app you want to build. (restart it if it's already open).

Now click on the name of your project so that it is highlighted blue like this:

Once you've done that, click on the
button. Now, in this picture below, change your settings to what is highlighted:

After you've done that, build your project by pressing Command "B" on your keyboard. Make sure the project build is "Release"
In the XCode project, go to the "Products" folder on the sidebar and right click on your application.app. Click on "Reveal in Finder"
Next, drag your application to the Desktop.
After that, open up whatever SSH program you use and copy your application to the path "/Applications"
Now open up Terminal and do the following commands:
Code:
ssh root@*IP Address* password: alpine Example:ssh root@192.168.1.102
Code:
ldid -S /Applications/*Application*.app/*Application name* (no.app) Example: ldid -S /Applications/PasscodeMod.app/PasscodeMod
Now go back to Terminal (in your SSH shell) and type:
Code:
chmod -R 755 /Applications/*Application*.app Example: chmod -R 755 /Applications/PasscodeMod.app
Now your application should be fully functional on your device.
I hope this tutorial was helpful. If you have any questions or concerns, post them below!
:]
__________________