Deploy .ipa file in App store generated by Phonegap? - ios

I have created an iOS apps using Phonegap. I also registered with apple developer program and generated all required certificates. Now, I want to deploy this .ipa file to app store.
What I have to do now to publish this .ipa file to app store?

Here is an overview of how to submit a PhoneGap app to the App Store aka iTunes Connect. Amazingly, PhoneGap doesn't seem to provide these instructions.
In the iOS Provisioning Portal, create a distribution certificate. As part of this process you will use Keychain Manager to create a Distribution Certificate. Export this certificate to Certificates.p12 by right-clicking on it and choosing Export. Record the password because you will need it every time you do a build on build.phonegap.com.
In the iOS Provisioning Portal create an app ID for your app.
Create an App Store distribution profile and make sure you use the same private key/certificate to sign it as above. Download it.
Now go to build.phonegap.com and go to your iOS build, and "add a key ...". Call it "App Store" and upload the .p12 file and the .mobileprovision file.
Rebuild and download the IPA file from PhoneGap Build.
Make sure that your app is set to Ready to Upload Binary in iTunes Connect.
Upload the app using Application Loader (see also Where to find Application Loader app in Mac?) which comes with Xcode. You will upload the IPA file.

Once you've got the .ipa file ready to submit, you just need to visit iTunes Connect at https://itunesconnect.apple.com, create a record for your app, and fill in the required information. From the official documentation:
The record in iTunes Connect includes a field for a bundle ID; the value you place in this field must exactly match the bundle ID for your app.
Some Apple technologies, including Game Center and In-App Purchase, require that an iTunes Connect record be created earlier in the development process. For example, with In-App Purchase, you need to create the app record so that you can add the details of the items you want to sell. This content needs to be created before the development process is complete so that you can use it to test the code you added to implement In-App Purchase.
So it should mostly just be a matter of submitting your app via iTunes Connect and waiting for approval.

Related

Users are not able to download app via firebase App Distribution – flutter

I'm starting to distribute my app to some testers via Firebase Distribution (IOS)
What I did: opened project in Xcode -> archive -> distribute app -> Ad Hoc -> .ipa file
dragged .ipa file to the informed place.
First, I added my email, followed the steps and was able to download the app.
But, now I'm not being able. When the users accepts the invite and download the profile in "general", the app download isn't available. They get the message:
Registered device! The developer now needs to update their app to run on the device. You will receive an email when the app is available for testing.
The, I get an email with a UDID from each user.
I don't have any idea what to do.
Did I do something wrong? its it possible to the user automatically have the app available for download?
You did nothing wrong, this is how Firebase works. As long as you're on iOS, it is not possible to have the app automatically available. (If it were possible, you could use Firebase instead of the App Store, and Apple wants to avoid that).
You need to do the following:
Go to Apple's developer site and add the device(s) to your test devices list. It should be here: https://developer.apple.com/account/resources/devices/list and you'll need to sign it with your Apple ID. If you are part of multiple developer teams, make sure you select the right one in the top right of the screen.
Add those new device(s) to the Ad Hoc profile that you are using for building this device. If you check the list here https://developer.apple.com/account/resources/profiles/list there should be a profile with the ID of your app
Build the app again with your updated profile. How you do this will depend on your build process
Upload the new build to firebase. (It is possible to do this automatically if you are using a tool like Fastlane). Make sure your tester has access to the new build: this can be done in the Firebase UI by adding testers or groups to the build. (It can also be done automatically if you are uploading automatically)
Your tester should receive an email about the new build. When they check the App Distribution app that they have installed, they will see a list of versions with the newest one available to download

i need to share my iPA file to the tester without using testflight or fabric

we have an custom app (ex:Restaurant app) based on merchant requirement we will modify that app based on AppID's, differentiating all the apps. To get IPA for every app we need to upload it to test flight or fabric
Is there any alternative to generate an IPA(we have seen that android apps have this facility to generate an apk, so is there any possibility to generate IPA for IOS(instead of manually changing the Appid, Imageicon, Splashes, Appname)by keeping the app in server)
You first need to generate an Adhoc build, for that device id of tester's iOS device should be inserted in your developer account.
You can use https://www.diawi.com/ to upload your adhoc build and can share the URL with the testers.

Publish an outsourced app - iOS

I work in a government company that purchased the development(outsourced) of an iOS app and I was designated to publish at app store. What is the best way to receive this app from the developer and do it? Does he has to package(.app) and send to me?
The developer should send you an .xcarchive of the build. Once you have the .xcarchive, you can use Xcode to publish to the store. Open Organizer (Xcode > Window > Organizer), select the .xcarchive and click "Upload to App Store". Xcode will walk you through a few steps to package the .app that's inside the .xcarchive into an ipa and start the upload process to iTunesConnect.
Beforehand: You will need to make sure you have the correct code signing certificates and provisioning profiles set up in your developer account. You will also need to create a record in iTunesConnect for the app to upload to.
take a look at this answer: Is it possible to let somebody else upload and distribute my app in Apple's App Store?
In fact you have two options, also depending on your expertise and contract with the developers, but in the end you need a (company) developer account if you want that you are also listed as the developer of the app.
If that is not the case you should let the developers deploy the app to the appstore on behalf of your department.
IF you want to be also listed as developer of the app you have to do it like suggested in the link above, you create an account and add the external developer as a team member - but this will be more complicated.

