I have some tests in a framework I’m developing related to the keychain.
In order for Keychain to be accessible in tests, the build that is running needs to have a certain entitlement (I think something like application-identifier, though I can’t find the reference for this currently).
The way to fix this is to set a host application for the test target, so it is running inside an application which has this entitlement.
I created a new blank application for the purpose of this, which contains nothing; it just exists to provide the entitlement to the test target.
However, this same solution isn’t working on bitrise.
I’ve made sure the scheme for the host application is shared.
But the tests are failing before the tests can be run, as the host application doesn’t seem to build:
...TestApp.app (3297) encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted. Underlying error: Test runner exited before starting test execution.)
Where did the issue happen?
The build is on the latest Xcode 10.0.x, on macOS 10.13 (High Sierra) stack
Which build Step causes the issue and which version of the step?
Xcode Test for iOS 1.18.4
- Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
Does a rebuild without caches help? (You can remove the
Cache:Pushsteps temporarily to not to use the cache, or you can delete all the caches on the
Settingstab of the app. : NO - tried removing steps, but still failed
- 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? : 20th September 2018
Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what bitrise.io will get when it does a git clone in the clean environment! If possible please note which sections you tried.
Attempted to reproduce locally with a full clean git clone, but could not reproduce.
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.