# Xcode version gets reported in travis ui even for linux builds #5125

**URL:** <https://travis-ci.community/t/xcode-version-gets-reported-in-travis-ui-even-for-linux-builds-5125/2047>\
**Category:** Travis CI Discussions & Feedback\
**Tags:** bug, travis-gatekeeper\
**Created:** [January 29, 2019, 9:15am UTC](https://travis-ci.community/t/xcode-version-gets-reported-in-travis-ui-even-for-linux-builds-5125/2047 "2019-01-29T09:15:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![graingert](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/graingert/32/1077_2.png) [@graingert](https://travis-ci.community/u/graingert)\
**Post date:** [January 29, 2019, 9:15am UTC](https://travis-ci.community/t/xcode-version-gets-reported-in-travis-ui-even-for-linux-builds-5125/2047/1 "2019-01-29T09:15:26Z")

</div>

[Sorta spun out of issue 3975.]

If a build is mult-ios, it seems the Xcode version gets reported even for platforms where the info doesn’t apply.

Google’s protobuf setup builds on linux and OS X. Since issue 3975 recently got fixed, we were able to add in Objective C testing to the mix of languages by adding the osx\_image tag and extending out script. But now it seems every build, even the ones on linux, list the Xcode version. Example: [https://travis-ci.org/google/protobuf/builds/91337154](https://travis-ci.org/google/protobuf/builds/91337154)

This info should only get reported for OS X builds where it applies.

> <https://github.com/travis-ci/travis-ci/issues/5125>

---

<div class="post-metadata">

**Author:** ![gdevenyi](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/gdevenyi/32/2132_2.png) [@gdevenyi](https://travis-ci.community/u/gdevenyi)\
**Post date:** [June 30, 2019, 4:21am UTC](https://travis-ci.community/t/xcode-version-gets-reported-in-travis-ui-even-for-linux-builds-5125/2047/2 "2019-06-30T04:21:25Z")

</div>

Its worse than just the xcode version being reported, if you use multiple osx\_versions, the linux builds are multiplied in the build matrix:

> [@Multiple os: and osx\_version: replicates linux entries in build matrix](https://travis-ci.community/t/multiple-os-and-osx-version-replicates-linux-entries-in-build-matrix/3979):
>
> Hi, I’m trying to test builds across linux, mutliple GCC versions, and OSX, gcc and clang versions. I have the following .travis.yml config, which generates all my entries, but also generates double the required entries for linux, as osx\_image is done for os: osx and os: linux. This looks like a bug to me. language: cpp cache: ccache dist: xenial addons: apt: sources: - ubuntu-toolchain-r-test - llvm-toolchain-xenial-3.6 - llvm-toolchain-xenial-3.7 - llvm-toolc…

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [June 30, 2019, 9:38am UTC](https://travis-ci.community/t/xcode-version-gets-reported-in-travis-ui-even-for-linux-builds-5125/2047/3 "2019-06-30T09:38:48Z")

</div>

Like [Multiple os: and osx\_version: replicates linux entries in build matrix:](https://travis-ci.community/t/multiple-os-and-osx-version-replicates-linux-entries-in-build-matrix/3979/3), [https://github.com/travis-ci/travis-yml](https://github.com/travis-ci/travis-yml) looks like the module responsible for generating individual job configs from `.travis.yml` – thus deciding what goes in them.
