Closed Phantomxm2021 closed 1 year ago
We are facing the same issue.
It only happens when the device is connected to Xcode 14, and the device is iOS16. The app runs smoothly when not connected to Xcode or when the iOS version is iOS15.
[Edit, note: this log also appears when connected device is running iOS15] In addition, we also have the following message in the logs: warning: UnityFramework was compiled with optimization - stepping may behave oddly; variables may not be available.
Is it just the debugging/console in Xcode that doesn't work?
With this example, it is impossible to launch the app on iOS 16 if it is connected to Xcode. If not connected to Xcode, it works.
The issue is you can't debug you app if the device is on iOS 16.
Is it just the debugging/console in Xcode that doesn't work?
NO, some unity features can not working~ e.g. ARFoundation will be black screen (Work in iOS15)
With this example, it is impossible to launch the app on iOS 16 if it is connected to Xcode. If not connected to Xcode, it works.
- Connect your device to the mac with a cable
- Build in Xcode and deploy to your iOS 16 device
- You can't continue and see the above error
- Unplug the cable
- Relaunch the app just deployed from Xcode
- The app works
The issue is you can't debug you app if the device is on iOS 16.
Yes, I do it. But some unity features can not working. e.g. ARFoundation will be black screen (Work in iOS15)
THE Bug case Id: IN-18281
IN-18281 reference on Unity forum: https://forum.unity.com/threads/in-18281-uaal-not-work-on-ios16.1343546/
The issue is closed. What do we need to do to make it work?
For anyone still struggling, the workaround is disabling the Thread Performance Checker in your scheme > run > diagnostics (screenshot below)