Skip to content

Fix CI for Swift Package Manager #66

Fix CI for Swift Package Manager

Fix CI for Swift Package Manager #66

Workflow file for this run

name: iOS starter workflow
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Build and Test default scheme using any available iPhone simulator
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set Default Scheme
run: |
scheme_list=$(xcodebuild -list -json | tr -d "\n")
default="All Tests"
echo $default | cat >default
echo Using default scheme: $default
- name: Build
run: |
xcodebuild build -scheme maplibre-navigation-ios -destination 'platform=iOS Simulator,OS=17.0.1,name=iPhone 15 Pro'
- name: Test
run: |
xcodebuild test -scheme maplibre-navigation-ios -destination 'platform=iOS Simulator,OS=17.0.1,name=iPhone 15 Pro'