iTunes Connect-Transfer app between developer accounts

I have an app with all the app id, certificates, provisioning profiles and iTunes connect using an apple developer account. Status is prepare for submission.
Now I want to change the entire thing into another apple developer account. But, according to apple documentation, we have to have at least one version released into app store. But that is not true in my case.
So I would like to create app id, certificates, provisioning profiles and iTunes connect using new apple developer account and upload the build into iTunes using different bundle identifier but same build.
Is that possible to create different iTunes record with different bundle identifiers using different apple developer accounts for the same build?(Will iTunes check the ipa file if it already exists somewhere? I mean the source code is same in this case)
Do I have to change the app name to create new iTunes record or can I use the same app name?
Is there a better way to change the ownership instead of creating everything again?

Publish iOS app to App Store on behalf of client

I have
An apple id
The source code
A Distribution Certificate generated for my apple id using client's developer portal
A Provisioning profile for the newly created App ID and my distribution certificate
My client dont want to share his apple id credentials with me. I am able to archive the product in Xcode, but am not able to submit it to App Store.
Can i directly submit it to the store with the above details i've got?
Or Can i build IPA file and share it with client, so he can submit to App Store?
Is there any other alternative ways we can submit the app to store (other than sharing his credentials)
Kindly explain the answer (with step by step guide if possible).
Thanks
For those who needs to do the same on behalf of clients, here are the steps i've followed...
What i had
An apple developer account (with no Developer Program Enrollment)
What client had
An apple developer account (with Apple Developer Program Enrollment for Company)
As far as app distribution is concerned, apple have 2 systems: Member Center (for Certificates, Profiles, App IDs etc) and ITunes Connect (for publishing your app to app store and further management of the app).
I need access to both ITunes Connect & Member center for distributing on behalf of client.
In Member Center, client should give you Team Admin Role. [steps]
In ITunes connect, client should give you Developer Role / Admin Role for the app. If Developer Role, given u can only upload the build, to submit app for review you'll need to ask the client. If Admin role, basically you can do almost everything upto Submitting the app for review. [steps]
Now you can create certificates, profiles, app ids through Member Center (you can create certificates & profiles in Xcode also. But App IDS should be created through Member Center).
Create App Record in ITunes Connect using the same bundle ID used for App ID creation.
Upload your build through Xcode
Submit for review through Itunes Connect
This is what i did for submitting the app. If you find any mistakes/better alternatives, pls comment below, so i'll update the answer.
You'll need to do the following:
Build the app using the distribution cert of the client
Archive the app using XCode (it's in the same menu as the build
options)
When the archive is done it will open the Archive
Organizer
Select the newly created archive and export it. The
first option in exporting is the 'Save for iOS App Store
Deployment'.
This will create a directory on your mac that contains the bits
and pieces your client will need to upload it.
Zip that directory and transfer to your client. They should be able
to use the web-interface in iTunes connect to upload the app and
complete the app submission process.
... Or Can i build IPA file and share it with client, so he can submit to App Store?
To answer your question, you can build the app and provide to your client for them to submit the app.
For building the app (.ipa) you need to get the Provisioning profile & Certificate (.p12) corresponds to Apple developer program from the client.
I have done this for many of our clients and solution is working. In fact few of the clients they have an internal portal with the predefined process.
In case, if anyone of you have queries on this response comment below and I shall try to answer.
Note: when signing remember to choose use local signing assets in order to avoid giving apple id credentials.
The easiest way would be to have your client add you under User and Roles in iTunes Connect. There is a developer role now that can limit access to a certain app and restricts it to the below:
As of Summer of 2017, Which is after this was initially asked) The developer and the app producer name must be the same. Thus just have them spend the
$99 a year and get a Dev account that they add you to to Develop / manage.
Here is a short and detailed explanation: [1]: http://www.goodbarber.com/blog/your-client-s-developer-accounts-vs-your-own-a856/
Here is how to tranfer if already in app Store under your account:[1]: https://support.appmachine.com/hc/en-us/articles/360000012284-Transfer-your-app-to-another-iOS-Developer-Account
You need to use IP distribution with iOS to build IPA to upload to the App Store
According to the description the simplest way would be to submit the app on your own behalf and as soon as you pass the certification to transfer the published app to your client from iTunes Connect dashboard.

Resources