Reality Composer integration into Xcode

Hello All,

hope someone can help with this issue I have encountered.

I was using the Reality Composer to create an image anchor AR scene. I could load it in a previous version of Xcode and it worked fine. I upgraded Xcode from 12 to 13 and it still worked fine. when I try to change the Reality Composer file and run it again I receive a runtime error that the anchor was failed to be created because the anchor does not have an asset named locatorImage.png.

var imageAnchor: RealComp.Scene?

// to simply load the file in the viewDidLoad:

imageAnchor = try! RealComp.loadScene()

Fatal error: 'try!' expression unexpectedly raised an error: Failed to create anchor file because the archive does not have an asset named locatorImage.png.

Has anyone else come across this issue? The archive refers to the realityComposer file? - it does contain the image - as per previous

Hope someone can help :-)

Reality Composer integration into Xcode
 
 
Q