I'm working on an app, and have turned over download responsibilities to Safari, thusly:
UIApplication.shared.open(URL(string: "nytimes.com/crosswords")!, options: [:], completionHandler: nil)
// If I put in the https the Forums software objects, but it is there, Safari does get to the site.
Once I'm at the site, I tap to download, and immediately get a crash (see below).
At first I thought it was my app, but then I reset the iPad with Erase All Contents and Settings, and just downloaded directly from Safari (my app wasn't even installed), yet the error persists.
Is anybody else seeing this?
UIApplication.shared.open(URL(string: "nytimes.com/crosswords")!, options: [:], completionHandler: nil)
// If I put in the https the Forums software objects, but it is there, Safari does get to the site.
Once I'm at the site, I tap to download, and immediately get a crash (see below).
At first I thought it was my app, but then I reset the iPad with Erase All Contents and Settings, and just downloaded directly from Safari (my app wasn't even installed), yet the error persists.
Is anybody else seeing this?
Code Block Process: MobileSafari [7402] Path: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Applications/MobileSafari.app/MobileSafari Identifier: MobileSafari Version: 14.0 (604.1) Code Type: X86-64 (Native) Parent Process: launchd_sim [7210] Responsible: SimulatorTrampoline [615] User ID: 501 Date/Time: 2020-09-04 17:59:56.697 -0500 OS Version: Mac OS X 10.16 (20A5354i) Report Version: 12 Bridge OS Version: 5.0 (18P50358b) Anonymous UUID: 4CC279BD-C050-70BE-3C9C-80C6689A987C Sleep/Wake UUID: C3BB6F1F-67AB-41B2-A5A6-85122824DD46 Time Awake Since Boot: 35000 seconds Time Since Wake: 15000 seconds System Integrity Protection: enabled Crashed Thread: 1 Dispatch queue: com.apple.NSXPCConnection.user.com.apple.DocumentManagerCore.Downloads Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x000070000b32ff68 Exception Note: EXC_CORPSE_NOTIFY Termination Signal: Bus error: 10 Termination Reason: Namespace SIGNAL, Code 0xa Terminating Process: exc handler [7402] VM Regions Near 0x70000b32ff68: JS JIT generated code 27af4b001000-27af4b002000 [ 4K] ---/rwx SM=NUL --> STACK GUARD 70000b32f000-70000b330000 [ 4K] ---/rwx SM=NUL stack guard for thread 1 Stack 70000b330000-70000b3b2000 [ 520K] rw-/rwx SM=COW thread 1 Application Specific Information: CoreSimulator 732.13 - Device: iPad Pro (11-inch) (2nd generation) (DCD41CB8-B807-4A59-9504-7B2BC3559167) - Runtime: iOS 14.0 (18A5357e) - DeviceType: iPad Pro (11-inch) (2nd generation) Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff5da0ff6e mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff5da102e0 mach_msg + 60 2 com.apple.CoreFoundation 0x0000000107040e77 CFRunLoopServiceMachPort + 316 3 com.apple.CoreFoundation 0x000000010703b58d CFRunLoopRun + 1284 4 com.apple.CoreFoundation 0x000000010703ab9e CFRunLoopRunSpecific + 567 5 com.apple.GraphicsServices 0x00000001160f2db3 GSEventRunModal + 139 6 com.apple.UIKitCore 0x0000000110f15c73 -[UIApplication _run] + 912 7 com.apple.UIKitCore 0x0000000110f1ab84 UIApplicationMain + 101 8 com.apple.mobilesafari 0x00000001042e65e2 0x104260000 + 550370