iOS multi-target support for Ionic? - ios

I'm using Ionic 5 to create multiplatform applications and Testflight to distribute iOS app to testers.
I would prefer Testflight users to not directly testing on production server so I found this article which suggests submitting a different iOS target for Testflight.
Is there any way to make ionic works with multi target iOS apps?
Ideally it should be like:
ionic cap copy ios --prod to copy to the "App (Production)" target
ionic cap copy ios to copy to the "App (Testflight)" target.
Thanks

Related

How to open expo project in xcode

I have a react native project that I finished building and when I try to open it in xcode it is does open the project.
I created a react project by using the command npx create-expo-app ryppe I developed and built the complete applicaiton.
I am trying to open the project in xcode so that I can create a production version of the app in order to submit it to the apple developer console for testing.
Right now... I build the project and submit the project using
eas build --platform ios
and
eas submit -p ios --latest
The app crashes when ever I run it on test flight so I am not sure if it is failing because I did not build a production version through xcode or of it is something wrong with my code...
Does anyone know if I have to build the project through xcode in order to actually submit my project to apple developer.

What are the steps to build an PWA iOS App?

I have developed a PWA, I was able to build the APK for android and successfully publish it in play store. But for iOS I was not able to build the app.
I searched over the web and found https://www.pwabuilder.com/ which provides only the macOS project. Not the iOS one.
This is for a critical release. Will be really helpful if someone can guide how to build an iOS app for my PWA.

Upload cordova app to the Apple store with Xcode 10

I noticed that Cordova is not compatible with the latest version of Xcode 10. To test the app I use this command:
cordova run ios --buildFlag='-UseModernBuildSystem=0'
and it works all correctly. I would like to know if it is possible to load applications built with the old Xcode system on the app store.
Using XCode legacy build system works completely fine when uploading to the AppStore. I still maintain an ionic 1 project that way.
Also, might I suggest checking out the release notes on the new build system which might answer some of your questions: https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes/build_system_release_notes_for_xcode_10

Build iOS app from Cordova Command Line

When building and uploading a iOS app our approach is like this.
Create the mobile app and put the Cordova configuration
run cordova platform add ios then basically load the generated folder / project into XCode
Configure and select the Signing on XCode
Use XCode to build the iOS app and upload the Archive to TestFlight
In what way all these can be done with the Cordova command-line?

Run release build version using cordova iOS

I want to test the release build version on my iOS device directly using this command:
cordova run --buildConfig=build.json ios --release --device
But not working, is anybody here manage to test the release build version running on device? Thanks in advance.
Or let say the worst case, we can't do it. Is there any guarantee that below command:
cordova build --buildConfig=build.json ios --release
will build the release version of our app, when we open the xcode project on xcode?
My point is I need to get the release version build by cordova, not by Xcode.
Likely not guaranteed, but that's just a guess.
I'm not sure why you need Cordova to put together a release build—in order to submit to the app store you will want to use Xcode to archive your app. I have no idea if Cordova can do a proper archive but personally I wouldn't rely on it because at least Xcode should be up to date on what Apple demands from the build. Especially with automatic code signing. Cordova may lag in its implementation when Apple changes things.
One little thing, when a .ipa is signed for distribution through the app store, you cannot side load it onto a device. You can only side load .ipas that are signed for development.

Resources