This is a Cordova issue. You probably manually built the iOS App with it. Try to update Cordova to at least version 6.0.0 , and use the cordova ios prepare command.
EDIT:
What I meant is update cordoave IOS to 6.0.0 but this release have not came out yet. So:
No I don’t sorry. Well UIWebView should still be present in the code until cordova-ios 6.0.0 so maybe it is currently impossible to publish new cordova apps on ios?
I have the same issue, do you have more news about it?
I have been trying these last days with the latest versions of cordova, but still don’t work, and when I add the code lines that you mention here, my application does not start, just a black screen appear.
Any updates on this? When I do WKWebViewOnly I get black screen at launch and can’t play my game. Is this a problem with cordova or Gdevelop? App store doesn’t accept UIWeb
Since cordova-ios 6 we don’t need cordova-plugin-wkwebview-engine,
because everything is build in cordova-ios core.
I tried to build platformer example.
I modified config.xml and made all necessary steps.
Then I opened xcode project file and run on emulator.
App was build without errors and warnings.
I had a white screen on the emulator for a second,
then black and nothing else.
I think the problem is:
2020-08-28 00:35:41.696029+0200 Platformer[4488:386478] Could not load the “LaunchStoryboard” image referenced from a nib in the bundle with identifier “com.example.platformer”\
Any ideas ?
My output:
2020-08-28 00:35:41.645417+0200 Platformer[4488:386478] Apache Cordova native platform version 6.1.0 is starting.
2020-08-28 00:35:41.645650+0200 Platformer[4488:386478] Multi-tasking → Device: YES, App: YES
2020-08-28 00:35:41.696029+0200 Platformer[4488:386478] Could not load the “LaunchStoryboard” image referenced from a nib in the bundle with identifier “com.example.platformer”
2020-08-28 00:35:41.905611+0200 Platformer[4488:386478] WF: === Starting WebFilter logging for process Platformer
2020-08-28 00:35:41.905777+0200 Platformer[4488:386478] WF: _userSettingsForUser : (null)
2020-08-28 00:35:41.905907+0200 Platformer[4488:386478] WF: _WebFilterIsActive returning: NO
2020-08-28 00:35:41.920859+0200 Platformer[4488:386478] The preference key “AllowNewWindows” is not defined and will default to “FALSE”
2020-08-28 00:35:41.924659+0200 Platformer[4488:386478] The preference key “MediaPlaybackAllowsAirPlay” is not defined and will default to “TRUE”
2020-08-28 00:35:41.930051+0200 Platformer[4488:386478] WF: _userSettingsForUser : (null)
2020-08-28 00:35:41.930190+0200 Platformer[4488:386478] WF: _WebFilterIsActive returning: NO
2020-08-28 00:35:41.932204+0200 Platformer[4488:386478] The preference key “AllowBackForwardNavigationGestures” is not defined and will default to “FALSE”
2020-08-28 00:35:41.932367+0200 Platformer[4488:386478] The preference key “Allow3DTouchLinkPreview” is not defined and will default to “TRUE”
2020-08-28 00:35:41.932485+0200 Platformer[4488:386478] CDVWebViewEngine will reload WKWebView if required on resume
2020-08-28 00:35:41.932599+0200 Platformer[4488:386478] Using WKWebView
2020-08-28 00:35:41.933082+0200 Platformer[4488:386478] [CDVTimer][console] 0.095963ms
2020-08-28 00:35:41.933303+0200 Platformer[4488:386478] [CDVTimer][handleopenurl] 0.079036ms
2020-08-28 00:35:41.935289+0200 Platformer[4488:386478] [CDVTimer][intentandnavigationfilter] 1.863956ms
2020-08-28 00:35:41.935508+0200 Platformer[4488:386478] [CDVTimer][gesturehandler] 0.077009ms
2020-08-28 00:35:41.935642+0200 Platformer[4488:386478] [CDVTimer][TotalPluginStartup] 2.735972ms
2020-08-28 00:35:42.987622+0200 Platformer[4488:386478] The preference key “AutoHideSplashScreen” is not defined and will default to “TRUE”
}
This solves my problem with the white / black screen.
I can see one downside, the game is slower, at least in the emulator, than before.
I use only ios simulator from Xcode,
i don’t have Iphone, certificate and appstore account,
I don’t know if this will also solve the problem with the message:
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted.
Zapchasegames, Leimota or Coldwin, Can You confirm ?
Can you search for “UIWebView” throughout the project?
This could be some old plugin that uses a UIWebView, even a README file, or in a comment somewhere. From what I have read, this phrase is simply searched when uploading the application to the AppStore
This solves my problem with the white / black screen when building with newest ios@6.1.1
I use only ios simulator from Xcode,
i don’t have Iphone, certificate and appstore account,
I don’t know if this will also solve the problem with the message:
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted.
Zapchasegames, Leimota or Coldwin, Can You confirm ?
Note: For Cordova iOS 6+ the following preferences are redundant(unnecessary). You can remove the following preferences from your project config.xml file.
9 - replace platforms/iOS/{AppName}/plugins/cordova-admob-sdk/GoogleMobileAds.framework by download folder (this is to pass ITMS-90809: Deprecated API Usage)
10 - open project by Xcode
11 - open CDVAdMob.m
11.1 - replace DEFAULT_BANNER_ID to yours pub id
11.2 - comment this line self.bannerView.bounds = bf (this is to show banner ad)