Post

Replies

Boosts

Views

Activity

Reply to XCode reverts CoreData's .xccurrentversion
Hi Ziqiao, Thanks for help me out. I tried to create a new project and indeed there is no issue. I tried to move my model that has the issue to the new project and the issue persist. So your speculation of my .xcdatamodeld being weird is correct. You can find my project that reproduces the issue here: https://drive.google.com/file/d/1nHYsl9JANR9YI4jpXA98wDWp28BGQh50/view?usp=sharing. Before opening the project, you can see that coredataissue/Model.xcdatamodeld/.xccurrentversion is GroupMetaData.xcdatamodel, but after opening the xcode project, the coredataissue/Model.xcdatamodeld/.xccurrentversion becomes Model.xcdatamodel.
Apr ’25
Reply to XCode reverts CoreData's .xccurrentversion
That's interesting. I created this model in Version 16.3 (16E140), which I believe is the current stable XCode release. I created new models using Editor > Add Model Version.... I just tested creating another model, and the new one still contains usedWithSwiftData="YES". I don't need my models to be SwiftData compatible at this moment. So, do you think removing this field would resolve the issue?
Apr ’25
Reply to Unable to launch tests in Xcode 26
Same issue encountered on XCode 26.2 with Simulator iPhone 17 Pro in iOS 26.2. The tests won't run in simulators because of issue "The test runner hung before establishing connection.", but they run fine on physical devices and iPhone 17 Pro Simulator in iOS 26.1. The FB report id is FB21363735, which is still collecting diagnostics and will be sent in a moment.
Dec ’25