# ARDK iOS Application Crashes on Application 'Force Close'

**URL:** <https://community.nianticspatial.com/t/ardk-ios-application-crashes-on-application-force-close/1824>\
**Category:** Bug Reports\
**Created:** [April 12, 2022, 11:29pm UTC](https://community.nianticspatial.com/t/ardk-ios-application-crashes-on-application-force-close/1824 "2022-04-12T23:29:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucas\_D\_x27\_Avila](https://avatars.discourse-cdn.com/v4/letter/l/71c47a/32.png) [@Lucas\_D\_x27\_Avila](https://community.nianticspatial.com/u/Lucas_D_x27_Avila)\
**Post date:** [April 12, 2022, 11:29pm UTC](https://community.nianticspatial.com/t/ardk-ios-application-crashes-on-application-force-close/1824/1 "2022-04-12T23:29:12Z")

</div>

_Include the following details while filing a bug report (edit as applicable):_

- **Issue category** : ARDK Builds
- **Device type & OS version** : iOS
- **Host machine & OS version** : Mac
- **Issue Environment** : On Device
- **Xcode version** : 13.3
- **ARDK version** : 1.2
- **Unity version** : 2021.2.3f1

How to Reproduce:

1. Build Unity project
2. Run project targeting iOS device (any)
3. Close application on simulator.
4. Notice App Crash.

Crash Screenshot:

 ![Screen Shot 2022-04-12 at 4.22.41 PM](https://us1.discourse-cdn.com/niantic/original/1X/5ee83fa2a75ab8817c58780ce08d98003f8e4547.png)

Crash Report:

Date/Time: 2022-03-11 18:21:46.7955 -0800  
Launch Time: 2022-03-11 18:20:35.2145 -0800  
OS Version: iPhone OS 15.1 (19B74)  
Release Type: User  
Baseband Version: 3.00.00  
Report Version: 104

Exception Type: EXC\_CRASH (SIGABRT)  
Exception Codes: 0x0000000000000000, 0x0000000000000000  
Exception Note: EXC\_CORPSE\_NOTIFY  
Triggered by Thread: 12

Thread 0 name:  
Thread 0:  
0 libsystem\_asl.dylib 0x00000001a071d748 DYLD-STUB$$pthread\_mutex\_lock + 8  
1 libsystem\_asl.dylib 0x00000001a071c8a8 closelog + 28 (syslog.c:256)  
2 libsystem\_c.dylib 0x000000018b8338d4 \_\_cxa\_finalize\_ranges + 476 (atexit.c:286)  
3 libsystem\_c.dylib 0x000000018b82e228 exit + 32 (exit.c:78)  
4 UIKitCore 0x0000000183d52f68 -[UIApplication \_terminateWithStatus:] + 504 (UIApplication.m:6927)  
5 UIKitCore 0x000000018343dd14 -[\_UISceneLifecycleMultiplexer \_evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 128 (\_UISceneLifecycleMultiplexer.m:808)  
6 UIKitCore 0x0000000183632c5c -[\_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 224 (\_UISceneLifecycleMultiplexer.m:482)  
7 UIKitCore 0x0000000183d4fae4 -[UIApplication workspaceShouldExit:withTransitionContext:] + 212 (UIApplication.m:3828)  
8 FrontBoardServices 0x0000000192512c38 \_\_63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]\_block\_invoke\_2 + 80 (FBSWorkspaceScenesClient.m:331)  
9 FrontBoardServices 0x00000001924cd6b4 -[FBSWorkspace \_calloutQueue\_executeCalloutFromSource:withBlock:] + 240 (FBSWorkspace.m:352)  
10 FrontBoardServices 0x0000000192512bd0 \_\_63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]\_block\_invoke + 132 (FBSWorkspaceScenesClient.m:328)  
11 libdispatch.dylib 0x0000000180667660 \_dispatch\_client\_callout + 20 (object.m:560)  
12 libdispatch.dylib 0x000000018066b118 \_dispatch\_block\_invoke\_direct + 264 (queue.c:489)  
13 FrontBoardServices 0x00000001924cef94 **FBSSERIALQUEUE\_IS\_CALLING\_OUT\_TO\_A\_BLOCK** + 48 (FBSSerialQueue.m:157)  
14 FrontBoardServices 0x00000001924ce3d4 -[FBSSerialQueue \_targetQueue\_performNextIfPossible] + 220 (FBSSerialQueue.m:181)  
15 FrontBoardServices 0x00000001924d29e4 -[FBSSerialQueue \_performNextFromRunLoopSource] + 28 (FBSSerialQueue.m:194)  
16 CoreFoundation 0x0000000180a17020 **CFRUNLOOP\_IS\_CALLING\_OUT\_TO\_A\_SOURCE0\_PERFORM\_FUNCTION** + 28 (CFRunLoop.c:1972)  
17 CoreFoundation 0x0000000180a27ce0 \_\_CFRunLoopDoSource0 + 208 (CFRunLoop.c:2016)  
18 CoreFoundation 0x0000000180961fe8 \_\_CFRunLoopDoSources0 + 268 (CFRunLoop.c:2053)  
19 CoreFoundation 0x00000001809677f4 \_\_CFRunLoopRun + 820 (CFRunLoop.c:2951)  
20 CoreFoundation 0x000000018097b3b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)  
21 GraphicsServices 0x000000019c30b38c GSEventRunModal + 164 (GSEvent.c:2200)  
22 UIKitCore 0x000000018331b6a8 -[UIApplication \_run] + 1100 (UIApplication.m:3493)  
23 UIKitCore 0x000000018309a7f4 UIApplicationMain + 2092 (UIApplication.m:5046)  
24 UnityFramework 0x0000000104defca0 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 108 (main.mm:96)  
25 galleryv1 0x0000000102c87e1c main + 68 (main.mm:26)  
26 dyld 0x0000000102ee9a24 start + 520 (dyldMain.cpp:876)

Thread 1:  
0 libsystem\_pthread.dylib 0x00000001f0c95e8c start\_wqthread + 0

Thread 2:  
0 libsystem\_pthread.dylib 0x00000001f0c95e8c start\_wqthread + 0

Thread 3:  
0 libsystem\_pthread.dylib 0x00000001f0c95e8c start\_wqthread + 0

Thread 4 name:  
Thread 4:  
0 libsystem\_kernel.dylib 0x00000001b78371a4 \_\_ulock\_wait + 8  
1 libdispatch.dylib 0x0000000180668054 \_dlock\_wait + 56 (lock.c:326)  
2 libdispatch.dylib 0x0000000180667df8 \_dispatch\_thread\_event\_wait\_slow + 56 (lock.c:366)  
3 libdispatch.dylib 0x0000000180676b9c **DISPATCH\_WAIT\_FOR\_QUEUE** + 364 (lock.h:330)  
4 libdispatch.dylib 0x0000000180676744 \_dispatch\_sync\_f\_slow + 144 (queue.c:1762)  
5 ardk\_client\_platform 0x0000000106fe4ba0 \_NARPlatformUtils\_GetInterfaceOrientation + 148  
6 libdispatch.dylib 0x0000000180665914 \_dispatch\_call\_block\_and\_release + 32 (init.c:1517)  
7 libdispatch.dylib 0x0000000180667660 \_dispatch\_client\_callout + 20 (object.m:560)  
8 libdispatch.dylib 0x000000018066ede4 \_dispatch\_lane\_serial\_drain + 672 (inline\_internal.h:2601)  
9 libdispatch.dylib 0x000000018066f958 \_dispatch\_lane\_invoke + 392 (queue.c:3937)  
10 libdispatch.dylib 0x000000018067a1a8 \_dispatch\_workloop\_worker\_thread + 656 (queue.c:6727)  
11 libsystem\_pthread.dylib 0x00000001f0c960f4 \_pthread\_wqthread + 288 (pthread.c:2541)  
12 libsystem\_pthread.dylib 0x00000001f0c95e94 start\_wqthread + 8

Thread 5 name:  
Thread 5:  
0 libsystem\_kernel.dylib 0x00000001b7836504 mach\_msg\_trap + 8  
1 libsystem\_kernel.dylib 0x00000001b7836b9c mach\_msg + 76 (mach\_msg.c:119)  
2 CoreFoundation 0x0000000180963688 \_\_CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)  
3 CoreFoundation 0x000000018096797c \_\_CFRunLoopRun + 1212 (CFRunLoop.c:3000)  
4 CoreFoundation 0x000000018097b3b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)  
5 Foundation 0x0000000182196354 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236 (NSRunLoop.m:373)  
6 Foundation 0x00000001821d7c28 -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:420)  
7 UIKitCore 0x00000001832948a4 -[UIEventFetcher threadMain] + 524 (UIEventFetcher.m:1167)  
8 Foundation 0x00000001821e636c **NSThread\_\_start** + 808 (NSThread.m:972)  
9 libsystem\_pthread.dylib 0x00000001f0c969a4 \_pthread\_start + 148 (pthread.c:891)  
10 libsystem\_pthread.dylib 0x00000001f0c95ea0 thread\_start + 8

