I just downloaded iOSKit and wanted to start playing around with it. When I try to access anything with the camera, the app crashes with the following error.
Any ideas? I suspect I may need to include a plist file with permissions?
Translated Report (Full Report Below)
-------------------------------------
Incident Identifier: 3CDF8049-C475-4C5A-843B-7B9FEEEC2407
CrashReporter Key: FE5DD787-D960-34CB-B6D3-DA9F3FF29873
Hardware Model: MacBookPro18,2
Process: iOS_Kit.debug [77439]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/604FB620-927B-43FA-8814-EBE045E7ACEE/data/Containers/Bundle/Application/195246B3-6A74-495A-AD40-36B23CC46EB6/iOS_Kit.debug.app/iOS_Kit.debug
Identifier: com.jasonking.iOS-Kit
Version: 1.8 (1.8)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd_sim [76805]
Coalition: com.apple.CoreSimulator.SimDevice.604FB620-927B-43FA-8814-EBE045E7ACEE [356257]
Responsible Process: SimulatorTrampoline [5370]
Date/Time: 2022-07-28 17:21:59.8042 -0400
Launch Time: 2022-07-28 17:21:57.2038 -0400
OS Version: macOS 12.4 (21F79)
Release Type: User
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x1803f3d5c __exceptionPreprocess + 216
1 libobjc.A.dylib 0x18019814c objc_exception_throw + 56
2 UIKitCore 0x18454fb54 -[UIImagePickerController sourceType] + 0
3 iOS_Kit.debug 0x1005e521c UIKit.UIImagePickerController.sourceType.Set%%o<UIKit.UIImagePickerController>i4i8<UIKit.UIImagePickerController.Source> + 348 (/UIKit:2350)
4 iOS_Kit.debug 0x10056c6b4 Extensions.Camera.SourceType.Set%%o<Extensions.Camera>i4i8<UIKit.UIImagePickerController.Source> + 184 (/Extensions:1078)
5 iOS_Kit.debug 0x100476cdc CameraView.CameraView._CreateControls1%%o<CameraView.CameraView> + 668 (/CameraView:50)
6 iOS_Kit.debug 0x100475e80 CameraView.CameraView._CreateControls%%o<CameraView.CameraView> + 208 (/CameraView:17)
7 iOS_Kit.debug 0x10031dd60 iOSView.Constructor%%o<iOSView> + 744
8 iOS_Kit.debug 0x10044c56c MainView.MainView.Table1_Action%%o<MainView.MainView>o<iOSTable>i8i8 + 2012 (/MainView:84)
9 iOS_Kit.debug 0x1004535f4 Delegate.IM_Invoke%%o<iOSTable>i8i8 + 76
10 iOS_Kit.debug 0x100453660 AddHandler.Stub.3%%i8i8 + 88
11 rbframework.dylib 0x1016458cc 0x101460000 + 1988812
12 UIKitCore 0x184fb4854 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:isCellMultiSelect:deselectPrevious:] + 1620
13 UIKitCore 0x184fb41e8 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 112
14 UIKitCore 0x184fb4ad0 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 316
15 UIKitCore 0x185294438 -[_UIAfterCACommitBlock run] + 64
16 UIKitCore 0x18529490c -[_UIAfterCACommitQueue flush] + 188
17 libdispatch.dylib 0x18010d244 _dispatch_call_block_and_release + 24
18 libdispatch.dylib 0x18010ea98 _dispatch_client_callout + 16
19 libdispatch.dylib 0x18011c41c _dispatch_main_queue_drain + 976
20 libdispatch.dylib 0x18011c03c _dispatch_main_queue_callback_4CF + 40
21 CoreFoundation 0x180361c2c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
22 CoreFoundation 0x18035c0b0 __CFRunLoopRun + 2432
23 CoreFoundation 0x18035b218 CFRunLoopRunSpecific + 572
24 GraphicsServices 0x18c25f60c GSEventRunModal + 160
25 UIKitCore 0x184d88a98 -[UIApplication _run] + 992
26 UIKitCore 0x184d8d634 UIApplicationMain + 112
27 rbframework.dylib 0x101500c38 0x101460000 + 658488
28 iOS_Kit.debug 0x100331c98 Xojo._RuntimeRun + 36
29 iOS_Kit.debug 0x1007e274c _Main + 656 (/#main:42)
30 iOS_Kit.debug 0x1007e19f8 main + 36
31 dyld_sim 0x100d35cd8 start_sim + 20
32 dyld 0x100b7d08c start + 520
33 ??? 0xb74e000000000000 ???
Kernel Triage:
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x1cc05de60 __pthread_kill + 8
1 libsystem_pthread.dylib 0x1cc0b13c0 pthread_kill + 256
2 libsystem_c.dylib 0x1801023f4 abort + 124
3 libc++abi.dylib 0x18023feb4 abort_message + 128
4 libc++abi.dylib 0x18023066c demangling_terminate_handler() + 300
5 libobjc.A.dylib 0x18017aea0 _objc_terminate() + 124
6 libc++abi.dylib 0x18023f364 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x18023f30c std::terminate() + 60
8 libdispatch.dylib 0x18010eaac _dispatch_client_callout + 36
9 libdispatch.dylib 0x18011c41c _dispatch_main_queue_drain + 976
10 libdispatch.dylib 0x18011c03c _dispatch_main_queue_callback_4CF + 40
11 CoreFoundation 0x180361c2c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
12 CoreFoundation 0x18035c0b0 __CFRunLoopRun + 2432
13 CoreFoundation 0x18035b218 CFRunLoopRunSpecific + 572
14 GraphicsServices 0x18c25f60c GSEventRunModal + 160
15 UIKitCore 0x184d88a98 -[UIApplication _run] + 992
16 UIKitCore 0x184d8d634 UIApplicationMain + 112
17 rbframework.dylib 0x101500c38 0x101460000 + 658488
18 iOS_Kit.debug 0x100331c98 Xojo._RuntimeRun + 36
19 iOS_Kit.debug 0x1007e274c _Main + 656 (/#main:42)
20 iOS_Kit.debug 0x1007e19f8 main + 36
21 dyld_sim 0x100d35cd8 start_sim + 20
22 dyld 0x100b7d08c start + 520
Thread 1:
0 libsystem_pthread.dylib 0x1cc0ac8fc start_wqthread + 0
Thread 2:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x1cc055fcc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1cc056430 mach_msg + 72
2 CoreFoundation 0x18036176c __CFRunLoopServiceMachPort + 368
3 CoreFoundation 0x18035bb78 __CFRunLoopRun + 1096
4 CoreFoundation 0x18035b218 CFRunLoopRunSpecific + 572
5 CFNetwork 0x183e3ccdc 0x183c16000 + 2256092
6 Foundation 0x180851578 __NSThread__start__ + 792
7 libsystem_pthread.dylib 0x1cc0b16c8 _pthread_start + 116
8 libsystem_pthread.dylib 0x1cc0ac910 thread_start +