Just by doing an online search when I ran into this problem and found that it could be an Apple error (no errors or crashes in this error in my application).
If the error occurs only when configuring UIWebView in your application. I would check if the application "Transport security settings in the application" in your .plist is correctly configured
if you check your .plist, you can add it manually:
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> <key>NSExceptionDomains</key> <dict> <key>add-your-site-here-if-needed</key> <dict> <key>NSExceptionAllowsInsecureHTTPLoads</key> <true/> <key>NSIncludesSubdomains</key> <true/> </dict> </dict> </dict>
This happens to me when I added third-party code, such as FirebaseSDK. And it suddenly stops appearing after properly setting up my URL schemes for all of my environments. Therefore, I assume that this error appears when something is not fully / correctly implemented, as in the snowball effect from the side of the Apple code.
NOTE. You can also try to go back a few steps when an error occurs to narrow the position of this error.
Taka Aug 18 '17 at 14:47 on 2017-08-18 14:47
source share