You can use a PersistentModel object in XCTest.
You have to create a ModelContainer as a property of XCTestCase - see the default template code that is supporting the Item model. Seems you have to pretend with @MainActor. For the config enabled store in memory only.
Use container.mainContext.insert() to add objects to the model.
Post
Replies
Boosts
Views
Activity
I went back in time to Xcode 12.4 on Catalina, the error message is different, it refers to contracts in need of signing. Not UUID (which 12.5 does).
I now wondering if it is because I am still a member of organisations that are no longer program members. So wondering if the error is triggered by any organisation that hasn't signed, rather than the one for which I'm notarising code for.
In developer.apple, any organisation that I have been a member of is still listed. However, Xcode now only shows the two that are active. So there is an inconsistency.
FB9206318 has the screen shots, Quinn.
I'll need to figure out where to find all the arguments for altool - have not needed to know all those the details....