Skip to content

Fix build under Xcode 26 / Swift 6 by modernizing dependencies - #189

Open
kentron wants to merge 2 commits into
AudioKit:masterfrom
kentron:build/xcode26-modernization
Open

Fix build under Xcode 26 / Swift 6 by modernizing dependencies#189
kentron wants to merge 2 commits into
AudioKit:masterfrom
kentron:build/xcode26-modernization

Conversation

@kentron

@kentron kentron commented Aug 4, 2026

Copy link
Copy Markdown

Summary

Gets the project building again under Xcode 26 / Swift 6. All dependencies were several major versions behind and no longer compiled with the current toolchain.

  • AppCenter 2.5.0 → 5.12.0 (xcframework); MS* symbols → AppCenter/Analytics/Crashes
  • Audiobus 3.0.9.1 → 3.0.15.1 (xcframework); bridging header now imports <Audiobus/Audiobus.h>
  • OneSignal 2.11.2 → OneSignalXCFramework 5.5.0, including the API migration (initialize, Notifications.requestPermission, extension handlers) and a post_install fix for a "Multiple commands produce" conflict on the shared OneSignal xcframeworks between the app and the notification-service extension
  • Raised the iOS deployment target to 15.0 (Podfile + app & extension targets)
  • Adopted the UIScene lifecycle, required on iOS 27
  • AudioKit 4.9.2 is left unresolved: its official binary ships a Swift 5.1.1 module that Xcode 26 / Swift 6 can't import. Rather than vendoring a ~140MB rebuilt binary into this repo's history, the Podfile keeps the official pod with a comment pointing to a stopgap rebuild on my fork: https://github.com/kentron/AudioKitSynthOne/releases/tag/audiokit-4.9.2-xcode26, until AudioKit fixes it upstream.

kentron added 2 commits August 3, 2026 21:55
- AudioKit 4.9.2: official pod ships a Swift 5.1.1 binary module that
  Xcode 26 / Swift 6 can no longer import. Left the Podfile pinned to
  the official pod and added a comment pointing to a rebuilt XCFramework
  (github.com/kentron/AudioKitSynthOne/releases/tag/audiokit-4.9.2-xcode26)
  as a stopgap until upstream AudioKit ships a compatible build.
- OneSignal 2.11.2 -> OneSignalXCFramework 5.5.0 (+ API migration:
  initialize, Notifications.requestPermission, extension handlers)
- Audiobus 3.0.9.1 -> 3.0.15.1 (xcframework); bridging header now
  imports <Audiobus/Audiobus.h>
- AppCenter 2.5.0 -> 5.12.0 (xcframework); MS* -> AppCenter/Analytics/Crashes
- Raise iOS deployment target to 15.0 (Podfile + app & extension targets)
- Extension no longer inherits the app bridging header or links AudioKit
- post_install: redirect extension PODS_XCFRAMEWORKS_BUILD_DIR to avoid
  "Multiple commands produce" on shared OneSignal xcframeworks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant