Incompatibility probem with XCode 15/iOS 17

Bug reproduction steps:

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

  • Issue category: Unity XCode
  • Device type & OS version: iPhone 12 Pro
  • Host machine & OS version: XCode
  • Issue Environment : On Build
  • Xcode version: Version 15 beta 2
  • ARDK version: 2.5.1
  • Unity version: 2021.3.26f1

Bug reproduction steps:

Build latest ARDK Unity project to XCode

Connect iPhone 12 Pro Max and press build to device. This error occurs:

Thread 1: EXC_BAD_ACCESS (code=1, address=0x40a0000000000100)

Have a look at this post I made: There might be some workarounds, or at least an explanation of whats wrong

Hello Chongjie,

I’m unable to see the post Samuel is referring to, but there was a Unity/Xcode bug in a previous version that required turning off the Thread Performance Checker that presented similarly.

The workaround for that was to open Xcode and go to Product > Scheme > Edit Scheme to display the scheme editor. Select Run, navigate to the Diagnostics section, and unselect the Thread Performance Checker tool checkbox as shown below.

I don’t have the same setup so I’m unable to verify if this will solve your issue, but it could be worth trying. Please let me know if this works for you.