Skip to content
Open
Changes from 26 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
06ba227
Create objective-c-xcode.yml
sbooth Jun 1, 2024
d2d35e0
Update objective-c-xcode.yml
sbooth Jun 1, 2024
f622606
Merge branch 'main' into workflows
sbooth Aug 24, 2024
3d48e4c
Update objective-c-xcode.yml
sbooth Nov 5, 2024
5e7ea71
Merge branch 'main' into workflows
sbooth Nov 5, 2024
95d2b3b
Update objective-c-xcode.yml
sbooth Nov 5, 2024
5eb46ed
Merge branch 'main' into workflows
sbooth Nov 16, 2024
527e499
Merge branch 'main' into workflows
sbooth Dec 5, 2024
86b6d64
Merge branch 'main' into workflows
sbooth Dec 23, 2024
866d288
Use latest stable version of Xcode
sbooth Dec 23, 2024
5d7c254
Update objective-c-xcode.yml
sbooth Dec 23, 2024
a0f8b26
Merge branch 'main' into workflows
sbooth Jan 2, 2025
8650933
Merge branch 'main' into workflows
sbooth Jan 3, 2025
05cb535
Merge branch 'main' into workflows
sbooth Jan 8, 2025
fa4dfcd
Merge branch 'main' into workflows
sbooth Jan 17, 2025
a81414c
Merge branch 'main' into workflows
sbooth Jan 29, 2025
f414498
Merge branch 'main' into workflows
sbooth Mar 18, 2025
7092e16
Merge branch 'main' into workflows
sbooth Apr 4, 2025
0858fcd
Merge branch 'main' into workflows
sbooth Jul 27, 2025
e1d7369
Merge branch 'main' into workflows
sbooth Aug 31, 2025
e7ad4a8
Merge branch 'main' into workflows
sbooth Dec 10, 2025
89dd6e3
Add permissions for GitHub Actions workflow
sbooth Dec 21, 2025
454fdae
Update checkout action to version 6
sbooth Dec 21, 2025
37f9e47
Merge branch 'main' into workflows
sbooth Dec 21, 2025
e6d58cb
Merge branch 'main' into workflows
sbooth Dec 29, 2025
ba5525d
Update Xcode workflow permissions and cleanup
sbooth Jan 23, 2026
0061013
Merge branch 'main' into workflows
sbooth Jan 23, 2026
f456359
Update xcodebuild commands to remove package resolution flag
sbooth Feb 3, 2026
51a33ee
Merge branch 'main' into workflows
sbooth Feb 3, 2026
2a79c91
Merge branch 'main' into workflows
sbooth Feb 8, 2026
3fc23b6
Merge branch 'main' into workflows
sbooth Feb 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/objective-c-xcode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Xcode - Build and Analyze
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
name: Build and analyze using xcodebuild for all supported architectures
runs-on: macos-latest
steps:
- name: Set Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Checkout
uses: actions/checkout@v6
- name: Build for macOS
run: |
scheme="SFBAudioEngine"
destination="generic/platform=macOS"
xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]}
- name: Build for iOS
run: |
scheme="SFBAudioEngine"
destination="generic/platform=iOS"
xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]}
- name: Build for tvOS
run: |
scheme="SFBAudioEngine"
destination="generic/platform=tvOS"
xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]}
- name: Build for Mac Catalyst
run: |
scheme="SFBAudioEngine"
destination="generic/platform=macOS,variant=Mac Catalyst"
xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]}
- name: Build for iOS Simulator
run: |
scheme="SFBAudioEngine"
destination="generic/platform=iOS Simulator"
xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]}
- name: Build for tvOS Simulator
run: |
scheme="SFBAudioEngine"
destination="generic/platform=tvOS Simulator"
xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]}
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workflow references a scheme named "SFBAudioEngine", but there is no Xcode project or workspace file (.xcodeproj or .xcworkspace) in the repository. This appears to be a Swift Package Manager (SPM) project based on the presence of Package.swift. The xcodebuild command will fail because it cannot find the specified scheme. Consider using xcodebuild -scheme SFBAudioEngine -resolvePackageDependencies first, or use swift build and swift test instead, as seen in the existing swift.yml workflow.

Suggested change
- name: Build for macOS
run: |
scheme="SFBAudioEngine"
destination="generic/platform=macOS"
xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]}
- name: Build for iOS
run: |
scheme="SFBAudioEngine"
destination="generic/platform=iOS"
xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]}
- name: Build for tvOS
run: |
scheme="SFBAudioEngine"
destination="generic/platform=tvOS"
xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]}
- name: Build for Mac Catalyst
run: |
scheme="SFBAudioEngine"
destination="generic/platform=macOS,variant=Mac Catalyst"
xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]}
- name: Build for iOS Simulator
run: |
scheme="SFBAudioEngine"
destination="generic/platform=iOS Simulator"
xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]}
- name: Build for tvOS Simulator
run: |
scheme="SFBAudioEngine"
destination="generic/platform=tvOS Simulator"
xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]}
- name: Build (SwiftPM)
run: |
swift build --build-tests
- name: Test (SwiftPM)
run: |
swift test

Copilot uses AI. Check for mistakes.