Fix "Signing for "App" requires a development team" in Xcode
Signing for "App" requires a development team. Select a development team in the Signing & Capabilities editor.
- error: Signing for "Runner" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'Runner' from project 'Runner')
- Signing for "React-Core-AccessibilityResources" requires a development team. Select a development team in the Signing & Capabilities editor.
- No profiles for 'com.example.app' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.example.app'.
- Failed to register bundle identifier. The app identifier "com.example.app" cannot be registered to your development team because it is not available.
Xcode must sign the app to install it on an iPhone or archive it, but no Apple team is assigned to the target. Add your Apple ID in Xcode > Settings > Accounts, then pick the team in the target > Signing & Capabilities with "Automatically manage signing".
What this error means
Every iOS binary that runs on a real device must be signed with a certificate and a provisioning profile tied to an Apple team (free "Personal Team" account or paid Apple Developer Program). The target’s DEVELOPMENT_TEAM setting tells Xcode which team to use to create or find them. When it is empty, Xcode cannot sign and stops the build. That is the default in a project generated by Flutter, React Native, Capacitor or Expo prebuild, in a project cloned from someone else’s team, and sometimes for Pods resource targets.
Common causes
- No team selected: freshly generated or cloned project, the target’s Team field is empty.
- No Apple account in Xcode: the team list stays empty until you add your Apple ID in Settings > Accounts.
- Bundle Identifier already taken: the identifier (e.g.
com.example.app) belongs to another team, so Xcode cannot create the profile. - Pods resource targets: since Xcode 14, Pods resource bundles (e.g.
React-Core-AccessibilityResources) may also ask for a team. - Wrong file opened: you opened the
.xcodeprojinstead of the.xcworkspacein a CocoaPods project, so your settings do not apply to the right project.
Step-by-step fix
-
Open the workspace
For a CocoaPods project (Flutter, React Native, Capacitor), always open the
.xcworkspace.# Flutter open ios/Runner.xcworkspace # React Native open ios/YourApp.xcworkspace # Capacitor npx cap open ios -
Add your Apple account
Xcode > Settings > Accounts > + button > Apple ID. A free account creates a "Personal Team" that is enough to test on your own iPhone (profiles valid 7 days, no push and some capabilities missing). For TestFlight and the App Store you need the Apple Developer Program.
-
Pick the team in the target
In the project navigator, select the project, then the app target (Runner, App…) > Signing & Capabilities tab. Check "Automatically manage signing" and choose your team in Team. Repeat for each signed target (extensions, widgets).
-
Make the Bundle Identifier unique
If Xcode shows "Failed to register bundle identifier", replace the identifier with a name you own, for example
com.yourname.myapp, in the same tab. -
Fix Pods resource targets
If the error names a Pods target (e.g.
React-Core-AccessibilityResources), disable signing for those resource bundles inios/Podfile, then runpod installagain. Resource bundles do not need their own signature.post_install do |installer| installer.pods_project.targets.each do |target| if target.respond_to?(:product_type) && target.product_type == "com.apple.product-type.bundle" target.build_configurations.each do |config| config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO' end end end end -
From the command line or CI
Pass the team ID (10 characters, shown in your Apple Developer account under Membership) to
xcodebuild.-allowProvisioningUpdateslets Xcode create missing profiles.xcodebuild -workspace ios/Runner.xcworkspace -scheme Runner \ -configuration Release -allowProvisioningUpdates \ DEVELOPMENT_TEAM=ABCDE12345 archive -archivePath build/Runner.xcarchive
Did this fix work for you?
Confirm it in one click: it will rise for the next developers stuck on the same error.
Keep it from coming back
- Put
DEVELOPMENT_TEAMin an.xcconfigfile shared by the team instead of reselecting it on every clone. - In a team, manage certificates and profiles with a tool like fastlane match; never share a
.p12or its private key over chat. - Pick a Bundle Identifier based on a domain you control when you create the project.
Frequently asked questions
Can I test on an iPhone without paying for the Apple Developer Program?
Yes, with the Personal Team of a free Apple ID. The app expires after 7 days and some capabilities (push, iCloud, Sign in with Apple…) are unavailable.
Do I need a team for the simulator?
Usually not: simulator builds are signed locally. The error mostly appears for a physical device, an archive, or when a target declares capabilities that require a team.
Where do I find my Team ID?
In your Apple Developer account under Membership details, or in Xcode: the target’s DEVELOPMENT_TEAM build setting after choosing the team. It is not a secret and can be committed.
Useful tools for this error
More Mobile (Android, iOS) errors
- Fix "SDK location not found" (ANDROID_HOME / sdk.dir) on Android
- Fix "CocoaPods could not find compatible versions for pod" on iOS
- Fix "Unable to load script" (index.android.bundle) in React Native
- Fix "INSTALL_FAILED_UPDATE_INCOMPATIBLE: signatures do not match" on Android
- Fix "Duplicate class ... found in modules" in an Android Gradle build
- Fix "cmdline-tools component is missing" and "Android license status unknown" (flutter doctor)
- Fix "Invariant Violation: "main" has not been registered" (React Native / Expo)