how to distribute the .ipa files to the TestFlight using fastlane - xcode

I have .ipa file which I generated using Xcode utility, so now I want to upload this .ipa files in to the TestFlight using fastlane, can anyone help me the steps on this.

First of all you should make sure that the bundle identifier exists both on Apple Developer Center (to sign the app) and in App Store Connect (to push the app to the store).
Than you just need to implement Pilot which is Fastlane action to push ipa files to Testflight.

Related

How to upload Android App Bundles (.aab) on playstore for already published App

I have already published my app on the playstore with keytore as .apk I am used to. But because of google notice that publishing App as APK will be obsolete in few months to come.
So, in a new upgrade of my app, I wish to upload it as app bundle. So while generating signed App bundle, with my app's keytore, I discovered that it generated the app bundle as (app-release.aab) and exported another key as private_key.pepk So when i revisited playstore console to upload the signed app bundle, I didn't see where to upload private_key.pepk.
So, I became worried. Not knowing what to do. I don't want to make a costly mistake. That is why I'm here for you to give me step by step method on how to continue from where I stopped.
Thanks for helping me..
EDIT:
I clicked create new release and then I clicked on opt in but didn't know which option to choose and proceed
Opt in to Play App Signing
Export and upload a key from Android Studio
Export and upload a key from Java keystore
Export and upload a key (not using Java Keystore)

Is it possible to generate .ipa file for iOS without "Apple Developer account" and without an Apple Device?

I'm trying to run the command below but it says "Failed to create provisioning profile. There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it."
flutter build ios
Does anyone knows if is possible to build the iOS files without a Apple Device registered?
*I've setted up a VirtualBox with [macOS Catalina 10.15.3] + [xCode] + [Android Studio] + [Flutter] in Windows
It's possible to create an unsigned iOS .ipa without code signing.
Run the Flutter app first to an iOS simulator to generate iOS build on /build/ios.
Create a folder anywhere you like with
the name Payload - note that this is case sensitive.
Navigate
to /build/ios/iphonesimulator and copy Runner.app to the
Payload folder you've created.
Compress the Payload folder with
default .zip format
Rename Payload.zip to Payload.ipa
Installing the .ipa file to an iOS device is a different topic, however.

How to upload IPA now that Application Loader is no longer included in Xcode 11

