Home > Iphone, Mac Os > Disable Code Signing in XCode 4

Disable Code Signing in XCode 4

Before you distribute Application on App Store, you may want to Test your application in Simulator or Iphone Device via XCode. This is no problem if you have enrolled IOS developer program and pay 99$/year,  generate a Certificate Signing Request and doing some other stuff. read this post.

But if you just want to test your Application on Iphone, and don’t intend to sell it in App Store, actually you don’t need to enrolled IOS developer program or pay 99$/year. Just just need to bypass the code signing. (Oops) it maybe only worked on Cydia-Installed Iphone.

So, first of all you have to Edit SDKSettings.plist. In this case I use XCode 4. you can find it in the /Developer/Platforms/iPhoneOS.platform/SDKs/iPhoneOS4.3.sdk/Developer. In the Default properties key change the CODE_SIGNING_REQUIRED parameter value form “YES” to “NO”, then Restart XCode if you running it.

And in your XCode project setting change the parameter value of  “Code Signing Identity” from “Iphone Developer” to “Don’t Code sign”

If you still have problem then open your browser,  and find the solution with google search engine. Good Luck 🙂

Advertisements
Categories: Iphone, Mac Os
  1. July 20, 2011 at 7:16 am

    great, it’s work fine 😉 thx !

  2. ted
    July 22, 2011 at 5:46 am

    Yup, works just like it did for xcode 3.x… I freaked out because I wasn’t able to build for the device after upgrading to xcode 4.x, but I had forgotten I had done this back then. I re did all these steps and voila! I’m back in business!

  3. February 13, 2012 at 3:16 am

    Nope, sadly it did not work for 4.2.1 😦

    • txcom2003
      February 23, 2012 at 12:16 am

      Try to edit CODE_SIGNING_REQUIRED to NO, and ENTITLEMENTS_REQUIRED to NO. then install “ldid” in your iphone. then restart xcode. it work with xcode 4.2 anyway.

  4. Ravi Chinasamy
    July 12, 2012 at 2:29 am

    Hi there, thank you very much for the guide but, once the app is on the idevice, it crashes on launch while working perfectly on simulators. why is that? i did check out the device console while running my app on the idevice, it does says something as no code signature found before terminating the app. Well, is there a way to get it working on the device as well? BTW: i already have ldid installed.

    • October 27, 2012 at 1:29 pm

      in recent versions of Xcode you also need to set AD_HOC_CODE_SIGNING_ALLOWED to YES to get the app running on your device. cheers

  5. December 21, 2012 at 5:07 pm

    hi every one, thank you very much. every thing works well but when i try to run it in my device. it gives me “no code signature found ” ? any help. or that required to jailbreak my iphone ? noting that i used xcode 4.5 with SDK 6.0 and my iphone is 4s

    • txcom2003
      December 21, 2012 at 11:16 pm

      Assalamualaikum.
      you have to jailbreak if you want to do this. i haven’t tried it in xcode 4.5. currently i still use xcode 4.4.1 and it works well with iphone 4s with IOS 5.1.1. please try ad-hoc code signing as explained by rafael villordo. Good Luck 🙂

  6. Johne789
    August 15, 2014 at 4:44 pm

    Immigration …the time to read or check out the content or sites we have linked to below the… dedgeddkcgdd

  1. July 25, 2012 at 10:22 am
  2. January 3, 2013 at 5:58 pm
  3. October 13, 2014 at 9:36 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: