codemagic-ci-cd / cli-tools

Various utilities to managing Android and iOS app builds, code signing, and deployment.
https://codemagic.io/start/
GNU General Public License v3.0
243 stars 42 forks source link

Add option to omit test SDK flag from `xcodebuild test` for action `xcode-project run-tests` #335

Closed priitlatt closed 1 year ago

priitlatt commented 1 year ago

Fixes #334.

Invoking action xcode-project run-tests always passes -sdk argument to underlying xcodebuild test command. This is not desired in some (rare) cases when a fixed test destination, specified by -destination argument to xcodebuild test, is used.

In order to avoid passing -sdk argument to xcodebuild this PR adds a new flag --omit-sdk to run-tests action, which will force xcodebuild test command to run without specifying test SDK.

Updated actions: