On MacOS, I know that App Groups (com.apple.security.application-groups) do not require a provisioning profile.
I was wondering if it's possible to sign them "ad hoc" and have it work? So maybe use a random TEAMID prefix and have it work?
I would only need the app to work locally (for testing), not be distributed in that fashion, of course.
App groups are used for a variety of different things. If you’re specifically interested in accessing an app group container then, no, this won’t work. App group container protection, introduced in macOS 15, is based on your Team ID. See App Groups: macOS vs iOS: Fight! for more on that.
I would only need the app to work locally (for testing
I general recommend development signing (so an Apple Developer: TTT code signing identity) for day-to-day work. That’s the best balance between convenience and good integration with Apple’s APIs.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"