Skip to content

Releases: bitrise-steplib/steps-xcode-test

5.1.1

08 Apr 11:02
497f111
Compare
Choose a tag to compare

What's Changed

  • Fixed error logging when export fails.

5.1.0

27 Nov 11:54
4e14f19
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.0.1...5.1.0

5.0.1

05 Sep 08:50
74f1d53
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.0.0...5.0.1

5.0.0

10 Aug 11:19
92d41f3
Compare
Choose a tag to compare

What's Changed

By default the xcbeautify log_formatter is used. The previous default xcpretty is still available.

The Device destination specifier (destination) Input now uses the device called Bitrise iOS default by default.
Where already created, this device is:

  • iPhone 8 with iOS Simulator runtime 16 and earlier (Xcode 14 and earlier)
  • iPhone 11 with iOS Simulator runtime 17.0 and later (shipped in Xcode 15 beta)
    If a device with this name is not found (e.g. in a local dev environment), the first matching (platform and OS specifiers are considered) device will be selected.

The Enable collecting cache content (cache_level) Input is set to none by default. The previous swift_packages is still available.
This option is needed with branch-based (legacy) caching.
With the newer, better performing key-based caching, you only need the Restore SPM cache and the Save SPM cache Steps to cache your Swift packages. See devcenter for more information.

Full Changelog: 4.7.5...5.0.0

4.7.5

09 Aug 09:44
df755f3
Compare
Choose a tag to compare

What's Changed

Fixed fallback to xcodebuild when xcpretty/xcbeautify log formatter is unavailable.

Before:

Checking log formatter (xcbeautify) version
Failed to install Step dependencies:
  installing log formatter failed:
    failed to run xcbeautify command:
      executing command failed (xcbeautify "--version"):
        exec: "xcbeautify":
          executable file not found in $PATH
Switching to xcodebuild for output tool
Running the tests...
[16:58:43] $ set -o pipefail && xcodebuild "-workspace"[ ... ] | xcbeautify
xcbeautify command failed: executing command failed (xcbeautify): exec: not started
Exit code:  -1

After:

Checking log formatter (xcbeautify) version
Checking log formatter failed: failed to run xcbeautify command: executing command failed (xcbeautify "--version"): exec: "xcbeautify": executable file not found in $PATH
Switching back to xcodebuild log formatter.

Running the tests...
[16:57:02] $ xcodebuild "-workspace" [...]

Full Changelog: 4.7.4...4.7.5

4.7.4

01 Aug 11:37
ab4b14a
Compare
Choose a tag to compare

What's Changed

Check for iOS Simulator <-> Xcode compatibility when using latest device for destination.

When Xcode 14.3 and Xcode 15 (beta) is present on the same machine, requiring the latest (this is the default) version of the Simulator runtime, will find iOS 17 (beta). This is undesirable as the beta Simulator can be unstable or at least not officially supported by earlier Xcodes.

In practice Xcode still works with newer runtimes, at least across the same major version (despite this table: https://developer.apple.com/support/xcode/). When there are different major versions, there is some risk of not working right.

Full Changelog: 4.7.3...4.7.4

4.7.3

24 Jul 11:13
96bccac
Compare
Choose a tag to compare

What's Changed

If arch key is present in the xcodebuild -destination flag, pass it through. This allows selecting a Rosetta compatible Simulator runtime (13.7 or 14.5).

Reported in: #226

4.7.2

18 Jul 11:06
6165d7c
Compare
Choose a tag to compare

What's Changed

  • Update iOS simulator default input, fix device lookup by @lpusok in #227
  • Revert default device by @ofalvai in #228

Full Changelog: 4.7.1...4.7.2

4.7.1

10 May 22:38
ce0dae9
Compare
Choose a tag to compare

What's Changed

  • Update module golang.org/x/text to v0.3.8 [SECURITY] by @renovate in #222

Full Changelog: 4.7.0...4.7.1

4.7.0

12 Dec 11:16
81ce5e8
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.6.0...4.7.0