iOS 14.x и платформа Cordova iOS: больше ничего не отображается, кроме текста

#webview #host #ios14 #cordova-ios

#webview #хост #ios14 #cordova-ios

Вопрос:

У меня проблема, похожая на iOS 14. Я пробовал как с текущей версией Cordova 5.x.x, так и с новой 6.1.1, без разницы.

Приложение запускается, но в момент появления главного экрана ни изображения, ни что-либо еще не загружаются, отображаются только тексты. Единственное, что происходит, это то, что экран периодически мигает черно-белым.

У меня есть приложение, которое я создал с помощью RPG Maker MV, а затем с помощью этого руководства https://rmmv.neocities.org/page/01_11_06.html Мне удалось успешно перенести его на iOS до версии 13.7. Теперь с iOS 14.0 я получаю следующие ошибки:

 Your application might be rejected by Apple if you store too much data.
For more information please read "iOS Data Storage Guidelines" at:
https://developer.apple.com/icloud/documentation/data-storage/
To disable web storage backup to iCloud, set the BackupWebStorage preference to "local" in the Cordova config.xml file
2020-09-18 16:22:23.338371 0200 The Stranger[19593:446006] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID xxxxxxxx> xxxxxxxxxxxxx xxxxx xx
2020-09-18 16:22:23.394385 0200 The Stranger[19593:446006] Using UIWebView
2020-09-18 16:22:23.396781 0200 The Stranger[19593:446006] [CDVTimer][console] 0.072956ms
2020-09-18 16:22:23.396997 0200 The Stranger[19593:446006] [CDVTimer][handleopenurl] 0.045896ms
2020-09-18 16:22:23.398448 0200 The Stranger[19593:446006] [CDVTimer][intentandnavigationfilter] 1.309037ms
2020-09-18 16:22:23.398624 0200 The Stranger[19593:446006] [CDVTimer][gesturehandler] 0.049114ms
2020-09-18 16:22:23.398722 0200 The Stranger[19593:446006] [CDVTimer][TotalPluginStartup] 2.091050ms
2020-09-18 16:22:23.538489 0200 The Stranger[19593:446006] Resetting plugins due to page load.
2020-09-18 16:22:23.573205 0200 The Stranger[19593:446006] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.585137 0200 The Stranger[19593:446006] Failed to load webpage with error: The operation couldn’t be completed. (NSURLErrorDomain error -999.)
2020-09-18 16:22:23.588609 0200 The Stranger[19593:446006] Resetting plugins due to page load.
2020-09-18 16:22:23.589595 0200 The Stranger[19593:446006] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.660452 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.679532 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.681172 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.682216 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.683464 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.686978 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.688237 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.691343 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.694673 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.696115 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.697808 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.699445 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.700956 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.702411 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.703976 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.705426 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.848544 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.879554 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.880738 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.882365 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.883548 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.884872 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.885891 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.886837 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.887747 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.888932 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.890503 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.891660 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.905683 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:23.907627 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:24.156071 0200 The Stranger[19593:446006] PixiJS 4.5.4 - WebGL - http://www.pixijs.com/
2020-09-18 16:22:24.247957 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:24.249164 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.279530 0200 The Stranger[19593:446506] [aurioc] AURemoteIO.h:323:entry: Unable to join I/O thread to workgroup ((null)): 2
2020-09-18 16:22:25.292225 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.329316 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.330246 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.331025 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.332093 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.333119 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.334072 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.335199 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.336358 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.337450 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.338725 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.339760 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.340666 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.342065 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.342886 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.345483 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.442733 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.444177 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.445941 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.447277 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.448583 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.450072 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.451115 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.452440 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.453772 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.455007 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.586546 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.587656 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.588704 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.589610 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:25.879039 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:26.431780 0200 The Stranger[19593:446006] Finished load of: file:///Users/giovannialtrui/Library/Developer/CoreSimulator/Devices/0X97XA8A-5304-406X-XPDD-17626B4A14D6/data/Containers/Bundle/Application/694332C6-1FB7-46DE-XFBX-7A3A12FFD5F3/The Stranger.app/www/index.html
2020-09-18 16:22:36.826859 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:36.851983 0200 The Stranger[19593:446006] error JSON.stringify()ing argument: TypeError: JSON.stringify cannot serialize cyclic structures.
2020-09-18 16:22:36.852151 0200 The Stranger[19593:446006] error JSON.stringify()ing argument: TypeError: JSON.stringify cannot serialize cyclic structures.
2020-09-18 16:22:43.270954 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:43.336760 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:22:43.354899 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:23:01.264301 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
2020-09-18 16:23:01.347071 0200 The Stranger[19593:446272] nil host used in call to allowsSpecificHTTPSCertificateForHost
  

Комментарии:

1. Вы нашли решение этой проблемы?

2. привет @JobinsJohn нет … и, похоже, никто нам не помогает

3. Проверьте, есть ли какая-либо ссылка в вашем index.html который не возвращает данные или контент. Проверьте все файлы js, включенные или вызываемые на индексной странице. Я смог решить эту проблему, удалив одно из включений, которое вернуло 404.

4. привет @JobinsJohn, проблема в том, что я не могу понять, что. вы можете понять это на основе индекса, который вы видите ниже, и предыдущего сообщения, содержащего ошибки: Также я не понимаю, почему экран выдает непрерывные вспышки, которые затем останавливаются, даже если изображение не отображается. <meta charset=»UTF-8″> <link rel=»icon» href=»icon / icon.png» type =»image / png»> <link rel=»apple-touch-icon» href=»icon / icon.png»>таблица стилей» type=»text / css» href=»fonts/ gamefont.css»>

5. После обновления XCode и сборки Ionic cordova ios — здесь та же проблема.