Hi Guys,
I am trying to get my iOS App to run. Android works totally fine.
The build with XCode succeeds and the App is fully installed.
The App ist starting, the Splashscreen shows and after that, the Screen stays white.
No matter how long I wait. Same thing with the emulator and a real device.
I have the cordova plugin firebase-x installed, which might cause the problem.
What the app does however, is registering the token to the firebase database. so this seems to be working…
I am new to developing with Apple, so the console output of XCode is very cryptic.
I even tried to look at possible outputs with safari technology preview but it couldn’t connect to the iPhone., but the device does at least appear in the drawer…
Here’s the console output of XCode, maybe that helps…
2020-02-06 11:10:08.483594+0100 Loesdau[5760:61694] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/.../Library/Developer/CoreSimulator/Devices/C5B461C0-2E7C-4718-91D2-C5954DF339E8/data/Containers/Data/Application/B4A9F300-E0F2-4504-B7DA-68B95E0B2589/Library/Cookies/com.loesdau.appaloosa.binarycookies
2020-02-06 11:10:08.491060+0100 Loesdau[5760:61694] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2020-02-06 11:10:08.492076+0100 Loesdau[5760:61694] Apache Cordova native platform version 5.1.1 is starting.
2020-02-06 11:10:08.492225+0100 Loesdau[5760:61694] Multi-tasking -> Device: YES, App: YES
2020-02-06 11:10:08.505543+0100 Loesdau[5760:61795] - <AppMeasurement>[I-ACS036002] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist
2020-02-06 11:10:08.651868+0100 mac[5760:61797] 6.3.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60002000 started
2020-02-06 11:10:08.654512+0100 mac the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-02-06 11:10:08.655171+0100 mac[5760:61797] 6.3.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
2020-02-06 11:10:08.676359+0100 mac[5760:61694] Using UIWebView
2020-02-06 11:10:08.677829+0100 mac[5760:61694] [CDVTimer][console] 0.054002ms
2020-02-06 11:10:08.677992+0100 mac[5760:61694] [CDVTimer][handleopenurl] 0.047088ms
2020-02-06 11:10:08.679204+0100 mac[5760:61694] [CDVTimer][intentandnavigationfilter] 1.122952ms
2020-02-06 11:10:08.679357+0100 mac[5760:61694] [CDVTimer][gesturehandler] 0.046015ms
2020-02-06 11:10:08.680071+0100 mac[5760:61694] [CDVTimer][file] 0.623941ms
2020-02-06 11:10:08.680171+0100 mac[5760:61694] [CDVTimer][TotalPluginStartup] 2.418041ms
2020-02-06 11:10:08.690669+0100 mac[5760:61694] DidFinishLaunchingWithOptions
2020-02-06 11:10:08.695935+0100 mac[5760:61694] Device FCM Token: cw51FUQjcq4:APA91bEfMtTVWcltb1wfoRLAamRVgFHYLOrGVymGyf3lRz6rHO1uyOARxKiOx7HEZ7G-GGEKlp7U8wUZovOpB1E-JLWsNlyUqJ70rZWjkRnZIwC2XQj7b5PwpQScktQu7U_QnUbbssVL
2020-02-06 11:10:08.696051+0100 mac[5760:61694] setInitialFCMToken token: cw51FUQjcq4:APA91bEfMtTVWcltb1wfoRLAamRVgFHYLOrGVymGyf3lRz6rHO1uyOARxKiOx7HEZ7G-GGEKlp7U8wUZovOpB1E-JLWsNlyUqJ70rZWjkRnZIwC2XQj7b5PwpQScktQu7U_QnUbbssVL
2020-02-06 11:10:08.698991+0100 mac[5760:61694] app become active
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIApplication registerForRemoteNotifications]
PID: 5760, TID: 61798, Thread name: (none), Queue name: com.apple.usernotifications.UNUserNotificationServiceConnection.call-out, QoS: 0
Backtrace:
4 mac 0x000000010ed22a34 __73-[AppDelegate(MCPlugin) application:customDidFinishLaunchingWithOptions:]_block_invoke + 116
5 libdispatch.dylib 0x0000000111738dd4 _dispatch_call_block_and_release + 12
6 libdispatch.dylib 0x0000000111739d48 _dispatch_client_callout + 8
7 libdispatch.dylib 0x00000001117405ef _dispatch_lane_serial_drain + 788
8 libdispatch.dylib 0x00000001117411b5 _dispatch_lane_invoke + 476
9 libdispatch.dylib 0x000000011174ca4e _dispatch_workloop_worker_thread + 719
10 libsystem_pthread.dylib 0x00007fff524636fc _pthread_wqthread + 290
11 libsystem_pthread.dylib 0x00007fff52462827 start_wqthread + 15
2020-02-06 11:10:08.702474+0100 mac[5760:61798] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication registerForRemoteNotifications]
PID: 5760, TID: 61798, Thread name: (none), Queue name: com.apple.usernotifications.UNUserNotificationServiceConnection.call-out, QoS: 0
Backtrace:
4 mac 0x000000010ed22a34 __73-[AppDelegate(MCPlugin) application:customDidFinishLaunchingWithOptions:]_block_invoke + 116
5 libdispatch.dylib 0x0000000111738dd4 _dispatch_call_block_and_release + 12
6 libdispatch.dylib 0x0000000111739d48 _dispatch_client_callout + 8
7 libdispatch.dylib 0x00000001117405ef _dispatch_lane_serial_drain + 788
8 libdispatch.dylib 0x00000001117411b5 _dispatch_lane_invoke + 476
9 libdispatch.dylib 0x000000011174ca4e _dispatch_workloop_worker_thread + 719
10 libsystem_pthread.dylib 0x00007fff524636fc _pthread_wqthread + 290
11 libsystem_pthread.dylib 0x00007fff52462827 start_wqthread + 15
2020-02-06 11:10:08.807263+0100 mac[5760:61795] 6.3.0 - [Firebase/Messaging][I-FCM012002] Error in application:didFailToRegisterForRemoteNotificationsWithError: remote notifications are not supported in the simulator
2020-02-06 11:10:08.815503+0100 mac[5760:61694] Resetting plugins due to page load.
2020-02-06 11:10:08.825136+0100 mac[5760:61694] Failed to load webpage with error: The operation couldn’t be completed. (NSURLErrorDomain error -999.)
2020-02-06 11:10:08.827663+0100 mac[5760:61694] Resetting plugins due to page load.
2020-02-06 11:10:08.895176+0100 mac[5760:61795] NSURLConnection finished with error - code -1100
2020-02-06 11:10:08.896712+0100 mac[5760:61796] NSURLConnection finished with error - code -1100
2020-02-06 11:10:08.897809+0100 mac[5760:61796] NSURLConnection finished with error - code -1100
2020-02-06 11:10:08.898487+0100 mac[5760:61795] NSURLConnection finished with error - code -1100
2020-02-06 11:10:08.899125+0100 mac[5760:61796] NSURLConnection finished with error - code -1100
2020-02-06 11:10:08.899758+0100 mac[5760:61796] NSURLConnection finished with error - code -1100
2020-02-06 11:10:08.906616+0100 mac[5760:61694] Finished load of: file:///Users/.../Library/Developer/CoreSimulator/Devices/C5B461C0-2E7C-4718-91D2-C5954DF339E8/data/Containers/Bundle/Application/6C12842F-DDCE-4D08-BA3F-2A6F3CBA3F70/Loesdau.app/www/index.html
2020-02-06 11:10:32.620097+0100 mac[5760:61908] Task <85B1C25E-ED54-4164-94C4-6279E04434F7>.<1> HTTP load failed, 454/0 bytes (error code: -1017 [4:-1])
2020-02-06 11:10:32.620679+0100 mac[5760:61694] Task <85B1C25E-ED54-4164-94C4-6279E04434F7>.<1> finished with error [-1017] Error Domain=NSURLErrorDomain Code=-1017 "cannot parse response" UserInfo={_kCFStreamErrorCodeKey=-1, NSUnderlyingError=0x600003797390 {Error Domain=kCFErrorDomainCFNetwork Code=-1017 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x600001a2e760 [0x7fff80617cb0]>{length = 16, capacity = 16, bytes = 0x100201bbacd910aa0000000000000000}, _kCFStreamErrorCodeKey=-1, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <85B1C25E-ED54-4164-94C4-6279E04434F7>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalUploadTask <85B1C25E-ED54-4164-94C4-6279E04434F7>.<1>"
), NSLocalizedDescription=cannot parse response, NSErrorFailingURLStringKey=https://play.googleapis.com/log, NSErrorFailingURLKey=https://play.googleapis.com/log, _kCFStreamErrorDomainKey=4}
2020-02-06 11:10:32.620859+0100 mac[5760:61694] <Google/Utilities/Network/ERROR> Encounter network error. Code, error: -1017, Error Domain=NSURLErrorDomain Code=-1017 "cannot parse response" UserInfo={_kCFStreamErrorCodeKey=-1, NSUnderlyingError=0x600003797390 {Error Domain=kCFErrorDomainCFNetwork Code=-1017 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x600001a2e760 [0x7fff80617cb0]>{length = 16, capacity = 16, bytes = 0x100201bbacd910aa0000000000000000}, _kCFStreamErrorCodeKey=-1, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <85B1C25E-ED54-4164-94C4-6279E04434F7>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalUploadTask <85B1C25E-ED54-4164-94C4-6279E04434F7>.<1>"
), NSLocalizedDescription=cannot parse response, NSErrorFailingURLStringKey=https://play.googleapis.com/log, NSErrorFailingURLKey=https://play.googleapis.com/log, _kCFStreamErrorDomainKey=4}
2020-02-06 11:10:32.623249+0100 mac[5760:61910] 6.3.0 - [GULNetwork][I-NET901017] <Google/Utilities/Network/ERROR> Encounter network error. Code, error: -1017, Error Domain=NSURLErrorDomain Code=-1017 "cannot parse response" UserInfo={_kCFStreamErrorCodeKey=-1, NSUnderlyingError=0x600003797390 {Error Domain=kCFErrorDomainCFNetwork Code=-1017 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x600001a2e760 [0x7fff80617cb0]>{length = 16, capacity = 16, bytes = 0x100201bbacd910aa0000000000000000}, _kCFStreamErrorCodeKey=-1, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <85B1C25E-ED54-4164-94C4-6279E04434F7>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalUploadTask <85B1C25E-ED54-4164-94C4-6279E04434F7>.<1>"
), NSLocalizedDescription=cannot parse response, NSErrorFailingURLStringKey=https://play.googleapis.com/log, NSErrorFailingURLKey=https://play.googleapis.com/log, _kCFStreamErrorDomainKey=4}
2020-02-06 11:10:32.623861+0100 mac[5760:61910] 6.3.0 - [Firebase/Core][I-COR000020] Error posting to Clearcut: Error Domain=NSURLErrorDomain Code=-1017 "cannot parse response" UserInfo={_kCFStreamErrorCodeKey=-1, NSUnderlyingError=0x600003797390 {Error Domain=kCFErrorDomainCFNetwork Code=-1017 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x600001a2e760 [0x7fff80617cb0]>{length = 16, capacity = 16, bytes = 0x100201bbacd910aa0000000000000000}, _kCFStreamErrorCodeKey=-1, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <85B1C25E-ED54-4164-94C4-6279E04434F7>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalUploadTask <85B1C25E-ED54-4164-94C4-6279E04434F7>.<1>"
), NSLocalizedDescription=cannot parse response, NSErrorFailingURLStringKey=https://play.googleapis.com/log, NSErrorFailingURLKey=https://play.googleapis.com/log, _kCFStreamErrorDomainKey=4}, with Status Code: 0
Ionic info
Ionic CLI : 5.4.15
Ionic Framework : @ionic/angular 4.11.7
@angular-devkit/build-angular : 0.803.23
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.0.0
XCode Version: 11.3.1 (11C504)
MacOS Version: macOS Catalina Version 10.15.2
iOS Version: 12.4.5
i really hope, you can help me