New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to set FASTLANE_XCODE_LIST_TIMEOUT #10131
Comments
It seems like you have not included the output of To make it easier for us help you resolve this issue, please update the issue to include the output of |
@santoshshetty2612 A few questions: |
@mpirri I am using Xcode 8.3.3. This is my Jenkins call: And this is how I have set it in .env file for fastlane Both the steps is not having any effect on fastlane. |
Hey @santoshshetty2612 - just looking for some clarification here about your use case, when you say |
Hi @ohayon In Jenkins I have created a job to run the iOS Xcode build. But at some point of time all these jobs might end up calling xcodebuild -showBuildSettings at around the same time. This might be causing the timeout issues. If I am able to increase this timeout to 60 seconds, I feel this issue of timeout might get resolved. But I am unable to overwrite this value for fastlane. |
@santoshshetty2612 - out of curiosity, if you only run one at a time, do you still see the timeout? |
@ohayon |
Hmmm. Is there anything you can do in your Jenkins setup to space out the builds by a few seconds so they don't run into each other when running the same commands maybe? |
@ohayon This solution won't work out as the builds can be fired anytime. So builds might end up calling xcodebuild -showBuildSettings at around the same time. It would be better if fastlane handles this. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest |
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍 |
Thanks, the issue has been resolved and now I am able to run multiple builds simultaneously. I need to set two variables in my fastfile. ENV["FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT"] = "180" |
I am running the parallel builds on Jenkins using fastlane for iOS.
But the build fails due to the error:
xcodebuild -showBuildSettings timed-out after 10 seconds and 3 retries. You can override the timeout value with the environment variable FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT, and the number of retries with the environment variable FASTLANE_XCODEBUILD_SETTINGS_RETRIES
I tried the below steps and still the issue persists.
Even after performing both the above steps, I am not able to override the timeout.
The problem only occurs when I try for parallel builds. It seems both the builds tries to called the showBuildSettings and it times out. Hoping that the increase it timeout will solve the issue.
The text was updated successfully, but these errors were encountered: