# Xcode Build for testing for iOS v2.0.0

**URL:** <https://discuss.bitrise.io/t/xcode-build-for-testing-for-ios-v2-0-0/20390>\
**Category:** Changelog\
**Created:** [June 17, 2022, 8:51am UTC](https://discuss.bitrise.io/t/xcode-build-for-testing-for-ios-v2-0-0/20390 "2022-06-17T08:51:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [June 17, 2022, 8:51am UTC](https://discuss.bitrise.io/t/xcode-build-for-testing-for-ios-v2-0-0/20390/1 "2022-06-17T08:51:40Z")

</div>

## What’s Changed

- Test plan support by @godrei in [https://github.com/bitrise-steplib/steps-xcode-build-for-test/pull/39](https://github.com/bitrise-steplib/steps-xcode-build-for-test/pull/39)
  - **BREAKING CHANGE** : Irrelevant `BITRISE_TEST_DIR_PATH` Step Output removed. This output pointed to the built Targets directory (`Debug-iphoneos` for example) within the built Test Bundle directory.
  - **New Step Input** (`Test Plan`) for specifying the Test Plan to build
  - **New Step Output** (`BITRISE_TEST_BUNDLE_PATH`) that points to the root directory of the built Targets and Tests (earlier it was only exported in a compressed format under `BITRISE_TEST_BUNDLE_ZIP_PATH`). This output is useful for Test Plan enabled projects, when building all the Test Plans (`Test Plan` Input not specified). In the next Steps, the desired Test Plan’s xctestrun file can be referenced as: `BITRISE_TEST_BUNDLE_PATH/<xctestrun_name>.xctestrun`.
  - `BITRISE_XCTESTRUN_FILE_PATH` change: if multiple xctestrun files are generated, this output points to the Scheme’s default Test Plan’s xctestrun file (or to the first xctestrun file without default Test Plan).

- Step Output export improvements.

**Full Changelog** : [Comparing 1.4.0...2.0.0 · bitrise-steplib/steps-xcode-build-for-test · GitHub](https://github.com/bitrise-steplib/steps-xcode-build-for-test/compare/1.4.0...2.0.0)

> **[Release 2.0.0 · bitrise-steplib/steps-xcode-build-for-test](https://github.com/bitrise-steplib/steps-xcode-build-for-test/releases/2.0.0)**
>
> What's Changed
> 
> Test plan support by @godrei in #39
> 
> BREAKING CHANGE: Irrelevant BITRISE\_TEST\_DIR\_PATH Step Output removed. This output pointed to the built Targets directory (Debug-iphoneos for ex...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [September 15, 2022, 8:52am UTC](https://discuss.bitrise.io/t/xcode-build-for-testing-for-ios-v2-0-0/20390/2 "2022-09-15T08:52:06Z")

</div>

This topic was automatically closed after 90 days. New replies are no longer allowed.
