How to build .ipa for React Native?

First, you need to create a bundle this way : react-native bundle –dev false –entry-file index.ios.js –bundle-output ios/main.jsbundle –platform ios Then, you have to comment this line in AppDelegate.m : jsCodeLocation = [NSURL URLWithString:@”http://localhost:8081/index.ios.bundle?platform=ios&dev=true”]; and uncomment this one : jsCodeLocation = [[NSBundle mainBundle] URLForResource:@”main” withExtension:@”jsbundle”]; Then you have to go for Product -> Archive in … Read more

How can I deploy (create .ipa) iphone app using ‘cordova build ios –release’?

I found this command which worked for me: cordova build ios –device cd platforms/ios/build/device /usr/bin/xcrun -sdk iphoneos PackageApplication “$(pwd)/$PROJECT_NAME.app” -o “$(pwd)/$PROJECT_NAME.ipa” Source: http://www.splinter.com.au/xcode-4-command-line-builds-of-iphone-apps/ I did run @MD. Mohiuddin Ahmed’s Ruby script first, which would have changed my xcodeproj file. I’m not sure if that was necessary but I don’t think so. Update for XCode 8: … Read more

How to convert .xcarchive to .ipa for client to submit app to app store using Application Loader

Create Xarchieve file by using Xcode, click product->archive first right click on xarchive file-> show in finder again right click on xarchive file-> show package contents Then open folder products->applications, here you get the your application file Now, Drag and drop this one to itunes store’s app directory(find apps drop down menu at right top … Read more

How to tell what profile/signing certificate was used to sign .ipa?

Provisioning Profiles have a UUID that can be seen using the Terminal command: security cms -D -i (path_to_your_provisioning_profile) See the UUID section of the command output like: <key>UUID</key> <string>A008C022-7B82-4E40-8B37-172763E1E3CC</string> Xcode inserts the provisioning profile used to sign the application within the .app bundle. To find it, rename your .ipa to .zip, uncompress it with Finder, … Read more

How to re-sign the ipa file?

It’s really easy to do from the command line. I had a gist of a script for doing this. It has now been incorporated into the ipa_sign script in https://github.com/RichardBronosky/ota-tools which I use daily. If you have any questions about using these tools, don’t hesitate to ask. The heart of it is this: CODESIGN_ALLOCATE=`xcrun –find … Read more

Re-sign IPA (iPhone)

Finally got this working! Tested with a IPA signed with cert1 for app store submission with no devices added in the provisioning profile. Results in a new IPA signed with a enterprise account and a mobile provisioning profile for in house deployment (the mobile provisioning profile gets embedded to the IPA). Solution: Unzip the IPA … Read more