Skip to content

Updated sf-ios to 5.0.0 to use NS_ENUM for Swift interoperability #28

Updated sf-ios to 5.0.0 to use NS_ENUM for Swift interoperability

Updated sf-ios to 5.0.0 to use NS_ENUM for Swift interoperability #28

Workflow file for this run

name: Build & Test
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: macOS-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install
run: pod install
- name: Build & Test
run: |
iphone_names=$(xcrun simctl list devices available --json | jq -r '.devices | to_entries[] | .value[] | select(.name | test("^iPhone [0-9]+")) | .name')
latest_iphone=$(echo "$iphone_names" | sort | tail -n 1)
echo "latest_iphone: $latest_iphone"
xcodebuild test -workspace sf-wkt-ios.xcworkspace -scheme sf-wkt-ios -destination "platform=iOS Simulator,OS=latest,name=$latest_iphone"