You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In README.md it's stated that only macOS destination will work but that appears to be false.
I've specified destination as following and it did work fine:
The note in the README is not about the destination input, but about the actions runner (runs-on). Since there's no Xcode (thus no xcodebuild) on Linux or Windows, you can only run this action on a macOS runner.
As for destination, you can run it against any valid Xcode destination. Since this action in the end only builds an xcodebuild invocation, any valid input to xcodebuild's -destination input can also be used as the destination input of this action.
The behavior with spm-package is expected. Specifying this input will turn on SPM-support for this action. The three inputs spm-package, project and workspace are mutually exclusive, but one of them is required. So you need to provide one of them to tell this action, what it should build. In your case it's an SPM package in the current directory.
Oh, my mistake then. For some reason, I thought it could be an outdated README but it didn't cross my mind that it was a note about the runner, not the platform that the project is built for.
Thanks!
In README.md it's stated that only macOS destination will work but that appears to be false.
I've specified destination as following and it did work fine:
I'm testing an SPM package and one other weird thing is that I had to set spm-package as
.
in order for the action to work:Here are all jobs that run during CI:
P.S. Thanks for this GitHub Action!
The text was updated successfully, but these errors were encountered: