I have an Ionic 3 App using Enterprise Distribution for a client and of course Apple likes to change settings on their new iOS. Everything was working fine on iOS 11 and when a client-user upgraded to iOS 12 their app completely broke and could not re-download.
Steps I've Tried:
Check iOS Provisioning Profile Status
Rebuild App in Xcode 10.0
Archive and create new manifest and .ipa file for app
Rebuild app in npm using ionic cordova build ios --prod
Update any plugins that we're needing updates using npm outdated
Commit and Push to Production branch using ionic Deploy
Everything I've tried allowed me to build the app successfully and I was able to build the app locally on my device via Xcode, but as soon as I put the .ipa file on our server the app will not successfully download.
I have a feeling it may be a particular setting in Xcode, but I'm stuck right now. Any help would be appreciated.
Edit: After the update of Xcode 10, the app would no longer build successfully after running ionic cordova build ios
So the issue was never apparent, but I somehow fixed the issue by removing the other branch from git and Ionic deploy and kept the Production branch active on the latest commit. I also created the certificate profile on Ionic Deploy using the Enterprise Developer Certificate and Provisioning Profile and packaged my app. I used the .ipa file from Deploy and threw it on the server and it worked like a charm.
EDIT: I finally found documentation on why the app breaks. When Xcode 10 was released, Apache Cordova did not and still does not have support for iOS if the user has Xcode 10 downloaded to build in the terminal. Link provided here: Xcode 10 Support.
When building the app using ionic cordova build ios or ionic cordova run ios
You must run it like this: ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0". More information in the link provided.
EDIT: More possible answers can be found here. In some cases, users are experiencing similar yet different issues.
Related
So I received this react native project, as a devops I have to get the app out of it and deploy to play store as well as Apple AppStore. I have successfully gotten the android apk but I have been having issues getting the release bundle for iOS. It says the project was built with a higher version of Xcode (probably Xcode 12), but I am using Xcode 11. Please is there anyway around this since I can not install Xcode 12 on my Mac due to it being outdated.
I am getting some weird issue while installing ios app.
I have migrated ios app from one account to another account and then I have installed that app from app store on device.
So now I have to push an update from a new account, so when I build an archive with updated build number I am getting issue which is --
There was an internal API error.
Using cordova for developing apps.
Please help on this !
When I debug and deploy Xamarin.iOS native app to iOS simulator 8.1 through XS(in Mac), it installs app to simulator but it closes automatically after installation. Though app deployment on iOS simulator 10 works fine. This problem is occurred after updating XS to latest version and iOS SDK update to latest version. My iOS app deployment target is 8.0. Also I made sure that Entitlements.plist is empty.
NOTE: Xcode 8 does successful installation on iOS simulator 8.1 and works fine.
Anyone knows why this problem occurs and how to resolve it ?
Clean the project, recompile it and run on simulator.
Additionally, open simulator logs using Cmd + / hotkey and see what exactly is being printed to the simulator logs when you launch your app.
I've seen similar problems which were related to the app crash on launch actually.
PhoneGap Build shows successful build and log for Android, shows updated version on the PhoneGap Build web page, but when I install Android shows old version and the APK file is also old. I know for sure because I just put 2Mb of dummy images and the sise of the APK hasn't changed, so the problem is with build
Edit: it was a 1-day glitch, it works OK now
we see this problem every now and then. Our solution to it is to remove and ad back in the affected platform. Assuming you are also using the latest cordova tools do the following:
cordova platform remove android
cordova platform add android
I have an app built in XCode 4.6 and I'm trying to install it onto an iPad with iOS 5.1.
In the target summary I have set the deployment target to 5.1 and in the build settings the base SDK is set to latest (6.1). From what I have read this should work but when I install the app via the IPA file and iTunes the app starts and then flashes off.
It runs fine if I build and install through Xcode.
Is there something I'm missing here? Am I incorrect in thinking it will work if the base SDK is iOS 6.1 but the deployment target is 5.1?
I did double check the profile stored against the release configuration and found it was incorrect. So Kevin was right. Thank you.
It had been my understanding up til now that a profile error would prevent installation altogether. I know better now.