Post

Replies

Boosts

Views

Activity

iOS 15 Simulator - Files App not showing contents of Documents Folder anymore
Updated my environment recently to Big Sur and Xcode 12.5.1. I have an app that downloads pdf files and saves it externally to be viewed in the Files App. Everything works fine on real device but not in the simulator. I observed that files in Documents folder of the iOS simulator(iOS 15.0) do not show up in the Files app anymore. Is there any permission/hiccup here that I should be aware of?
4
3
5.9k
Oct ’21
iOS 15.1 crash on fresh install, first time app launch
I experience iOS 15.1 crash on fresh install, first-time app launch, succeeding launch works fine. This is the watchdog termination but it only happens in iOS 15.1, tested in iOS 14.5 and it works fine. Incident Identifier: EEAD5D80-C8AC-4FF1-A245-8956DD62ED39 CrashReporter Key: dea85e441a4e09723f530911d8fd5612c7e76d78 Hardware Model: iPhone14,5 Process: MyMobile [7689] Path: /private/var/containers/Bundle/Application/6B047AD6-0883-4027-8C42-221FD7216EF7/MyMobile.app/MyMobile Identifier: com.myapp.test Version: 2.32.2-qat-xcode13.2.45.27 (20320022045027) AppStoreTools: 13A1030d Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.myapp.test [1481] Date/Time: 2021-11-03 13:22:18.2581 +0800 Launch Time: 2021-11-03 13:21:57.9972 +0800 OS Version: iPhone OS 15.1 (19B74) Release Type: User Baseband Version: 1.15.02 Report Version: 104 Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: FRONTBOARD; [2343432205] <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:process-launch watchdog transgression: application<com.myapp.test>:7689 exhausted real (wall clock) time allowance of 20.00 seconds ProcessVisibility: Foreground ProcessState: Running WatchdogEvent: process-launch WatchdogVisibility: Foreground WatchdogCPUStatistics: ( "Elapsed total CPU time (seconds): 23.390 (user 18.880, system 4.510), 19% CPU", "Elapsed application CPU time (seconds): 2.047, 2% CPU" ) reportType:CrashLog maxTerminationResistance:Interactive> Triggered by Thread: 0 Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libobjc.A.dylib 0x19901f79c copySwiftV1MangledName(char const*, bool) + 28 1 libobjc.A.dylib 0x19900977c getClassExceptSomeSwift(char const*) + 40 2 libobjc.A.dylib 0x19900977c getClassExceptSomeSwift(char const*) + 40 3 libobjc.A.dylib 0x19901ce1c addNamedClass(objc_class*, char const*, objc_class*) + 56 4 libobjc.A.dylib 0x19900f62c readClass(objc_class*, bool, bool) + 796 5 libobjc.A.dylib 0x19901051c map_images_nolock + 3080 6 libobjc.A.dylib 0x19901123c map_images + 88 7 dyld 0x105a76a18 invocation function for block in dyld4::RuntimeState::setObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) + 304 8 dyld 0x105a746f4 dyld4::RuntimeState::withLoadersReadLock(void () block_pointer) + 92 9 dyld 0x105a85934 dyld4::RuntimeState::setObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) + 104 10 dyld 0x105a7a5f8 dyld4::APIs::_dyld_objc_notify_register(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) + 96 11 libobjc.A.dylib 0x19900e360 _objc_init + 1424 12 libdispatch.dylib 0x180616974 _os_object_init + 24 13 libdispatch.dylib 0x180626148 libdispatch_init + 408 14 libSystem.B.dylib 0x1badb5918 libSystem_initializer + 208 15 dyld 0x105a78794 invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 164 16 dyld 0x105aac364 invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 340 17 dyld 0x105a76490 invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 532 18 dyld 0x105a75698 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 168 19 dyld 0x105a749f8 dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 192 20 dyld 0x105a81ebc dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 516 21 dyld 0x105a7ea10 dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 172 22 dyld 0x105a76184 dyld4::PrebuiltLoader::runInitializers(dyld4::RuntimeState&) const + 44 23 dyld 0x105a9fc3c dyld4::APIs::runAllInitializersForMain() + 48 24 dyld 0x105a8b3ac dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 2820 25 dyld 0x105a89a04 start + 488 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000108807040 x1: 0x0000000000000000 x2: 0x74970ed40a621fd8 x3: 0x0000000105a71010 x4: 0x0000000105aca360 x5: 0x0000000000000032 x6: 0x000000000000005d x7: 0x00000000000008f0 x8: 0x0000000000000074 x9: 0x5d09a775c05d0082 x10: 0x0000000000000024 x11: 0x0000000000000000 x12: 0x0000000000000037 x13: 0x0000000000000043 x14: 0x8b324400e5c5475f x15: 0x00007942656d614e x16: 0x0000000105a712fc x17: 0x0000000105a71288 x18: 0x0000000000000000 x19: 0x0000000108807040 x20: 0x0000000108807040 x21: 0x0000000108807040 x22: 0x0000000000000000 x23: 0x0000000000000000 x24: 0x0000000000000000 x25: 0x000000010882ab88 x26: 0x00000001d7a82000 x27: 0x000000010882ab80 x28: 0x0000000000000006 fp: 0x000000016b1eefe0 lr: 0x183647819900977c sp: 0x000000016b1eef90 pc: 0x000000019901f79c cpsr: 0x20000000 far: 0x00000001dc4aa2c0 esr: 0x56000080 Address size fault Binary Images: 0x199004000 - 0x19903dfff libobjc.A.dylib arm64e <10fa90c6dfe538aeb3dc2251181cc272> /usr/lib/libobjc.A.dylib 0x105a70000 - 0x105ac7fff dyld arm64e <c21dba379df93fc7b286734030e18bb1> /usr/lib/dyld 0x180613000 - 0x180659fff libdispatch.dylib arm64e <a5cbaab3e3893548baacfab18411b94a> /usr/lib/system/libdispatch.dylib 0x1badb4000 - 0x1badb5fff libSystem.B.dylib arm64e <20df2268a0a933749caeebfce2a11134> /usr/lib/libSystem.B.dylib EOF
6
0
3k
Nov ’21