Thank you for that - running on a Mac without Xcode installed did indeed reproduce the issue!
Adding the following to the info.plist fixed the error that was appearing:
<key>UTImportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeDescription</key>
<string>Core Data Model</string>
<key>UTTypeIcons</key>
<dict/>
<key>UTTypeIdentifier</key>
<string>com.apple.xcode.model.data</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>xcdatamodel</string>
</array>
</dict>
</dict>
</array>
The app is used to open and view .xcdatamodel file (which is actually a package), and then writes an additional file within the .xcdatamodel package. Unfortunately, when Xcode isn't installed, the .xcdatamodel isn't recognised as a package, just a regular folder.
I resolved this by adding a new exported type that conformed to com.apple.package
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>com.apple.xcode.model.data</string>
<string>com.apple.package</string>
</array>
<key>UTTypeDescription</key>
<string>Core Data Model</string>
<key>UTTypeIcons</key>
<dict/>
<key>UTTypeIdentifier</key>
<string>uk.co.joylordsystems.xcode.model.data</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>xcdatamodel</string>
</array>
</dict>
</dict>
</array>
This seems to have resolved my issues.
Again, thank you for your help!