diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index dff8c5df..93006dac 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -36,7 +36,10 @@ jobs: uses: actions/checkout@v4 - name: Build - run: set -o pipefail && xcodebuild build -scheme maplibre-navigation-ios -destination 'platform=iOS Simulator,OS=17.0.1,name=iPhone 15 Pro' | xcbeautify --renderer github-actions + run: set -o pipefail && xcodebuild build -scheme maplibre-navigation-ios -destination 'generic/platform=iOS' | xcbeautify --renderer github-actions - name: Test - run: set -o pipefail && xcodebuild test -scheme maplibre-navigation-ios -destination 'platform=iOS Simulator,OS=17.0.1,name=iPhone 15 Pro' | xcbeautify --renderer github-actions \ No newline at end of file + run: set -o pipefail && xcodebuild test -scheme maplibre-navigation-ios -destination 'platform=iOS Simulator,OS=17.0.1,name=iPhone 15 Pro' | xcbeautify --renderer github-actions + + - name: Build Example Project + run: set -o pipefail && xcodebuild build -project Example/Example.xcodeproj -scheme Example -destination 'generic/platform=iOS' CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" | xcbeautify --renderer github-actions diff --git a/Example/example/SceneDelegate.swift b/Example/example/SceneDelegate.swift index 39603c5f..7cc88fab 100644 --- a/Example/example/SceneDelegate.swift +++ b/Example/example/SceneDelegate.swift @@ -94,7 +94,7 @@ private extension SceneDelegate { let simulatedLocationManager = SimulatedLocationManager(route: route) simulatedLocationManager.speedMultiplier = 2 - self.viewController.startNavigation(with: route, locationManager: simulatedLocationManager) + self.viewController.startNavigation(with: route, animated: true, locationManager: simulatedLocationManager) } }