# An error occurred while running in Xcode and the iPhone screen went black

**URL:** <https://community.nianticspatial.com/t/an-error-occurred-while-running-in-xcode-and-the-iphone-screen-went-black/2949>\
**Category:** I'm Stuck\
**Created:** [November 10, 2022, 9:08am UTC](https://community.nianticspatial.com/t/an-error-occurred-while-running-in-xcode-and-the-iphone-screen-went-black/2949 "2022-11-10T09:08:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noriko\_Horie](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Noriko\_Horie](https://community.nianticspatial.com/u/Noriko_Horie)\
**Post date:** [November 10, 2022, 9:08am UTC](https://community.nianticspatial.com/t/an-error-occurred-while-running-in-xcode-and-the-iphone-screen-went-black/2949/1 "2022-11-10T09:08:02Z")

</div>

_Include the following details (edit as applicable):_

- **Issue category** : Unity Example Package
- **Device type & OS version** : iPhone 11 Pro+ on iOS 16.1
- **Host machine & OS version** : Mac on Monterey v12.6.1
- **Issue Environment** : On Device
- **Xcode version** : 14.1
- **ARDK version** : 2.3.0
- **Unity version** : 2021.3.11f1

Description of the issue:  
I ran ARDKExample from Lightship ARDK 2.3.0 in Xcode. However, Xcode displayed an error and the actual iPhone screen went black. Please tell me how to solve this problem. Please tell me how to solve this problem.

 ![スクリーンショット 2022-11-10 17.49.34](https://us1.discourse-cdn.com/niantic/original/2X/7/7f5478eac57d6bd3b29d66213c548bfb45fb9afd.jpeg)

---

<div class="post-metadata">

**Author:** ![Jesus\_Niantic](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@Jesus\_Niantic](https://community.nianticspatial.com/u/Jesus_Niantic)\
**Post date:** [November 10, 2022, 8:20pm UTC](https://community.nianticspatial.com/t/an-error-occurred-while-running-in-xcode-and-the-iphone-screen-went-black/2949/2 "2022-11-10T20:20:54Z")

</div>

Hello Hiroe,

At the moment this is a known issue when building for iOS 16 while using XCode 14. Your options would either be to manually launch your project without XCode or downgrade to XCode 13 if you would like to use XCode.

---

<div class="post-metadata">

**Author:** ![Noriko\_Horie](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Noriko\_Horie](https://community.nianticspatial.com/u/Noriko_Horie)\
**Post date:** [November 11, 2022, 1:33am UTC](https://community.nianticspatial.com/t/an-error-occurred-while-running-in-xcode-and-the-iphone-screen-went-black/2949/3 "2022-11-11T01:33:37Z")

</div>

Hello Jesus Hernandez

I manually launched the application and it works fine.  
Thank you for your reply.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/niantic/user_avatar/community.nianticspatial.com/system/32/13_2.png) [@system](https://community.nianticspatial.com/u/system)\
**Post date:** [November 11, 2022, 3:34am UTC](https://community.nianticspatial.com/t/an-error-occurred-while-running-in-xcode-and-the-iphone-screen-went-black/2949/4 "2022-11-11T03:34:36Z")

</div>

This topic was automatically closed 2 hours after the last reply. New replies are no longer allowed.