I'm a little afraid to ask this question because the problem seems huge to me and yet I don't see anyone panicking about it. I'm a little afraid to sound crazy, but I'm going to go for it :
As we can read on Apple's post Submissions Update :
Starting with Xcode 11, Application Loader is no longer included in
Xcode. For details on how to upload your apps to App Store Connect using Xcode, see Xcode Help.
It is legitimate for people and organizations using the Phonegap build service to ask themselves how to put our IPA online knowing that we do not have access to the Xcode project file.
Apple gives us a new tool called Archives organizer but as we can read on the documentation:
In the Archives organizer, select the archive you want to upload, then
click Distribute App.
Okay, where's my archive? Is an IPA considered an archive? How do I integrate my IPA into this software?
Maybe I haven't found the solution that is right in front of me but for the moment I'm especially afraid of the future of Phonegap build if there is no alternative tool for the Application Loader.
So, did you even facing the same problem and do you find a solution ? (excepting a migration to Cordova)
I know that hybrid applications don't have a long life ahead of them because of the depreciation of UIWebView and the low compatibility of cordova with WKWebView but I can't believe Apple decides to kill Phonegap build without a warning. And as usual, Phonegap's teams are not very talkative.
Edit
Well, It is possible to transfer your ipa with the following command but did it is worked because I have the old version of Xcode (10) and so it will be deprecated when Xcode 11 release ?
xcrun altool --upload-app --type ios --file "path/to/application.ipa" --username "YOUR_ITMC_USER" --password "YOUR_ITMC_PASSWORD"
Apple today announced that it is making a new version of its Transporter developer application available on the Mac App Store. This app allows developers to easily upload files to App Store Connect and more.
Available in the Mac AppStore
Transporter
November 2019 - the new "Transporter" app
You have to get, from the ordinary mac app store, the Apple app "Transporter". To be clear click the ordinary "App Store" icon, in the icon bar, on your mac, as if you were an ordinary consumer and not a dev. Search "Apple Transporter" and get it. ("Transporter" is totally free).
In current Xcode. As usual, increase the build number, disconnect tethered phones, and click "Archive" as usual. (Don't forget to not-select a simulator!)
When complete, click "Distribute App" in the usual way. Do select "App Store Connect" in the usual way. But. Then select Export ... do NOT select upload.
You will be asked where to save to - be sure to choose your Desktop.
A folder (not file) will be left on your desktop. Notice the current time of day to distinguish the correct folder. (It's annoying when you get the wrong folder!)
In the folder is an ".ipa" file. Everything else is NOT used / of no value whatsoever.
Launch the "Transporter" app. Simply drag only the ipa file into the Transporter app.
Useful Transporter app Tip:
Be sure to look at the Preferences of the Transporter app. It is possible to get rid of (one) of the useless "OK" clicks.
--
Historic notes -
At one point, around Sept 2019, incredibly, appstoreconnect was *not working in Safari for some months. You had to use Chrome. (No, really!) This is now all irrelevant.
I am using XCode 11 GM Seed 2 (11A420a).
I've tried
xcrun altool --upload-app --type ios --file "path/to/application.ipa"
--username "YOUR_ITMC_USER" --password "YOUR_ITMC_PASSWORD"
But it didn't work for me as it were generating an error code like "Error Domain=ITunesSoftwareServiceErrorDomain Code=-22014.
I generated an App Store API Key (see https://appstoreconnect.apple.com/access/api), saved in in my ~/.appstoreconnect/private_keys directory and made this bash script named applicationloader.sh:
#!/bin/bash
APPFILE=$1
set -euo pipefail
# key is in ~/.appstoreconnect/private_keys
KEY="<the key part of the AuthKey_key.p8 file>"
ISSUER="<YOUR ISSUER ID>"
xcrun altool --upload-app --type ios --file $APPFILE --apiKey $KEY --apiIssuer $ISSUER
Then (after a chmod a+x applicationloader.sh) I just type
applicationloader.sh app.ipa
and the app uploads to testflight no problem.
Hope this helps.
From Console you can do:
xcrun altool --upload-app --type ios --file <Path-to-ipa> --username <Username> --password <One-time-pass>
Remember to use the one time pass from https://appleid.apple.com/account/manage and to omit the double quotes on PATH, USERNAME, and PASSWORD
Apple transporter
There is also a new app that Apple released that allows developers to send files to App Store Connect
https://apps.apple.com/us/app/transporter/id1450874784?mt=12
Apple Just launched transporter app to submit app to itunesconnect
https://apps.apple.com/us/app/transporter/id1450874784?mt=12
Enzo's answer works like a charm. But for those who are confusing like me you need to generate an app-specific password here: https://appleid.apple.com/account/manage
(I know, I'm responding to Enzo's answer here but I'm unable to comment)
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)
xcrun altool --upload-app --type ios --file <Path> --username <Username> --password <One-time-pass>
Apple also launched transporter app to upload direct ipa to itunes connect.
What exactly does this mean "the key part of the AuthKey_key.p8 file"
Sorry unable to comment, why everything these days so bloody annoyingly complicated when it needn't be
Apple Has introduced Transporter App on App Store you can download it and use it instead of Application Loader
Okay, where's my archive? Is an IPA considered an archive? How do I integrate my IPA into this software?
The archive section will create your IPA file, and let you upload it directly to the apple developer area, ready to submit to the store.
In Xcode, from the menu at the top click "Product" and then "Archive". Follow the onscreen instructions. At this point your IPA file is created. You can choose to automatically distribute your file to the appstore, but I suggest clicking the "Validate App" option first, which will re-request the correct certificates/provisions and give you a summary of any issues. If no issues you can click "Distribute App" and it will upload the IPA file to your Appstore Connect (formerly iTunes Connect) area.
Here are 3 options for 2020 upload tools from apple
https://help.apple.com/app-store-connect/#/devb1c185036
Upload your app binary files with Xcode
Upload your app binary files with altool
Upload your app binary files with the Transporter app

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

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.

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

Resources