Thread 6 name:  
Thread 6:  
0 libsystem\_kernel.dylib 0x00000001b7836504 mach\_msg\_trap + 8  
1 libsystem\_kernel.dylib 0x00000001b7836b9c mach\_msg + 76 (mach\_msg.c:119)  
2 CoreFoundation 0x0000000180963688 \_\_CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)  
3 CoreFoundation 0x000000018096797c \_\_CFRunLoopRun + 1212 (CFRunLoop.c:3000)  
4 CoreFoundation 0x000000018097b3b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)  
5 AudioSession 0x0000000189d0f308 CADeprecated::GenericRunLoopThread::Entry(void\*) + 164 (GenericRunLoopThread.h:95)  
6 AudioSession 0x0000000189d18d64 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread\*) + 92 (CAPThread.cpp:324)  
7 libsystem\_pthread.dylib 0x00000001f0c969a4 \_pthread\_start + 148 (pthread.c:891)  
8 libsystem\_pthread.dylib 0x00000001f0c95ea0 thread\_start + 8

Thread 7:  
0 libsystem\_kernel.dylib 0x00000001b7836540 semaphore\_wait\_trap + 8  
1 UnityFramework 0x0000000105ba9588 0x104dd8000 + 14488968  
2 UnityFramework 0x0000000105bc5b50 0x104dd8000 + 14605136  
3 libsystem\_pthread.dylib 0x00000001f0c969a4 \_pthread\_start + 148 (pthread.c:891)  
4 libsystem\_pthread.dylib 0x00000001f0c95ea0 thread\_start + 8

