Bitrise Build Issue Report template
Description of the issue
The step Xcode build for simulator is failing for my build.
I think it could be related to this closed issue: Failed to get scheme (failed to fetch project's targets, error: Failed to found scheme (example) in project) build target dir, error: %!s(MISSING) · Issue #7 · bitrise-steplib/steps-xcode-build-for-simulator · GitHub
But it is not clear for me if there is a known problem with this step or not.
The error I get is: Failed to export the artifacts, error: failed to fetch project's targets, error: Failed to found scheme (Komuti-QA) in projecte
My schemes are shared. And I can see the scheme reported to not be found listed if I use xcodebuild
. Everything looks properly configured in Xcode. So I am assuming it could be a bug in steps-xcode-build-for-simulator
project.
Environment:
Where did the issue happen?
It fails in both Bitrise.io and Bitrise CLI (1.26.0).
If on Bitrise.io: which stack? If not on Bitrise.io: on what operating system? (Plus any other information you can share)
Bitrise.io it’s using Xcode 10.1.x, on macOS 10.13 (High Sierra).
Bitrise CLI on my machine runs macOS Mojave 10.14.2 and Xcode Version 10.1 (10B61).
Which build Step causes the issue and which version of the step?
Xcode build for simulator (0.9.4)
Reproducibility
- Does a “Rebuild” help? : NO
- Does a rebuild without caches help? : NO
- Does the issue happen sporadically, or every time? : EVERY TIME
- Does upgrading the build Step to the latest version help? : NO
- When did the issue start? : It started after we went from using a single scheme to having several schemes that use different configurations.
Local reproduction
Can it be reproduced on your own Mac/PC by following our local debug guide?
Yes. it fails with the same error message:
Failed to export the artifacts, error: failed to fetch project’s targets, error: Failed to found scheme (Komuti-QA) in project
I tried the sections ** Testing with a full clean git clone**, Test with the Bitrise CLI + Additional notes for iOS projects.
Build log
Please copy paste the build’s bitrise.io URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - Contact us ), with a link to the related Discuss issue.
What follows is almost the whole log of the build with just some portions of it replaced with ...
:
https://gist.github.com/hectr/9f9308d2c98cdec38b4edac8bf878dbf