I'm trying to let a few teammates build and run my app on their own devices, and I'd like to understand the correct approach for our situation.
Setup
We are a small team. Each of us uses a free personal Apple Developer team (individual Apple IDs, no paid membership yet).
The app (an iOS app with a Watch app and a WidgetKit extension) uses App Groups and HealthKit.
Bundle IDs: com.example.MyApp, com.example.MyApp.watchkitapp, com.example.MyApp.Widget. App Group: group.example.MyApp.
It builds fine for me. When a teammate opens the project and tries to run on device, they get:
Failed Registering Bundle Identifier
The app identifier "com.example.MyApp" cannot be registered to your development team because it is not available. Change your bundle dentifier to a unique string to try again.
What I've observed
My other apps that have no entitlements build fine for every teammate. Looking at their embedded profiles, those sign with a wildcard profile (TEAMID.*).
This app signs with an explicit profile (TEAMID.com.example.MyApp).
If a teammate removes HealthKit and App Groups from all targets, the app builds for them under their own team using the same bundle ID.
My understanding (please correct me)
App Groups and HealthKit require an explicit App ID, which can only be registered to one team. Since I registered com.example.MyApp first, no
other personal team can register the same explicit App ID hence the error.
My questions
Is that understanding correct — that an entitled (explicit) App ID can only ever belong to a single team?
Is there any supported way to keep the same bundle identifier and keep App Groups + HealthKit while teammates build under their own separate personal teams? Or is moving to an Organization account (everyone as members of one shared team) the only way to share an entitled bundle ID across multiple developers?
For free personal-team development, is the recommended pattern to give each developer a unique bundle ID + App Group (e.g. via per-developer .xcconfig), keeping entitlements intact?
Just want to confirm I'm choosing the right approach before committing to it. Thanks!
1
0
23