From 83d25b9f21efb2f99bdb45cc36c9d408b75abb3d Mon Sep 17 00:00:00 2001 From: Andrew Heard Date: Tue, 11 Aug 2026 18:52:24 -0400 Subject: [PATCH] ci: use generic destinations and package scheme (#125) --- .github/workflows/spm.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/spm.yml b/.github/workflows/spm.yml index 069e1a8..22f101b 100644 --- a/.github/workflows/spm.yml +++ b/.github/workflows/spm.yml @@ -1,5 +1,8 @@ name: spm +permissions: + contents: read + on: pull_request: schedule: @@ -14,10 +17,8 @@ jobs: - name: Initialize xcodebuild run: xcodebuild -list - name: Verify iOS build - run: xcodebuild -sdk 'iphonesimulator' -destination 'platform=iOS Simulator,name=iPhone 11' -scheme GoogleAppMeasurement + run: xcodebuild -destination 'generic/platform=iOS' -scheme GoogleAppMeasurement-Package - name: Verify tvOS build - run: xcodebuild -sdk 'appletvsimulator' -destination 'platform=tvOS Simulator,name=Apple TV' -scheme GoogleAppMeasurement + run: xcodebuild -destination 'generic/platform=tvOS' -scheme GoogleAppMeasurement-Package - name: Verify macOS build - run: xcodebuild -sdk 'macosx' -destination 'platform=macOS' -scheme GoogleAppMeasurement - - name: Verify GoogleAppMeasurementOnDeviceConversion iOS build - run: xcodebuild -sdk 'iphonesimulator' -destination 'platform=iOS Simulator,name=iPhone 11' -scheme GoogleAppMeasurementOnDeviceConversion + run: xcodebuild -destination 'generic/platform=macOS' -scheme GoogleAppMeasurement-Package