Did either of you manage to find a solution to this?
Post
Replies
Boosts
Views
Activity
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!
@julia_brockovich I've submitted feedback FB12021387.
Document Types from info.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeIconSystemGenerated</key>
<integer>1</integer>
<key>CFBundleTypeName</key>
<string>Core Data Model</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>com.apple.xcode.model.data</string>
</array>
</dict>
</array>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
</dict>
</plist>
The app is a macOS Document app built using SwiftUI
I’ve been working on a replacement CoreData graph viewer - if you'd be interested in being a beta tester, please let me know. My email address is on my StackOverflow profile
https://stackoverflow.com/users/123632/ashley-mills?tab=profile
I can report that Xcode 13.3 is still terrible for our large project. Almost unusable, and people are still having to develop using 12.5.1, which is going to become a real issue when 13 becomes a requirement for submission very soon.
I'm using Xcode Version 13.2 RC (13C90). It's a little better, but I'm still having many instances where the entire UI hangs for a few seconds - so not fixed for me
I got an email asking for additional information, but I can't see that they're asking for anything on the actual ticket. The only update I see is the number of similar tickets…
Recent Similar Reports:Less than 10
For info, my ticket is FB9780474 (Xcode is laggy as hell)
Xcode 13.1 on a week old MacBook Pro 16" M1 Max with 64GB RAM and it's laggy as hell. 🤦🏻♂️
I'm seeing this for one of my containers today - did anyone manage to resolve this?
Did you find a resolution to this issue? I'm seeing it happen one or two times per day