I'm trying to add an AR Reference Image to the ARKit Image detection sample project in Xcode 9.3 beta 2.
I drag an image to the AR Resource Image slot, but it's content.json won't include the filename:
"images" : [
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"width" : 16.875,
"unit" : "centimeters"
}
}
Adding the filename manually seems to work in the sample project:
"images" : [
{
"idiom" : "universal",
"filename" : "LaunchScreen-iPhonePortrait.png"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"width" : 16.875,
"unit" : "centimeters"
}
}
Edit: This seems to be a bug. It works correctly when you don't create an AR Reference Image slot via the context menu, but directly drag the image to the Resource group.