How to create an .ipa file out of phonegap 3.5.0 project? - xcode

I'm very new to OS X and facing difficulties even in finding the menu options in xcode.
I tried all the resources available online. All I'm trying is to make an .ipa file out of the phonegap project which uses push notifications. I have tried phonegap build this way:
Created .p12 key and development provision file according to the instructions in the following link:
http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
It's not working out. So, I started to use xcode to do it. But I don't find an option to edit scheme anywhere.
Kindly help me.

Change you device from iPhone/iPad in XCode to iOS Device then in the project build menu, select Archive. You will be prompted by Xcode to sign the app and if you don't have provisioning profile Xcode will assign you one.
Follow the archive menu to create an download the packaged IPA.

Related

React Native. OneSignal. No profiles for 'com.myapp.ios.OneSignalNotificationServiceExtension' were found

I have followed OneSignal's setup instructions for React Native, but
When I try to upload app to TestFlight I get the following error 'No profiles for 'com.myapp.ios.OneSignalNotificationServiceExtension' were found'
My XCode is 10.0.
Anyone help me? Thanks in advance.
Below instructions assume that your app is building and you have successfully deployed TestFlight builds in the past (since that is where I started from). I had to use the below as "Automatically manage signing" resulted in a build fail in Xcode 10:
Go to https://developer.apple.com/account/ios/profile
Click "+' to create a new provisioning profile
Choose the type of provisioning profile you want (I went with App Store since I use TestFlight builds to test)
for App ID choose "XC YOUR_DOMAIN_APP_ID OneSignalNotificationServiceExtension" and make sure enable the App Groups capability
after you have downloaded the provisioning profile, go into Xcode, turn off automatically signing on the OneSignalNotificationServiceExtension target in General tab and import the provisioning profile you just downloaded.
Use Product > Archive as usual to create your ipa file for App Store upload as usual
I'm getting the same error on appcenter. You can temporarily workaround this problem if you create a new provision file for the OneSignalNotificationServiceExtension identifier and sign your OneSignalNotificationServiceExtension with this provision.
(Your app provision should be different. your app -> com.app.example)

create ipa xcode 7 error: jquery-mobile and external call

I have a strange problem with the creation of ipa.
I have a web-app with an old ipa.
Now, I have the latest version of Xcode (7), I've tried to do a new ipa with the same files (of that web-app) and it doesn't work.
When I create the new ipa, I select "create for ad hoc deployment" and I don't send it immediately to app store.
I noticed that the new ipa is smaller than the old ipa.
I can install the web-app on my iphone and the app starts, but the jquery-mobile seems doesn't work.
Also, it seems that it can't do external calls (for example to a website).
If I install the old ipa, it works all.
I program the web-app with phonegap not with xcode.
I use xcode only to create the ipa.
Anyone know if there are problems with new version of Xcode?
I've tried the new ipa with iphone 6 and iphone 6 plus.
With apk for android works perfectly.
Thank you so much.
I've found the solution.
The external links were the problem.
In the new Xcode it's necessary to add a code in the config.xml that contain the external links that the web-app uses.

Xcode 6 OS X Submission Error: iOS Apps must have a provisioning profile

