Did you find the solution to this error? I'm trying to use the API too but am getting the same error.
Topic:
Spatial Computing
SubTopic:
ARKit