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.