Thread 8 name:  
Thread 8:  
0 libsystem\_kernel.dylib 0x00000001b7836504 mach\_msg\_trap + 8  
1 libsystem\_kernel.dylib 0x00000001b7836b9c mach\_msg + 76 (mach\_msg.c:119)  
2 CoreFoundation 0x0000000180963688 \_\_CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)  
3 CoreFoundation 0x000000018096797c \_\_CFRunLoopRun + 1212 (CFRunLoop.c:3000)  
4 CoreFoundation 0x000000018097b3b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)  
5 CoreFoundation 0x00000001809fba78 CFRunLoopRun + 64 (CFRunLoop.c:3293)  
6 CoreMotion 0x000000018d95b544 CLMotionCore::runMotionThread(void\*) + 1204 (CLMotionCore.mm:370)  
7 libsystem\_pthread.dylib 0x00000001f0c969a4 \_pthread\_start + 148 (pthread.c:891)  
8 libsystem\_pthread.dylib 0x00000001f0c95ea0 thread\_start + 8

Thread 9:  
0 libsystem\_kernel.dylib 0x00000001b7836f90 \_\_psynch\_cvwait + 8  
1 libsystem\_pthread.dylib 0x00000001f0c9d254 \_pthread\_cond\_wait + 1228 (pthread\_cond.c:636)  
2 libc++.1.dylib 0x0000000199103e78 std::\_\_1::condition\_variable::\_\_do\_timed\_wait(std::\_\_1::unique\_lockstd::\_\_1::mutex&, std::\_\_1::chrono::time\_point\<std::\_\_1::chrono::system\_clock, std::\_\_1::chrono::duration\<long long, std::\_\_1::r… + 100 (\_\_threading\_support:443)  
3 ardk\_client\_platform 0x0000000107ebe8f8 0x106fb0000 + 15788280  
4 libsystem\_pthread.dylib 0x00000001f0c95ea0 thread\_start + 8

Thread 10:  
0 libsystem\_kernel.dylib 0x00000001b7836540 semaphore\_wait\_trap + 8  
1 UnityFramework 0x0000000105ba9588 0x104dd8000 + 14488968  
2 UnityFramework 0x0000000105bc5b50 0x104dd8000 + 14605136  
3 libsystem\_pthread.dylib 0x00000001f0c969a4 \_pthread\_start + 148 (pthread.c:891)  
4 libsystem\_pthread.dylib 0x00000001f0c95ea0 thread\_start + 8

Thread 11 name:  
Thread 11:  
0 libsystem\_kernel.dylib 0x00000001b7838570 write$NOCANCEL + 8  
1 libsystem\_c.dylib 0x000000018b8269f8 \_\_swrite + 24 (stdio.c:71)  
2 libsystem\_c.dylib 0x000000018b81b99c \_swrite + 108 (stdio.c:133)  
3 libsystem\_c.dylib 0x000000018b81c874 \_\_sflush + 232 (fflush.c:149)  
4 libsystem\_c.dylib 0x000000018b83bbc0 \_fwalk + 80 (fwalk.c:65)  
5 libsystem\_c.dylib 0x000000018b832f1c abort + 112 (abort.c:85)  
6 libsystem\_c.dylib 0x000000018b88996c \_\_assert\_rtn + 300 (assert.c:96)  
7 ardk\_client\_platform 0x0000000107f3cd94 0x106fb0000 + 16305556  
8 ardk\_client\_platform 0x00000001079c5ba8 zsock\_set\_sndtimeo + 184  
9 ardk\_client\_platform 0x00000001079a7e14 0x106fb0000 + 10452500  
10 libsystem\_pthread.dylib 0x00000001f0c969a4 \_pthread\_start + 148 (pthread.c:891)  
11 libsystem\_pthread.dylib 0x00000001f0c95ea0 thread\_start + 8

Thread 12 name:  
Thread 12 Crashed:  
0 libsystem\_kernel.dylib 0x00000001b783c964 \_\_pthread\_kill + 8  
1 libsystem\_pthread.dylib 0x00000001f0c9c378 pthread\_kill + 268 (pthread.c:1610)  
2 libsystem\_c.dylib 0x000000018b832f50 abort + 164 (abort.c:118)  
3 libsystem\_c.dylib 0x000000018b88996c \_\_assert\_rtn + 300 (assert.c:96)  
4 ardk\_client\_platform 0x0000000107f3cd94 0x106fb0000 + 16305556  
5 ardk\_client\_platform 0x00000001079c5ba8 zsock\_set\_sndtimeo + 184  
6 ardk\_client\_platform 0x00000001079a7e14 0x106fb0000 + 10452500  
7 libsystem\_pthread.dylib 0x00000001f0c969a4 \_pthread\_start + 148 (pthread.c:891)  
8 libsystem\_pthread.dylib 0x00000001f0c95ea0 thread\_start + 8

Thread 13:  
0 libsystem\_pthread.dylib 0x00000001f0c95e8c start\_wqthread + 0

Thread 14:  
0 libsystem\_pthread.dylib 0x00000001f0c95e8c start\_wqthread + 0

Thread 15 name:  
Thread 15:  
0 libsystem\_kernel.dylib 0x00000001b7836504 mach\_msg\_trap + 8  
1 libsystem\_kernel.dylib 0x00000001b7836b9c mach\_msg + 76 (mach\_msg.c:119)  
2 CoreFoundation 0x0000000180963688 \_\_CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)  
3 CoreFoundation 0x000000018096797c \_\_CFRunLoopRun + 1212 (CFRunLoop.c:3000)  
4 CoreFoundation 0x000000018097b3b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)  
5 CoreFoundation 0x00000001809fba78 CFRunLoopRun + 64 (CFRunLoop.c:3293)  
6 ANEServices 0x00000001c063a900 H11ANE::H11ANEServicesThreadStart(H11ANE::H11ANEServicesThreadParams\*) + 132 (H11ANEServicesPrivate.mm:148)  
7 libsystem\_pthread.dylib 0x00000001f0c969a4 \_pthread\_start + 148 (pthread.c:891)  
8 libsystem\_pthread.dylib 0x00000001f0c95ea0 thread\_start + 8

