File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
.github/actions/prepare-simulator Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 47
47
run : |
48
48
RUNTIME="${{ inputs.runtime }}"
49
49
DEVICE="${{ inputs.device }}"
50
- DEVICE_ID=com.apple.CoreSimulator.SimDeviceType.$(echo $DEVICE | sed -E -e "s/[ \-]+/ /g" -e "s/[^[:alnum:]]/-/g")
51
- RUNTIME_ID=com.apple.CoreSimulator.SimRuntime.$(echo $RUNTIME | sed -E -e "s/[ \-]+/ /g" -e "s/[^[:alnum:]]/-/g")
50
+ DEVICE_ID=com.apple.CoreSimulator.SimDeviceType.$(echo $DEVICE | sed -E -e "s/[ \-]+/ /g" -e "s/[\(\)]//g" -e "s/[ ^[:alnum:]]/-/g")
51
+ RUNTIME_ID=com.apple.CoreSimulator.SimRuntime.$(echo $RUNTIME | sed -E -e "s/[ \-]+/ /g" -e "s/[\(\)]//g" -e "s/[ ^[:alnum:]]/-/g")
52
52
DESTINATION_ID=$(xcrun simctl create "Custom: $DEVICE, $RUNTIME" $DEVICE_ID $RUNTIME_ID)
53
53
xcrun simctl boot $DESTINATION_ID
54
54
echo "destination-id=$(echo $DESTINATION_ID)" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments