I developed a Cordova/ionic Universal Windows app. Everything works perfectly in debug mode in the simulator and a real device. After i make a release build (Store -> Create app packages...) and start the release build or start a new debug session the app starts a "about:blank" page after the splash screen has disappeared. I have to run "ionic build windows" again to see my app. I hope anyone is familiar with this problem, its driving me crazy!
Cordova CLI: 6.0.0
Ionic version: 1.2.4
Ionic CLI version: 1.7.14
Ionic app lib version: 0.7.0
Related
Trying to install webdriveragentrunner app on a real device. When I run the xcode, get success however the app not appears on the device. Why can tha be?
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.
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.
I am writing hello world on nativeScript at AppBuilder platform. I created new project from template. It works perfetct with companion app (Run->Build->NativeScript) but i can't:
1) run it on iOS or android emulator
2) build app package (Run->Build->App Package)
Thanks much
From the browser you can't run on native emulators, but you can deploy to the NativeScript companion app for Android/iOS, and you can also build app packages for Android/iOS.
To build iOS app packages you need to register for the iOS developer program and register your provisioning profiles and certificates with AppBuilder before you can create app packages. If you have any other questions related to this let me know.
I want to make phonegap app in netbeans 8.0
I have my tablet connected with USB and I can run my app on tablet from netbeans.
Problem is that I can't debug. All console.log massages are ignored in netbeans.
How can I have debug infos in netbeans?
You left some details. What OS (Android, iOS...)? Which OS version? What Cordova version do you have?
For Android, you must have Android 4.4+ and then you will be able to debug Cordova application (NetBeans does not support Phonegap). Now important is also version of Cordova. With Cordova 3.3, nothing else is needed. However with Cordova 3.4, the android manifest file has changed and it was too late to handle this change in NetBeans 8.0. Have a look at this issue 242320 how to enable debugging with Cordova 3.4+ in NetBeans 8.0
Now if you have iOS, you need to be on Mac and have proper iOS developer certificate.