Thread 16:  
0 libsystem\_pthread.dylib 0x00000001f0c95e8c start\_wqthread + 0

Thread 17 name:  
Thread 17:  
0 libsystem\_kernel.dylib 0x00000001b7836504 mach\_msg\_trap + 8  
1 libsystem\_kernel.dylib 0x00000001b7836b9c mach\_msg + 76 (mach\_msg.c:119)  
2 CoreFoundation 0x0000000180963688 \_\_CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)  
3 CoreFoundation 0x000000018096797c \_\_CFRunLoopRun + 1212 (CFRunLoop.c:3000)  
4 CoreFoundation 0x000000018097b3b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)  
5 AVFCore 0x0000000189d6279c -[AVRunLoopCondition \_waitInMode:untilDate:] + 412 (AVRunLoopCondition.m:174)  
6 AVFCapture 0x000000019f428b84 -[AVCaptureSession \_stopFigCaptureSession] + 436 (AVCaptureSession.m:2014)  
7 AVFCapture 0x000000019f40b8b8 -[AVCaptureSession \_setRunning:] + 180 (AVCaptureSession.m:2086)  
8 ARKitCore 0x00000001b4f9add8 -[ARParentImageSensor stop] + 552 (ARParentImageSensor.m:294)  
9 ARKitCore 0x00000001b4f3d5b8 -[ARSession \_stopAllSensors] + 604 (ARSession.m:4040)  
10 ARKitCore 0x00000001b501f2d8 \_\_18-[ARSession pause]\_block\_invoke + 132 (ARSession.m:879)  
11 libdispatch.dylib 0x0000000180665914 \_dispatch\_call\_block\_and\_release + 32 (init.c:1517)  
12 libdispatch.dylib 0x0000000180667660 \_dispatch\_client\_callout + 20 (object.m:560)  
13 libdispatch.dylib 0x000000018066ede4 \_dispatch\_lane\_serial\_drain + 672 (inline\_internal.h:2601)  
14 libdispatch.dylib 0x000000018066f98c \_dispatch\_lane\_invoke + 444 (queue.c:3937)  
15 libdispatch.dylib 0x000000018067a1a8 \_dispatch\_workloop\_worker\_thread + 656 (queue.c:6727)  
16 libsystem\_pthread.dylib 0x00000001f0c960f4 \_pthread\_wqthread + 288 (pthread.c:2541)  
17 libsystem\_pthread.dylib 0x00000001f0c95e94 start\_wqthread + 8

