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 🙂

  1. Open /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/SDKSettings.plist.
  2. Expand DefaultProperties
  3. change CODE_SIGNING_REQUIRED to NO
  4. also change ENTITLEMENTS_REQUIRED to NO
  5. Restart xCode.
  6. 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.

 

Remiz

Remixed version of unstable human emotions and thirst of mankind actions. UX designer, UI developer and HE of WebCastle Media Pvt LTD

You may also like...

7 Responses

  1. psylector says:

    It doesn’t work in Xcode 4.2. It is secured another way, but i don’t know how.

  2. jm says:

    Does this work with iOS 4.3 ? I am still getting that error.

    • Remiz says:

      I didnt tried yet. Will update you after checking through. But Im sure Apple should have blocked this method in latest releases.

  3. Jon says:

    i worked around my permissions and it just says that it cannot be saved now

  4. Jon says:

    When I try to save the SDK settings it tells me I don’t have permission

Talk your view

Read previous post:
IPv6 – Sample IP address and precautions to be taken by IPv4 users

Yes, we are all about to change from IPv4 to IPv6. On June 8, 2011 Google, Facebook, Yahoo!, Akamai, Limelight...

Close