# Xcodebuild -showBuildSettings timed-out

**URL:** <https://discuss.bitrise.io/t/xcodebuild-showbuildsettings-timed-out/2513>\
**Category:** Issues\
**Tags:** fastlane, xcode\
**Created:** [August 18, 2017, 9:08pm UTC](https://discuss.bitrise.io/t/xcodebuild-showbuildsettings-timed-out/2513 "2017-08-18T21:08:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dropsmark](https://avatars.discourse-cdn.com/v4/letter/d/71c47a/32.png) [@dropsmark](https://discuss.bitrise.io/u/dropsmark)\
**Post date:** [August 18, 2017, 9:08pm UTC](https://discuss.bitrise.io/t/xcodebuild-showbuildsettings-timed-out/2513/1 "2017-08-18T21:08:29Z")

</div>

Hi,

I’m having the following error happening randomly with around 60-70% of the builds, starting from today:

[13:57:59]: fastlane finished with errors  
[!] 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

We have been using bitrise for the last 6 months without any problems (like this).

I set the FASTLANE\_XCODEBUILD\_SETTINGS\_TIMEOUT env variable to 600, but it seems like it’s ignored.

I’d need to resolve this ASAP unfortunately - are there any suggestions what could be the problem?  
Build URL:  
[https://www.bitrise.io/build/5eab18f6125bd74c](https://www.bitrise.io/build/5eab18f6125bd74c)

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [August 19, 2017, 6:02am UTC](https://discuss.bitrise.io/t/xcodebuild-showbuildsettings-timed-out/2513/2 "2017-08-19T06:02:10Z")

</div>

This seems to be a fastlane bug, I’d suggest you to open an issue on their tracker ([GitHub - fastlane/fastlane: 🚀 The easiest way to automate building and releasing your iOS and Android apps](https://github.com/fastlane/fastlane)).

From our side, on the Xcode 8.3 stack you use there was no update since Xcode 8.3.3 so the most likely cause is a newer fastlane version or something in your code.

It seems you have the fastlane step on “update fastlane to the latest version”. This can be turned off if you want to. Related discussion:

> [@How to use a specific version of fastlane?](http://discuss.bitrise.io/t/how-to-use-a-specific-version-of-fastlane/1001):
>
> If you use our fastlane step to run your fastlane config, and you want to use a specific version of fastlane: Add a Script step right before the fastlane step Specify this as the content of the Script step: set -ex gem uninstall fastlane --all --executables gem install fastlane --version 2.18.3 --no-document Make sure that the Should update fastlane gem before run? (update\_fastlane) option of the fastlane step is set to false. That’s all. Of course, replace 2.18.3 with the version you want…

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [August 19, 2017, 6:17am UTC](https://discuss.bitrise.io/t/xcodebuild-showbuildsettings-timed-out/2513/3 "2017-08-19T06:17:53Z")

</div>

Actually @dropsmark checked your log again, and it seems that the environment variable might have changed in recent `fastlane` versions.

In the log:

```auto
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT

```

but what you have in your App Env Vars:

```auto
FASTLANE_XCODE_LIST_TIMEOUT

```

> [@dropsmark](#):
>
> I set the FASTLANE\_XCODEBUILD\_SETTINGS\_TIMEOUT env variable to 600

It seems you set the `FASTLANE_XCODE_LIST_TIMEOUT` env var, not the `FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT` one.

Still might worth a report for fastlane as it seems they changed this and do not read the old one (they could of course, for backwards compatibility).

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [August 19, 2017, 6:24am UTC](https://discuss.bitrise.io/t/xcodebuild-showbuildsettings-timed-out/2513/4 "2017-08-19T06:24:16Z")

</div>

Actually it might be just a new option?.. Not sure, it’s a bit confusing - definitely worth to ask the `fastlane` guys, I have no idea whether this is a new variable in addition to the old one ( **in which case you should keep the current env var too and just add this one as well** ) or they replaced the old one with this one…

---

<div class="post-metadata">

**Author:** ![dropsmark](https://avatars.discourse-cdn.com/v4/letter/d/71c47a/32.png) [@dropsmark](https://discuss.bitrise.io/u/dropsmark)\
**Post date:** [August 20, 2017, 9:12am UTC](https://discuss.bitrise.io/t/xcodebuild-showbuildsettings-timed-out/2513/5 "2017-08-20T09:12:28Z")

</div>

> [@viktorbenei](#):
>
> FASTLANE\_XCODEBUILD\_SETTINGS\_TIMEOUT

ahh great, thank you!! this was a lifesaver!

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [August 20, 2017, 9:14am UTC](https://discuss.bitrise.io/t/xcodebuild-showbuildsettings-timed-out/2513/6 "2017-08-20T09:14:55Z")

</div>

Glad to hear it worked 😊