Thread 18:  
0 libsystem\_pthread.dylib 0x00000001f0c95e8c start\_wqthread + 0

Thread 12 crashed with ARM Thread State (64-bit):  
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000  
x4: 0x0000000000000000 x5: 0x00000001030f8750 x6: 0x0000000000000008 x7: 0x0000000000000000  
x8: 0xb05296eb639ca7e4 x9: 0xb05296ea0c9157e4 x10: 0x000000000000000c x11: 0x000000000000000a  
x12: 0x0000000000000000 x13: 0x0000000000000033 x14: 0x0000000042447000 x15: 0x0000000000047000  
x16: 0x0000000000000148 x17: 0x000000016f0df000 x18: 0x0000000000000000 x19: 0x0000000000000006  
x20: 0x000000000000bc03 x21: 0x000000016f0df0e0 x22: 0x00000001080f4db5 x23: 0x0000000000000000  
x24: 0x00000001d7774000 x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000  
x28: 0x0000000000000000 fp: 0x000000016f0deea0 lr: 0x00000001f0c9c378  
sp: 0x000000016f0dee80 pc: 0x00000001b783c964 cpsr: 0x40000000  
esr: 0x56000080 Address size fault

Binary Images:  
0x102c80000 - 0x102c87fff galleryv1 arm64 \<0c6b2bf76a823a248b49668fea2a160e\> /private/var/containers/Bundle/Application/24B80CE7-5CC0-4FFD-B11B-E3A1ADB0A279/galleryv1.app/galleryv1  
0x102ed0000 - 0x102f27fff dyld arm64e /usr/lib/dyld  
0x104dd8000 - 0x1068cffff UnityFramework arm64 \<9553a7f0fcb23031a2c6b8bb103cc190\> /private/var/containers/Bundle/Application/24B80CE7-5CC0-4FFD-B11B-E3A1ADB0A279/galleryv1.app/Frameworks/UnityFramework.framework/UnityFramework  
0x106fb0000 - 0x1082f7fff ardk\_client\_platform arm64 /private/var/containers/Bundle/Application/24B80CE7-5CC0-4FFD-B11B-E3A1ADB0A279/galleryv1.app/Frameworks/ardk\_client\_platform.framework/ardk\_client\_platform  
0x180663000 - 0x1806a9fff libdispatch.dylib arm64e /usr/lib/system/libdispatch.dylib  
0x18095c000 - 0x180daffff CoreFoundation arm64e /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation  
0x18217e000 - 0x182483fff Foundation arm64e /System/Library/Frameworks/Foundation.framework/Foundation  
0x182e02000 - 0x184686fff UIKitCore arm64e \<8388eb03002b3b35a78a6a022894292e\> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore  
0x189d09000 - 0x189d32fff AudioSession arm64e \<99ff741f34943edf82b7c03c916ebad3\> /System/Library/PrivateFrameworks/AudioSession.framework/AudioSession  
0x189d33000 - 0x189f44fff AVFCore arm64e /System/Library/PrivateFrameworks/AVFCore.framework/AVFCore  
0x18b813000 - 0x18b891fff libsystem\_c.dylib arm64e \<30a1668a329d30009f747b42b21fe0fd\> /usr/lib/system/libsystem\_c.dylib  
0x18d948000 - 0x18dc54fff CoreMotion arm64e \<7464cd4b1ec7342392ce51becea40ca3\> /System/Library/Frameworks/CoreMotion.framework/CoreMotion  
0x1924c3000 - 0x19256efff FrontBoardServices arm64e \<6fdec0c3e5003e06948ee34bda520801\> /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices  
0x1990fa000 - 0x19915dfff libc++.1.dylib arm64e \<255864c483d93bac8c7aad1b2d8a60cc\> /usr/lib/libc++.1.dylib  
0x19c30a000 - 0x19c312fff GraphicsServices arm64e \<44e4515eb18737f18fe028e7b087daf5\> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices  
0x19f3d7000 - 0x19f4d3fff AVFCapture arm64e \<111e54c321dd3ab28eb926c92768717e\> /System/Library/PrivateFrameworks/AVFCapture.framework/AVFCapture  
0x1a0707000 - 0x1a071efff libsystem\_asl.dylib arm64e /usr/lib/system/libsystem\_asl.dylib  
0x1b4f18000 - 0x1b51b3fff ARKitCore arm64e \<2505585a69c533d1b350a9db9b68c25e\> /System/Library/PrivateFrameworks/ARKitCore.framework/ARKitCore  
0x1b7835000 - 0x1b7868fff libsystem\_kernel.dylib arm64e /usr/lib/system/libsystem\_kernel.dylib  
0x1c062a000 - 0x1c0647fff ANEServices arm64e /System/Library/PrivateFrameworks/ANEServices.framework/ANEServices  
0x1f0c95000 - 0x1f0ca0fff libsystem\_pthread.dylib arm64e \<1a4a45fd1bb639df84140590ce103717\> /usr/lib/system/libsystem\_pthread.dylib

