Post

Replies

Boosts

Views

Activity

Get Cache error with ActivityKit when reboot App。
We are currently experiencing the following weird issue with our iPhone app. As the title says, NSUserDefaults is losing our custom keys and values when phone is rebooted but not unlocked, and this is happening on a very specific scenario with ActivityKit. Context: We are using the NSUserDefaults in the app to store user data (e.g. username). Issue: An error occurred with no permission to access cached messages after a restart. Scenario: When receiving a Dynamic Island notification, if the phone is restarted, after unlocking the phone and tapping on the Dynamic Island to open the App, all cached information results in an error. Reasons for the error: After restarting the APP, the files are in a locked state. The Dynamic Island proactively invokes the App method. When executing the startup method and retrieving cached messages, an error occurs due to lack of permission. All storage, including files, NSUserDefaults, Keychain, and Plist retrieval, results in errors. The error message is as follows: { "errorCode": "-25308", "errorDesc": "Error Domain=com.samsoffes.sskeychain Code=-25308 "(null)"", "serviceName": "com.qunar.qunarclient8", "account": "iid" } The data returned at this time is in a protected state, [UIApplication sharedApplication].isProtectedDataAvailable. Any help or idea will be truly appreciated :)
0
0
139
Oct ’24
WebKit crash with iOS 18 beta3 and beta4
We are encountering a crash that occurs more frequently on iOS 18 beta 3 and beta 4. The crash happens suddenly after startup and does not provide a detailed code stack trace. Additionally, we have noticed that WebKit has a new version with fixes available. Could you let us know when this update will be released? webkit has fix this crash: https://github.com/WebKit/WebKit/commit/03200a8c08079e188c3de7a97109a51202cc6c64 https://bugs.webkit.org/show_bug.cgi?id=276620 Thread 1 Queue : com.apple.main-thread (serial) #0 0x00000001921c7008 in objc_msgSend (). #1 0x00000001f2848938 in **::Detail::CallableWrapper<WebViewRenderingUpdateScheduler::WebViewRenderingUpdateScheduler(WebView)::$_1, void>::call() () #2 0x0000000194e7bf74 in CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION (). #3 0x0000000194e7bd18 in __CFRunLoopDoObservers (). #4 0x0000000194eaac80 in __CFRunLoopRun () #5 0x0000000194eaa4c8 in CFRunLoopRunSpecific (). #6 0x00000001e172d1c4 in GSEventRunModal (). #7 0x00000001979f4a90 in -[UIApplication _run] () #8 0x0000000197aa2d1c in UIApplicationMain (). #9 0x00000001023f4064 in main at /Users/Dragon/Desktop/App/qrn-ios//main.m:14. #10 0x00000001bb60e9b4 in start (). detail info is below: SIGSEGV: 0xffffff81ece07608 0x0 + 8268181504 main. 0 0 0x00000001018de5c8 -[CKCrashReporter recordCrashWithSignal:]. 1 1 0x00000001018e15cc SignalHandler. 2 2 libsystem_platform.dylib 0x000000021716fafc 93D52E6D-C21D-3BC4-9C49-EBF71987F78C + 8977309696 3 3 WebKitLegacy 0xffffff81ece07608 0x0 + 8268181504. 4 4 WebKitLegacy 0x00000001ece07608 5BEE83EA-6DB3-357D-A484-0555DAE5C1B8 + 8268181504. 5 5 CoreFoundation 0x000000018fbd6e14 7AD2298D-5B8F-3AF4-9EED-B09B8E0A9653 + 6706372608. 6 6 CoreFoundation 0x000000018fbd6bb8 7AD2298D-5B8F-3AF4-9EED-B09B8E0A9653 + 6706372608. 7 7 CoreFoundation 0x000000018fc05bd8 7AD2298D-5B8F-3AF4-9EED-B09B8E0A9653 + 6706372608. 8 8 CoreFoundation 0x000000018fc05368 CFRunLoopRunSpecific + 6706372608. 9 9 GraphicsServices 0x00000001dbdf81c4 GSEventRunModal + 7983820800. 10 10 UIKitCore 0x00000001927529b0 D2E47210-1C46-3CA7-BBC2-35021B146A13 + 6748045312. 11 11 UIKitCore 0x00000001928 00d54 UIApplicationMain + 6748045312. 12 12 0x00000001000b4080 main. 13 13 dyld 0x00000001b5e40734 94AF19E0-4F2A-332F-A08C-04B9B7CB6FAC + 210740.
1
2
782
Jul ’24
MKMapView VectorKit crash on ios10、11、12、13
Recently I find lots of crashs when the user loads the map content on ios10, ios12 & ios13. Can anyone tell me how to do with this crash, thanks. SIGABRT: 0x00000001bf1ec948 pthread_kill-VectorKit std::__1::wstring_convert<std::__1::codecvt_utf8_utf16<char16_t, 1114111ul, (std::__1::codecvt_mode)0>, char16_t, geo::StdAllocator<char16_t, mdm::Allocator>, geo::StdAllocator<char, mdm::Allocator> >::from_bytes(char const*, char const*)00 QunariPhone_Cook_CM 0x0000000105adbb38 -[CKCrashReporter recordCrashWithSignal:]11 QunariPhone_Cook_CM 0x0000000105adf5b4 SignalHandler22 libsystem_platform.dylib 0x00000001bf1e9404 _sigtramp33 libsystem_pthread.dylib 0x00000001bf1ec948 pthread_kill44 libsystem_c.dylib 0x00000001bf17bba4 abort55 VectorKit 0x00000001cdd6f600 std::__1::wstring_convert, char16_t, geo::StdAllocator, geo::StdAllocator >::from_bytes(char const*, char const*)66 VectorKit 0x00000001cdd6d0c8 md::TextDataStringInfo::TextDataStringInfo(std::__1::basic_string, geo::StdAllocator > const*, std::__1::basic_string, geo::StdAllocator > const*, gss::Country)77 VectorKit 0x00000001cdf55ee4 md::LabelFeature::updateTextVector()88 VectorKit 0x00000001cdf566a0 md::LabelFeature::setStyle(std::__1::shared_ptr > const*, std::__1::shared_ptr const*, unsigned long, bool, unsigned int, bool)99 VectorKit 0x00000001cdd71c3c md::LabelFeatureStyler::styleLabelFeatures(std::__1::vector >&, bool, bool, geo::TaskQueue*)1010 VectorKit 0x00000001cdfcab14 md::LabelFeaturePool::addRoadFeatures(GEOVectorTile*, GEOMultiSectionFeature*, unsigned long, gm::Box const&, std::__1::shared_ptr const&, std::__1::set, std::__1::owner_less >, geo::StdAllocator, mdm::Allocator> >&, bool)1111 VectorKit 0x00000001cdbc39c4 md::LabelTile::LabelTile(geo::MercatorTile const&, GEOVectorTile*, md::LabelTileType, std::__1::shared_ptr const&, bool, md::mun::MuninMetadata*)1212 VectorKit 0x00000001cdbc4570 md::LabelLayerDataSource::createLayerData(mdc::LayerDataRequestKey const&, geo::linear_map, mdc::ResourceKeyHash, std::__1::equal_to, std::__1::allocator > > >, std::__1::equal_to, std::__1::allocator, mdc::ResourceKeyHash, std::__1::equal_to, std::__1::allocator > > > > >, std::__1::vector, mdc::ResourceKeyHash, std::__1::equal_to, std::__1::allocator > > > >, std::__1::allocator, mdc::ResourceKeyHash, std::__1::equal_to, std::__1::allocator > > > > > > > const&, long long) const1313 VectorKit 0x00000001ce07c9ec mdc::LayerDataSource::updateLayerData(unsigned long, mdc::LayerDataRequestKey const&, geo::linear_map, mdc::ResourceKeyHash, std::__1::equal_to, std::__1::allocator > > >, std::__1::equal_to, std::__1::allocator, mdc::ResourceKeyHash, std::__1::equal_to, std::__1::allocator > > > > >, std::__1::vector, mdc::ResourceKeyHash, std::__1::equal_to, std::__1::allocator > > > >, std::__1::allocator, mdc::ResourceKeyHash, std::__1::equal_to, std::__1::allocator > > > > > > > const&, long long)1414 VectorKit 0x00000001ce0804fc std::__1::__function::__func, void ()>::operator()()1515 VectorKit 0x00000001ce0012ec __ZN3geo9TaskQueue14queueAsyncTaskENSt3__110shared_ptrINS_4TaskEEEPU28objcproto17OS_dispatch_group8NSObject_block_invoke1616 libdispatch.dylib 0x00000001bf186134 _dispatch_call_block_and_release1717 libdispatch.dylib 0x00000001bf1875ac _dispatch_client_callout1818 libdispatch.dylib 0x00000001bf18da64 _dispatch_lane_serial_drain1919 libdispatch.dylib 0x00000001bf18e4cc _dispatch_lane_invoke2020 libdispatch.dylib 0x00000001bf18f574 _dispatch_workloop_invoke2121 libdispatch.dylib 0x00000001bf197a5c _dispatch_workloop_worker_thread2222 libsystem_pthread.dylib 0x00000001bf1ed718 _pthread_wqthread2323 libsystem_pthread.dylib 0x00000001bf1f39c8 start_wqthread
0
0
545
Sep ’22