Bypass Apple Code Signature & Published Your iPhone Application on Cydia – xCode 3.2 with iOS 4.2
After completing our first iPhone Application development at WebCastle, we decided to publish it over Cydia. We actually wanted to publish the app on Apple App store. But as we were unable to get a developer account on company name, we decided not to wait for getting it approved. We were thrilled to publish the app as fast as we did on the Chrome Store.
To publish iPhone app from xCode to app or ipa file, you need to get the code signature corrected. But you wont get it right unless you have a developer account costing $99.
So here is the simple work around. This actually disables Code signature check of xCode while building application. So you might not be able to install on Non Jailbreak iOS. But try your luck. I never saw an iPhone without jailbreak and haven’t had a chance to test this 🙂
- Open /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/SDKSettings.plist.
- Expand DefaultProperties
- change CODE_SIGNING_REQUIRED to NO
- also change ENTITLEMENTS_REQUIRED to NO
- Restart xCode.
- Now, in your project settings, you can change Code Signing Identity to Don’t Code Sign
This method works for xCode 3.2 with iOS 4.2. For older iOS versions, you may try this. Let me know your thoughts and tell me if you have a better method.
It doesn’t work in Xcode 4.2. It is secured another way, but i don’t know how.
Does this work with iOS 4.3 ? I am still getting that error.
I didnt tried yet. Will update you after checking through. But Im sure Apple should have blocked this method in latest releases.
i worked around my permissions and it just says that it cannot be saved now
Copy it into you Documents then edit it then move it back.
When I try to save the SDK settings it tells me I don’t have permission
Sudo nano it .