Open sunwgit opened 5 years ago
flutter sdk:1.2.1 开发机系统:macos10.14.4 ios: 12.1.4 xcode日志如下:
2019-04-22 19:24:09.579660+0800 Runner[1122:349461] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist. 2019-04-22 19:24:09.579704+0800 Runner[1122:349461] 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. 2019-04-22 19:24:10.037104+0800 Runner[1122:349540] flutter: Observatory listening on http://127.0.0.1:61903/ ================================================================= Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState] PID: 1122, TID: 349559, Thread name: com.autonavi.AMapLocationThread, Queue name: com.apple.root.default-qos.overcommit, QoS: 0 Backtrace: 4 libobjc.A.dylib 0x00000001ab19b534 <redacted> + 56 5 CoreLocation 0x00000001b2fa24a0 CLClientStopVehicleHeadingUpdates + 142072 6 CoreLocation 0x00000001b2f795d0 CoreLocation + 5584 7 CoreLocation 0x00000001b2f79cc0 CLClientCreateWithBundleIdentifierAndPathOnRunLoop + 128 8 CoreLocation 0x00000001b2f79bc8 CLClientCreateWithBundleIdentifierAndPath + 320 9 CoreLocation 0x00000001b2f85344 CLClientStopVehicleHeadingUpdates + 22940 10 CoreLocation 0x00000001b2f85b48 CLClientStopVehicleHeadingUpdates + 24992 11 Runner 0x00000001006d7e14 -[AMapLocationManager initCLManager] + 56 12 Runner 0x00000001006d7da0 -[AMapLocationManager createLocationManager] + 28 13 libobjc.A.dylib 0x00000001ab19b2a4 <redacted> + 68 14 Foundation 0x00000001aca6de38 <redacted> + 340 15 CoreFoundation 0x00000001abf3451c <redacted> + 28 16 CoreFoundation 0x00000001abf34498 <redacted> + 92 17 CoreFoundation 0x00000001abf33d50 <redacted> + 180 18 CoreFoundation 0x00000001abf2ea08 <redacted> + 1032 19 CoreFoundation 0x00000001abf2e2e8 CFRunLoopRunSpecific + 452 20 Foundation 0x00000001ac9323e0 <redacted> + 304 21 Foundation 0x00000001ac96f1cc <redacted> + 92 22 Runner 0x00000001006ccac0 +[AMapLocationCLMDelegate threadEntryPoint:] + 216 23 Foundation 0x00000001ac930fc0 <redacted> + 72 24 Foundation 0x00000001aca6dc44 <redacted> + 1044 25 libsystem_pthread.dylib 0x00000001abba8974 <redacted> + 132 26 libsystem_pthread.dylib 0x00000001abba88d0 _pthread_start + 52 27 libsystem_pthread.dylib 0x00000001abbb0ddc thread_start + 4 2019-04-22 19:24:10.504164+0800 Runner[1122:349559] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState] PID: 1122, TID: 349559, Thread name: com.autonavi.AMapLocationThread, Queue name: com.apple.root.default-qos.overcommit, QoS: 0 Backtrace: 4 libobjc.A.dylib 0x00000001ab19b534 <redacted> + 56 5 CoreLocation 0x00000001b2fa24a0 CLClientStopVehicleHeadingUpdates + 142072 6 CoreLocation 0x00000001b2f795d0 CoreLocation + 5584 7 CoreLocation 0x00000001b2f79cc0 CLClientCreateWithBundleIdentifierAndPathOnRunLoop + 128 8 CoreLocation 0x00000001b2f79bc8 CLClientCreateWithBundleIdentifierAndPath + 320 9 CoreLocation 0x00000001b2f85344 CLClientStopVehicleHeadingUpdates + 22940 10 CoreLocation 0x00000001b2f85b48 CLClientStopVehicleHeadingUpdates + 24992 11 Runner 0x00000001006d7e14 -[AMapLocationManager initCLManager] + 56 12 Runner 0x00000001006d7da0 -[AMapLocationManager createLocationManager] + 28 13 libobjc.A.dylib 0x00000001ab19b2a4 <redacted> + 68 14 Foundation 0x00000001aca6de38 <redacted> + 340 15 CoreFoundation 0x00000001abf3451c <redacted> + 28 16 CoreFoundation 0x00000001abf34498 <redacted> + 92 17 CoreFoundation 0x00000001abf33d50 <redacted> + 180 18 CoreFoundation 0x00000001abf2ea08 <redacted> + 1032 19 CoreFoundation 0x00000001abf2e2e8 CFRunLoopRunSpecific + 452 20 Foundation 0x00000001ac9323e0 <redacted> + 304 21 Foundation 0x00000001ac96f1cc <redacted> + 92 22 Runner 0x00000001006ccac0 +[AMapLocationCLMDelegate threadEntryPoint:] + 216 23 Foundation 0x00000001ac930fc0 <redacted> + 72 24 Foundation 0x00000001aca6dc44 <redacted> + 1044 25 libsystem_pthread.dylib 0x00000001abba8974 <redacted> + 132 26 libsystem_pthread.dylib 0x00000001abba88d0 _pthread_start + 52 27 libsystem_pthread.dylib 0x00000001abbb0ddc thread_start + 4 2019-04-22 19:24:19.270201+0800 Runner[1122:349461] { allowsBackgroundLocationUpdates = 0; desiredAccuracy = kCLLocationAccuracyHundredMeters; detectRiskOfFakeLocation = 0; distanceFilter = "-1"; geoLanguage = DEFAULT; locatingWithReGeocode = 0; locationTimeout = 5; pausesLocationUpdatesAutomatically = 0; reGeocodeTimeout = 5; } 2019-04-22 19:24:19.376661+0800 Runner[1122:349527] [NetworkInfo] Could not successfully update network info for descriptor <CTServiceDescriptor 0x281ce87c0, domain=1, instance=2> during initialization. 2019-04-22 19:24:19.378029+0800 Runner[1122:349527] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x281ce8720, domain=1, instance=1> 2019-04-22 19:24:19.378411+0800 Runner[1122:349527] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x281ce87c0, domain=1, instance=2>
flutter sdk:1.2.1 开发机系统:macos10.14.4 ios: 12.1.4 xcode日志如下: