Bitrise Build Issue Report template
Description of the issue
I’ve set up a new build based on a relatively small iOS repository. When I run the build, it fails on the xcode-test step - just after **Running script** '[CP] Check Pods Manifest.lock'
- with the error:
Build input file cannot be found: '/Users/andrzejdoyle/Documents/EDA/EDA/LocalDataManager.swift' (in target 'EDA' from project 'EDA')
I’ve downloaded the Bitrise CLI and run this locally on a clean checkout, and the build succeeds. I suspect this is a problem with the path in the Git checkout step not aligning with the path in the xcode-build step, but I haven’t modified either. To make sure, I deleted the Bitrise app and recreated it from scratch, and am still seeing the same error.
Environment:
Where did the issue happen?
Which build Step causes the issue and which version of the step?
XCode Test for iOS v2.4.1
Reproducibility
- 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:Pull
andCache:Push
steps temporarily to not to use the cache, or you can delete all the caches on theSettings
tab of the app. :NO - Does the issue happen sporadically, or every time? : Every time
- Does upgrading the build Step to the latest version help? : NO, same problem with 2.4.5
- When did the issue start? : From the first creation of the project/app on Bitrise
Local reproduction
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.
No - the build succeeds when I run locally with the CLI (on a clean git checkout). A bit of output before and after the error occurs online:
▸ Compiling Pods-EDA-dummy.m
▸ Compiling Pods_EDA_vers.c
▸ Touching Pods_EDA.framework (in target ‘Pods-EDA’ from project ‘Pods’)
▸ Running script ‘[CP] Check Pods Manifest.lock’
▸ Compiling CreateAccountViewController.swift/tmp/eda/EDA/onboarding/OnboardingStartViewController.swift:49:19: value ‘userId’ was defined but never used; consider replacing with boolean test
guard let userId = try? dataMgr.getUserId() else { return }
…
Build log
Thanks, hope this is a straightforward one!
Andrzej