Hey everyone,
this is to document the effort that needs to be done for Catalyst.
Please beware that the Target-Conditionals in the code are just the "route of lowest effort" and in no way how we should do it (esp. when it comes to S1 internal stuff).
Instead we should rip out all Platform-dependent stuff so that we have to use these conditionals at only a few select places and not wildly all over the place as in this (only meant to visualise) PR.
Apart from that we need to:
[x] Abstract OneSignal and ChimpKit away from Platform dependency.
ChimpKit does not compile for Cataylst (unsupported WebView calls, Framework is super old) Adressed in https://github.com/AudioKit/AudioKitSynthOne/pull/118OneSignal (tbd)
[ ] Cocoapods does not support xcframeworks, resulting in:
building for Mac Catalyst, but linking in object file built for iOS Simulator
options: a) ditch Cocoapods or b) wait for support or c) release special Catalyst one-off builds where we have to use AK as an Xcode Project file.
I will update this branch and list as I find out more.
DO NOT MERGE!!!
Hey everyone, this is to document the effort that needs to be done for Catalyst. Please beware that the Target-Conditionals in the code are just the "route of lowest effort" and in no way how we should do it (esp. when it comes to S1 internal stuff). Instead we should rip out all Platform-dependent stuff so that we have to use these conditionals at only a few select places and not wildly all over the place as in this (only meant to visualise) PR.
Apart from that we need to:
[x] Abstract OneSignal and ChimpKit away from Platform dependency. ChimpKit does not compile for Cataylst (unsupported WebView calls, Framework is super old) Adressed in https://github.com/AudioKit/AudioKitSynthOne/pull/118 OneSignal (tbd)
[x] Remove use of EZAudioPlotGL for Plotting (no OpenGL on Cataylst) in AudioKit, see https://github.com/AudioKit/AudioKit/issues/1802 Adressed in https://github.com/AudioKit/AudioKit/pull/1913 & https://github.com/AudioKit/AudioKit/pull/1912
[ ] Cocoapods does not support xcframeworks, resulting in:
building for Mac Catalyst, but linking in object file built for iOS Simulator
options: a) ditch Cocoapods or b) wait for support or c) release special Catalyst one-off builds where we have to use AK as an Xcode Project file.I will update this branch and list as I find out more. DO NOT MERGE!!!