Problem Description
note: not a construct2 .capx bug, but a config.xml issue after exporting for cordova and ios . This started after ios10 released. The config.xml on the export does not have settings that iOS10 now uses. Found a solution this weekend. Maybe the settings can be included in the export for cordova when building for iOS.
C2 Cordova build will not run on iOS10. The app was working fine until upgrading to iOS10. It will not run in the simulator with xCode 8.
Another user has reported the same issue at:
https://www.scirra.com/forum/game-fails-to-launch-with-ios-10-cordova_t181911
Cordova build on iOS 10 is working with another js framework, but it is are using a cordova plugin other than from the cordova template that is auto created. They also don't have another config.xml file either, so there is a difference.
Attach a Capx
https://www.dropbox.com/s/62pnctl1ywtzu ... .capx?dl=0
Description of Capx
has initial layout that displays a text box with the word text
Steps to Reproduce Bug
- Export project -> Cordova -> default settings -> default settings
- oSX - cordova create testApp test.app testApp
- cordova platform add ios
- copy exported folder to www folder
- cordova build ios
- run xcode8, run on any simulator device running iOS10
Observed Result
The app hangs at start up. the follow is the last in the console:
Console runs this spot and hangs:
testApp[8514:183151] Finished load of: file:///Users/me/Library/Developer/CoreSimulator/Devices/160A645A-118A-4AAB-B9D8-5BD5DC905CF3/data/Containers/Bundle/Application/A9BC6004-D6B1-45BD-8B00-62FE7DAB2A28/testApp.app/www/index.html
This is happening on my production application in the app store which worked pre ios10. No changes were made between then.
Expected Result
the app should start
Affected Browsers
- this is related to cordova in iOs
Operating System and Service Pack
Win 7, sp1, OSX 10.11.6
Construct 2 Version ID
Release 233