We're using Fastlane in our app to run tests on a Jenkins CI environment. The test
lane was working well until a few days ago when all of a sudden, most of our test runs began failing due to the build process skipping the Firebase pod, which then causes every class in the project which touches Firebase to fail to compile. As far as we can tell, nothing changed with the project file around that time and the test lane still works flawlessly on our local environments.
Of note: it seems like clearing the Cocoapod cache on the CI server temporarily resolves the issue, but it quickly returns. I'd rather not make this a part of the build process, as downloading the Cocoapods repo is very time consuming and would use up a huge amount of bandwidth if we were doing it on every CI run.
Does anyone have any idea what could cause the Fastlane invocation of xcodebuild
to behave differently on a Jenkins server than locally?
Well, we found a solution in two parts:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.