Latet ARDK XCode crashes on build for iPhone 14 Pro Max and 13 (etc)

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

  • Issue category: Unity XCode
  • Device type & OS version: iPhone 14 Pro Max
  • Host machine & OS version: XCode
  • Issue Environment : On Build
  • Xcode version: Version 14.2 (14C18)
  • ARDK version: 2.5.1
  • Unity version: 2021.3.13f1

Bug reproduction steps:

Build latest ARDK Unity project to XCode

Connect iPhone 14 Pro Max and press build to device. This error occurs:
Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1097ad034)

Hello Ina,

Thank you for your report.

This error occurs when using iOS 16 with XCode 14.

As a workaround, please open XCode and go to Product > Scheme > Edit Scheme. Then navigate to Run > Diagnostics and deselect Thread Performance Checker. This should solve the issue.

Alternatively, you could also downgrade your XCode to a previous version to avoid this error.

Please see this community post if you’d like more information.