When I check the box in Project Settings → XR Plug-in Management for Apple ARKit and try and build I get the following error:
ExecutionFailedException: Execution of actool failed with exit code 72. stderr:
xcrun: error: unable to find utility “actool”, not a developer tool or in PATH
I also get the same error if I try and build the arfoundation-samples project.
Xcode and command line tools were both installed but Xcode > Preferences > Locations > Command Line Tools was blank for some reason. Changing that fixed it… thanks for your help!
I am getting this error. I have Command Line Tools installed. I reinstalled this after I read this, but this did not solve my problem.
Update - I fixed this by going to XCode>Settings>Locations>Command Line Tools (note preferences has been changed to Settings). It showed the Command Line Tools version but had some odd text that XCode was not selected even though it showed a version in the box. I clicked the box. It asked for my password. Once I entered my password, the error cleared, and everything worked.