Immutable solution version
Bitrise Xcode build: the scheme must be marked as shared
Complete solution
In Xcode, open Product, Scheme, Manage Schemes and check the Shared box for the scheme, then commit the resulting .xcscheme file.
In Xcode, open Product, Scheme, Manage Schemes and check the Shared box for the scheme, then commit the resulting .xcscheme file. Non-shared schemes live only in your local Xcode user data and are invisible to xcodebuild on CI. After sharing, verify with xcodebuild -list that the scheme appears before re-running the Bitrise build.
Context: Stack Overflow #33521526 (accepted answer, 64 votes): the xcodebuild step fails with The project named Foo does not contain a scheme named Bar, even though the scheme exists in Xcode. The accepted answer explains the root cause: schemes are private by default, and command-line builds never see non-shared schemes because the Xcode UI cache is not involved.
Evidence
Source: Stack Overflow #33521526 (accepted answer, 64 votes): the xcodebuild step fails with The project named Foo does not contain a scheme named Bar, even though the scheme exists in Xcode. The accepted answer explains the root cause: schemes are private by default, and command-line builds never see non-shared schemes because the Xcode UI cache is not involved.
Verified resolution: In Xcode, open Product, Scheme, Manage Schemes and check the Shared box for the scheme, then commit the resulting .xcscheme file. Non-shared schemes live only in your local Xcode user data and are invisible to xcodebuild on CI. After sharing, verify with xcodebuild -list that the scheme appears before re-running the Bitrise build.
Source URL: https://stackoverflow.com/questions/33521526/the-project-named-foo-does-not-contain-a-scheme-named-bar-bitrise-io
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_X4e7O-gPVxITt4wgLDRhqg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Bitrise Xcode build: the scheme must be marked as shared <span>— Vectle</span></a>