I'm having the worst time ever submitting an update to my Mac app. Everything was fine until I updated to Xcode 6. I'm in Mavericks, 10.9.4. I get the following error:
iTunes Store operation failed.
Unable to process application at this time due to the following error: iOS Apps must have a provisioning profile.
I have no idea why it says "iOS." Don't know if that's an Xcode bug or it thinks I'm making an iOS app. I used the same Xcode project file to submit the Mac app in the previous Xcode.
I have tried the following with no results:
• Revoked and deleted all certificates and provisioning profiles and started over.
• I created all certificates, provisioning profiles manually rather than Xcode managing them.
• Set the provisioning profile in "release" in the target and in a different occasion, in the project file.
• Gone into the project info and created a separate configuration.
The only "weird" thing I would say that I could be doing insanely obviously wrong is when I look at the options for code singing identity for release, it says "Mac Developer:yata" but there is no option for "Mac Distribution:(myname)" Should there be? I didn't need that in the past. Also, the only options that I can select are in a section called "identities in keychain." Should there be another section? "Identities in Xcode?"
Thank you for anyone that can help. I'll try pretty much anything at this point.
Solution for my case:
I got error in validation stage.
On organizer we see:
1) Go to Apple download page and download xCode 5.1.1
2) Double click on xcode_5.1.1.dmg
3) Copy xCode.app to Desktop
4) Rename xCode.app -> xCode511.app
5) Move xCode511.app -> Applications
6) Close xCode 6.1
7) Work with validation and upload in xCode511.app
UPDATED
8) Be careful ! ITC.apps.validation.prerelease_build_missing
I don't have Xcode right now, but here are the steps:
Delete your certificate and provisioning, both your mac and iTunes account
Regenerate the certificates and provisioning profile (distribution)
Download double click
Go to the account tab, then view account
All certificates and profiles will be listed refresh the stuff there
Clean and rebuild your app with the right provision and 3 party Mac developer
archive, validate and submit (select the right provison and match the app)
voila!
EDIT
Everything you will ever need to know :
https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/Introduction/Introduction.html
I was having the same problem... finally I click on Submit and it worked! It seems that the problem is on Validate only.
Okay so our problem was that our company name had an apostrophe in it ---- could have the same issue if you have quotes in your company name as well. I contacted Apple for them to change it and then uploading worked from Xcode 5.1.1.

Adding provisioning profiles on iOS with XCode5 in delphi XE5

I have an iOS 7 device that I want to ad-hoc deploy my app using XCode5. How can I put the provisioning profile on the device? - note that I am using delphi XE5 to write the app, not xcode.
The way I have used for other devices and that is listed in the Embarcadero documentation doesn't seem to be applicable for XCode5. In the help I have looked up for XCode5, it seems to suggest that you use the XCode project manager to add the provisioning profiles, and they get bundled up with the project.
However XE5 doesn't use the project manager as far as I am aware, and I am at a loss as to how to get the provisioning profile on the device.
Please let me know one thing , in your Provisioning profile your device is added or not, if your Device is added and you want to create a ad-hoc build and want to install this app in your ios Device then you have to create the ipa file , with IPA , you does not need to add in your Device because through ipa file the provisioning profile automatically add in your Device
How to create a IPA
1) Set the Provisioning Profile in your Xcode --- go to Build Phase -- code signin
if you sucessfully set your Provisioning Profile in your xcode then
2) go to Product --Archive ...with this you have to create the ipa
Sync the IPA in your itunes and install the app in your Device
SECOND WAY TO INSTALL THE IOS APP IN IPHONE,IPAD,IPOD,
however there is also a Simple way to install the IPA
1) if you create the IPA successfully then please open the www.diawi.com
2) Upload the ipa in diawi.com after your IPA is uploading successfully a send button will be appear
so you have to click the send button a Link will be appear ,
3) Open that link in your iphone,ipad, safari browser , with this you have to install your App without Syncing in itunes
Please follow the steps here regarding the provisioning profile:
http://goo.gl/1Knh2t

Where to find Application Loader app in Mac?