EOF

---

<div class="post-metadata">

**Author:** ![Lucas\_D\_x27\_Avila](https://avatars.discourse-cdn.com/v4/letter/l/71c47a/32.png) [@Lucas\_D\_x27\_Avila](https://community.nianticspatial.com/u/Lucas_D_x27_Avila)\
**Post date:** [April 13, 2022, 5:40am UTC](https://community.nianticspatial.com/t/ardk-ios-application-crashes-on-application-force-close/1824/2 "2022-04-13T05:40:58Z")

</div>

I was able to reproduce the same errors on a fresh project using:

- ARDK v1.3
- Unity 2021.2.5f1
- iOS Build
- ARDK Example Projects

## Prerequisites

1. Apple MacBook M1 Pro
2. iPhone 13 with latest iOS

## Steps to reproduce:

1. Download ARDK 1.3
2. Download ARDK Example Projects
3. Create new 3D Unity Project for 2021.2.5f1 Apple Silicon
4. Import ARDK 1.3 and ARDK Example Projects
5. Follow steps to add ARDK App Token
6. Open the Plane Anchors Sample Scene
7. Setup build settings for iOS using these docs: [Niantic SDK for Unity Developer Documentation | Niantic Spatial Platform](https://lightship.dev/docs/building_ios.html)
8. Build project
9. Plug in your iPhone into your Mac
10. Target the application on Xcode to run on your iPhone
11. Use the app on your iPhone
12. Close the app on your iPhone
13. See errors on Xcode

---

<div class="post-metadata">

**Author:** ![Lucas\_D\_x27\_Avila](https://avatars.discourse-cdn.com/v4/letter/l/71c47a/32.png) [@Lucas\_D\_x27\_Avila](https://community.nianticspatial.com/u/Lucas_D_x27_Avila)\
**Post date:** [April 13, 2022, 5:45am UTC](https://community.nianticspatial.com/t/ardk-ios-application-crashes-on-application-force-close/1824/3 "2022-04-13T05:45:37Z")

</div>

Attaching video on what the actions look like running the app locally on your iPhone device to reproduce.

[https://us1.discourse-cdn.com/niantic/original/1X/46eb0b32ad93fbc6bf23b19aabb1fd6378cba318.MP4](https://us1.discourse-cdn.com/niantic/original/1X/46eb0b32ad93fbc6bf23b19aabb1fd6378cba318.MP4)

---

<div class="post-metadata">

**Author:** ![Kevin\_W\_Young](https://avatars.discourse-cdn.com/v4/letter/k/898d66/32.png) [@Kevin\_W\_Young](https://community.nianticspatial.com/u/Kevin_W_Young)\
**Post date:** [April 13, 2022, 6:14pm UTC](https://community.nianticspatial.com/t/ardk-ios-application-crashes-on-application-force-close/1824/4 "2022-04-13T18:14:44Z")

</div>

Hi Lucas,  
I have followed the steps you have provided, but am unable to recreate the crash or the error that you have provided. My setup is a Macbook pro with Intel chip and the app is built on Unity 2020.3.33. Niantic recommends M1 users to continue using 2020.3 LTS until M1 can be fully supported, and so it may resolve your issue if you try running it on that version of Unity instead of 2021. You can refer to the announcement of M1 support here.

---

<div class="post-metadata">

**Author:** ![Edgaras](https://sea2.discourse-cdn.com/niantic/user_avatar/community.nianticspatial.com/edgaras/32/1410_2.png) [@Edgaras](https://community.nianticspatial.com/u/Edgaras)\
**Post date:** [December 11, 2022, 2:38pm UTC](https://community.nianticspatial.com/t/ardk-ios-application-crashes-on-application-force-close/1824/6 "2022-12-11T14:38:44Z")

</div>

Hello! We have the same issue described above. Can you confirm that Lightship ARDK should still not be used with 2021.3 LTS, only with 2020.3 LTS?

---

<div class="post-metadata">

**Author:** ![Adam\_Czibere1](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@Adam\_Czibere1](https://community.nianticspatial.com/u/Adam_Czibere1)\
**Post date:** [March 21, 2023, 9:32am UTC](https://community.nianticspatial.com/t/ardk-ios-application-crashes-on-application-force-close/1824/7 "2023-03-21T09:32:11Z")

</div>

We have similar issues building with Unity 2021.3.16, I would rather not downgrade to 2020 if not necessary. Can somebody confirm that this fixes the issue? I am using Macbook Air M2 by the way.

---

<div class="post-metadata">

**Author:** ![Maverick\_Niantic](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@Maverick\_Niantic](https://community.nianticspatial.com/u/Maverick_Niantic)\
**Post date:** [March 5, 2026, 11:28pm UTC](https://community.nianticspatial.com/t/ardk-ios-application-crashes-on-application-force-close/1824/8 "2026-03-05T23:28:39Z")

</div>


