Signing for “App” requires a development team
xcodebuild refuses to build for a device because no signing team is set.
01What you see
error: Signing for "edemo" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'edemo' from project 'edemo')
From our own run of xcodebuild -workspace ios/edemo.xcworkspace -scheme edemo -configuration Release -destination "generic/platform=iOS" build
02Why it happens
Building for generic/platform=iOS means building for real devices, and Xcode wants to sign the result. With automatic signing and no team chosen, it stops at once. Your project name appears where ours says edemo.
03The fix
To check that the project compiles, turn signing off for the build:
xcodebuild -workspace ios/edemo.xcworkspace -scheme edemo -configuration Release -destination "generic/platform=iOS" CODE_SIGNING_ALLOWED=NO -quiet build
That built in 36 seconds in our test. For a signed build, set your team and a provisioning profile and follow Code signing & TestFlight. We never let Xcode create certificates or profiles in your account for you: on a build machine that is thrown away after each build, that would leave a new certificate in your Apple account every time.
04How we checked
On 25 November 2026 we started a fresh machine from our default image (Xcode 27.2), made a new project, caused this error on purpose with the command above, then ran the fix until it built. We do the same before adding any page to this list.
More on this kind of project: the guide. Other errors: Common errors. Still stuck? Send the build URL to support@macbuildcloud.com.