I have an app (currently not released on App Store) which runs on both iOS and macOS. The app has widgets for both iOS and macOS which uses user preference (set in app) into account while showing data. Before upgrading to macOS 15 (until Sonoma) widgets were working fine and app was launching correctly, but after upgrading to macOS 15 Sequoia, every time I launch the app it give popup saying '“Kontest” would like to access data from other apps. Keeping app data separate makes it easier to manage your privacy and security.' and also widgets do not get user preferences and throw the same type of error on Console application when using logging. My App group for both iOS and macOS is 'group.com.xxxxxx.yyyyy'. I am calling it as 'UserDefaults(suiteName: Constants.userDefaultsGroupID)!.bool(forKey: "shouldFetchAllEventsFromCalendar")'. Can anyone tell, what am I doing wrong here?
The good news here is that we’re in the process of fixing this:
-
We recently started seeding Xcode 16.3 beta, which enables iOS-style app groups in macOS apps.
-
At the same time we updated the Developer website to include iOS-style app groups in Mac provisioning profiles.
We’re still working through some of the details where — which is why I haven’t yet updated App Groups: macOS vs iOS: Fight! to cover it in depth — but we’re clearly on a path to a solution now.
If you’re building a building a multi-platform app, try using Xcode 16.3 beta. I suspect it’ll Just Work™. Either way, reply back here with your experience because I’d love to hear it.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"