Build unsigned .ipa without Developer Account on Xcode 5
Disable Code Signing
Goto /Applications, then righ click XCode.app and click Show Package Contents
Goto Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/ and copy the file SDKSettings.plist to the desktop.
Open the file copied SDKSettings.plist. Under <DefaultProperties> ==> <dict> ,
find <CODE_SIGNING_REQUIRED> and change its value from YES to NO. Save the file.
Copy this modified SDKSettings.plist file back to Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/ replacing the orginal file [YOU MAY SAVE THE ORIGINAL FILE AS BACKUP]. Do the required AUTHENTICATION AS REQUIRED.
Restart Xcode and open your runnable xcode project.
In Project Navigator, select your project and open Build Settings section of your porject and Select All sub-heading.
Under Code Signing find Code Signing Identity and for both Debug and Release modes, set Any iOS SDK to Don't Code Sign
Make an IPA
In Xcode, goto Product and click Archive.
Step7 will build you project and creat an Archive. After the completion of the process, new window Organize - Archive will open. In the list of this window you can see your project. Right click project and click Show in Finder which will reveal *.xcarchive file.
Right click the *.xcarchive file and click Show Package Contents and goto Products => Applications where you will see an app file with the name of your project <projectname>.app
Open iTunes change view to Apps and drag the app file <projectname>.app into the iTunes.
Right Click your app, click Show in Finder. There you will have your .IPA File.
Important Notes
In Step 8, if the Archive menu is disabled this is most likely because the a simulator option is currently selected as the run target in the Xcode toolbar. Changing this menu either to a connected device, or the generic iOS Device target option should enable the Archive option in Product menu.
You will also need to install AppSync in your iPhone via Cydia.
" Note that if the Archive menu is disabled this is most likely because the a simulator option is currently selected as the run target in the Xcode toolbar. Changing this menu either to a connected device, or the generic iOS Device target option should enable the Archive option in Product menu. "
I did this but when clicking on Archive, the build fails and the following error appears: CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'
I have the same problem. When I pres Archice it says "No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) were found."
Dear Sabbir, Thanks for your nice tutorial, Actually i done whatever you say.Disabled Code Signing on SDKSettting.plist as well as project build setting. I use Xcode 5.1.1 with iOS 7.1 target and event after opening .xcodeproj, on top of Xcode there is red warning icon that clicking on it shows code signing error. Hence clicking on Archive menu results to fail. Do you want I send project and plist file to you? Please help me on this situation
Thanks a lot for amazing tutorial. But in my SDKSettings.plist under Default Settings there is no CODE_SIGNING... I tried to add it, but system tell that file is lock.I tried to unlock in this way: https://discussions.apple.com/message/17158710 but it still lock. I am working on Mac on Vware which installed on Windows 8. :-) You are like a Neo, i know that you know an answer for this difficult situation. Please help.
Thank You,
ReplyDeletebut why apple make this overhead to developer
even I have no idea :)
ReplyDelete" Note that if the Archive menu is disabled this is most likely because the a simulator option is currently selected as the run target in the Xcode toolbar. Changing this menu either to a connected device, or the generic iOS Device target option should enable the Archive option in Product menu. "
ReplyDeleteMore Info at
Deletehttp://www.techotopia.com/index.php/Preparing_and_Submitting_an_iOS_7_Application_to_the_App_Store
it so cool
ReplyDeleteWill this still work for Xcode 5.1 (iOS 7.1) and 5.1.1 (iOS 7.1.1)?
ReplyDeleteyes it shoud work
ReplyDeleteI did this but when clicking on Archive, the build fails and the following error appears: CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'
ReplyDeleteDid you follow the part 1 of the tutorial i.e. "To Disable Code Signing" properly? You seem to have not turned off the Code Signing
Deletevideo demonstration also available at http://www.youtube.com/watch?v=01eGo6YSPVc
I have the same problem. When I pres Archice it says "No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) were found."
DeletePlease help
Dear Sabbir,
ReplyDeleteThanks for your nice tutorial, Actually i done whatever you say.Disabled Code Signing on SDKSettting.plist as well as project build setting.
I use Xcode 5.1.1 with iOS 7.1 target and event after opening .xcodeproj, on top of Xcode there is red warning icon that clicking on it shows code signing error.
Hence clicking on Archive menu results to fail.
Do you want I send project and plist file to you?
Please help me on this situation
did you properly replaced edited SDKSettting.plist in the original location?
ReplyDeleteThanks a lot for amazing tutorial.
ReplyDeleteBut in my SDKSettings.plist under Default Settings there is no CODE_SIGNING...
I tried to add it, but system tell that file is lock.I tried to unlock in this way: https://discussions.apple.com/message/17158710 but it still lock.
I am working on Mac on Vware which installed on Windows 8. :-)
You are like a Neo, i know that you know an answer for this difficult situation.
Please help.
This way unlock file: https://www.macprovideo.com/forum/other/mac-os/6871
ReplyDeleteTrying to move forward
When build process is running apears error and it stops:
ReplyDeleteclang: error: linker command failed with exit code 1 (use -v to see invocation)
Does this work with xcode 6
ReplyDeleteHello,
ReplyDeleteI did all the steps but I couldn't drag the app to iTunes, any clue why ??
Thanks in advance.
Hi,
ReplyDeleteI followed the instructions but when i get to the app itself it has a big circle with a cross inside and says it cant be installed :( please help
Hi,
ReplyDeletehow i can install this .ipa file in iphone ?
Firstly, your iPhone must be jailbroken, then you should install the "APPSync" to your iPhone via Cydia
ReplyDeletethanks
ReplyDelete