Hello,
Have you set your system's active developer directory to your new
Xcode 12 Beta 1 install ?
If it is still pointing to a previous version of Xcode, like Xcode 11.5, that might be the cause of the error.
You can switch from one Xcode install to another with the following commands:
Code Block sh# Print current active developer directory. |
xcode-select --print-path |
# Set active developer directory to a new Xcode install |
sudo xcode-select --switch <path/to/Xcode-beta.app> |
Once you have updated your active developer directory, I invite you to rebuild your project from scratch (
Xcode -> Product -> Clean and
Xcode -> Project -> Build), and try debugging it again.
If everything is set correctly and the error is still showing up, could you please submit a feedback with the code that triggers the error and specify your project's deployment target version ?
Thanks.