(ios building webview+) I open the game after the compilation, and there is a white screen and such an error
Error CorddovaLocalServer
what is the problem ?
(ios building webview+) I open the game after the compilation, and there is a white screen and such an error
Error CorddovaLocalServer
what is the problem ?
Ok, good.
I experienced the same issue for my latest released game.
Just to be sure, are you using any third-party plugins that would need a Cordova plugin for building the iOS app?
Anyway, there is a very long story behind that black/white screen issue on iOS. It’s all happening since Scirra added the WKWebView on iOS option at export. You may read that post if you want to get more information: Black screen issued when test flight on iOS.
Regarding the solution, I just disabled WKWebView for iOS. My game is still fast, and the IPA size isn’t heavier. So, for now, that’s kind of a good work around.
Here is what I did:
this.isWKWebView = !!(this.isiOS && this.isCordova);
. It basically enables WKWebView for your game. You may disable it by changing that line of code with: this.isWKWebView = false;
That’s basically how I made my game works on iOS and get over that blackscreen error.
If you want to see it live, head over: bikosaur.com.
I switched to Construct 3 back in December, and this solution also applies.
Let me know if you succeeded or if it failed.
Kr,
Antoine
I did as you wrote, but it gives an error, what version of constructor 2 do you use?
here it is correctly made?
I told you I’m now using latest version of Construct 3.
I’ve tried this solution with my latest C2 build, and it works.
Are you sure you use the latest stable version of C2?
What was the error it returned?
Yes, your default settings looks good except you should probably use a 3 digits version like x.x.x (e.g.: 0.0.34).
What are your iOS settings?
And, did you add all necessary cocoon plugins?
What is the error you got from cocoon while you compile?
iOS settings look good.
May I also ask you to provide a screenshot of the installed plugins, please?
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.