Post

Replies

Boosts

Views

Activity

Reply to SwiftData project segfaults when I enabled iCloud sync
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)") }
Oct ’23
Reply to Profiles
Check out this link to manually generate a provisioning profile. https://developer.apple.com/help/account/manage-profiles/create-a-development-provisioning-profile/ However, many of us find it much easier to let Xcode automatically generate the provisioning profile. See the image below.
Oct ’23