Posts

Post marked as solved
3 Replies
Apple is selling the dongle to developers to help them when they have an application with enhance graphics. It’s not being offered except through the developers website.
Post not yet marked as solved
3 Replies
You can add a visionOS Platform in App Store Connect. But then if you want to submit for that platform, you'd have to submit a visionOS binary, not one for 'visionOS (designed for iPad)'. To do that, go to your build settings and under Architectures, set Base SDK to 'visionOS'. Then you will see the Destination 'Any visionOS Device (arm64)' in Xcode. If you keep the Base SDK as 'iOS' and submit a binary, it will be sent to your iOS app Platform. It won't be seen by a visionOS Platform.
Post marked as solved
2 Replies
Thank you rmahnud28.
Post marked as solved
1 Replies
I just added the visionOS platform to one of my apps and got a message about not being able to mess with metadata or upload a binary at this time. Okay, I think I got my answer by clicking the little checkbox.
Post not yet marked as solved
4 Replies
You didn't save your model with insert. You only inserted the data into the context. You need to either save the context or wait for an auto save.
Post not yet marked as solved
2 Replies
You problem know this, but SwiftData works fine now on visionOS.
Post not yet marked as solved
2 Replies
You might need to import VisionKit.
Post not yet marked as solved
1 Replies
In Page, try this @Relationship(deleteRule: .cascade, inverse: \Line.page) var pages: [Page] In Line, simply try the following var page: Page No need for @Relationship here as SwiftData infers this.
Post not yet marked as solved
22 Replies
I'm getting the warnings too, but I was able to build with the warnings and I've submitted the binary to App Store Connect. There were also some other gotchas that I had to resolve. The Mac build was linking to my watch app where it never did so before. I had to go into the build settings and click off the Mac dependency.
Post not yet marked as solved
3 Replies
Are you using the default iCloud container or did you define one yourself? I don't see your ModelConfiguration init. Something like the folliowing. let modelConfig = ModelConfiguration(schema: schema, cloudKitDatabase: .private("iCloud.com.mycompany.name")) do { container = try ModelContainer(for: schema, configurations: [modelConfig]) } catch { fatalError("Could not create ModelContainer: \(error)") }