I have downloaded applicationloader_1.3.dmg and installed in the destination Macintosh HD.
The messages show The installation was successfully done. But, there is the ApplicationLoader app that doesn't appear anywhere.
How to install and get the Applicationloader app in Application->Utility folder?
I'm using Mac OSX version 10.6.8.
In more modern versions of Xcode, you'll find "Application Loader" under the "Xcode" menu (the first menu to the right of the Apple in the menu bar) and it'll be hiding in the "Open Developer Tools" submenu.
As of Xcode 11, "Application Loader is no longer included with Xcode", per the Xcode 11 Release Notes:
Xcode supports uploading apps from the Organizer window or from the command line with xcodebuild or xcrun altool. Application Loader is no longer included with Xcode. (29008875)
The Xcode Help page, Upload an app to App Store Connect, explains how to upload from the Xcode Archives Organizer.
Transporter
In October 2019, Apple announced the Transporter app for macOS, now available in the Mac App Store.
With Transporter you can:
Upload your .ipa or .pkg files to App Store Connect.
View delivery progress, including validation warnings, errors, and delivery logs, so you can quickly fix any issues.
See a history of past deliveries, including date and time.
This was previously a download from iTunes Connect for qualified partners (FAQ)
Notes on Using the Command Line
I've uploaded non-Xcode builds with xcrun altool --upload-app -f path-to-build.ipa -u your-account#apple.com. It won't show any progress, but you can see the network traffic in Activity Monitor. It finishes with No errors uploading 'path-to-build.ipa'.
See xcrun altool --help for usage. If your account has 2FA enabled, first visit https://appleid.apple.com/ and generate an app password.
You can download Application Loader from Itunes Connect.
Go to https://itunesconnect.apple.com/ , sign in, and click on Manage Your Apps.
There is a Download Application Loader link at the bottom.
At the time of writing, this link is: https://itunesconnect.apple.com/apploader/ApplicationLoader_3.1.dmg
I didn't find application loader anywhere, even in spotlight. You can open it through xcode.
Go to Xcode > Open Developer Tools > Application Loader
With Xcode 11, Application Loader has been removed. The Mac App store now has an app called Transporter.
https://apps.apple.com/us/app/transporter/id1450874784?mt=12
For anyone finding this now (23/09/2019) Application Loader has been removed from Xcode.
If you have built the application in Xcode you should be able to follow these instructions to upload your and distribute your project Upload an app
I am not sure what to do if you have been given a .ipa file, for example when building an Expo project, I'll update this post when i have an answer.
In the mean time more info can be found here.
Developer Apple - Whats new
application loader page:
https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/resources_page
application loader 3.1:
https://itunesconnect.apple.com//apploader/ApplicationLoader_3.1.dmg
I have found in following way :
Go to https://itunesconnect.apple.com/ , sign in
Click "Resources and Help"
you can find it by going to xcode > open developer tool > application Loader
You can also upload an app using the Application Loader tool by using it from the terminal:
MacBook-Pro:~ denis$ altool --upload-app -f "ios-app.ipa" -u "applestore#email.com" -p "yourpassword"
To use altool from anywhere in the terminal you could add it to your
PATH env variable by typing in terminal:
MacBook-Pro:~ denis$ export PATH=$PATH:/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/
MacBook-Pro:~ denis$ source ~/.bash_profile
Now you can upload your app binary with the Transporter app.
You can download Transporter from Mac AppStore Here
Here apple mentioned its used for uploading.
Application Loader now moved to tools
https://itunespartner.apple.com/en/apps/tools
It's in Applications > Xcode > Show package contents > Contents > Applications - but easier to open from Xcode!
This error had me really scared because I make my app using Adobe AIR, so once my AIR builder (FDT) tells me it has packaged it, I really have very little I can do if it fails.
I got this error when I uploaded my ipa through the Application Loader (v3.0 [620]) that I had downloaded from the link they provide when submitting the binary. I tried uploading the ipa through Xcode > Application Loader (v3.6 [1020]) and it worked fine.
I am going to write to Apple about this once my blood pressure returns to normal.
With Application Loader now gone from Xcode I had a look around to see how to upload an .ipa file, since I use UE4 and I don't touch Xcode at all during development. Turns out it's pretty hidden away, You need to go to Window, Organiser, Archives. The archive will only appear if you ticked the "Generate Xcode Archive Package" tickbox in Project Settings. Then you just click Distribute and it's just does it.
Application Loader has been removed from XCode 11, the alternative app is Transporter. you can download it from the appstore with the following link:
https://apps.apple.com/ca/app/transporter/id1450874784?mt=12
Now you can use Transporter app instead of Application Loader.
Download Transporter App from this link: https://apps.apple.com/us/app/transporter/id1450874784?mt=12
If anybody is still looking for the Application loader, it has been removed and replaced with Apple Transporter. Download from the mac AppStore.

Resources