File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ runs:
3737 if : ${{ inputs.xcodebuild }}
3838 run : |
3939 if [ $DEVICE_TYPE -eq "Mac" ]; then
40- destination=""
40+ destination="platform=OS X "
4141 else
42- destination="destination =$(xcrun simctl list devices $devicetype available | grep -v -- -- | tail -n 1 | grep -oE '[0-9A-F\-]{36}')"
42+ destination="id =$(xcrun simctl list devices $devicetype available | grep -v -- -- | tail -n 1 | grep -oE '[0-9A-F\-]{36}')"
4343 fi
44- xcodebuild -scheme "$TARGET" -destination "$(destination)" docbuild | xcbeautify --renderer github-actions
44+ xcodebuild -skipMacroValidation - scheme "$TARGET" -destination "$(destination)" docbuild | xcbeautify --renderer github-actions
4545 shell : bash
4646 env :
4747 TARGET : ${{ inputs.target }}
Original file line number Diff line number Diff line change 7878 set -e
7979 (
8080 buildtarget () {
81- xcodebuild -scheme "$1" -destination "id=$deviceid" build | xcbeautify --renderer github-actions
81+ xcodebuild -skipMacroValidation - scheme "$1" -destination "id=$deviceid" build | xcbeautify --renderer github-actions
8282 }
8383
8484 buildtarget SwiftCrossUI
You can’t perform that action at this time.
0 commit comments