AudioKit / AudioKit

Audio synthesis, processing, & analysis platform for iOS, macOS and tvOS

Home Page:http://audiokit.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AudioKit issues with implementing the app "preferences" (Settings) for the app.

DarLohr opened this issue · comments

macOS Version(s) Used to Build

macOS 13 Ventura

Xcode Version(s)

Xcode 13.4.1

Description

Hi,
I have made an app and finally I decided to have a "preferences" / "Settings" window for my app. After wasting hours, thinking maybe my code is broken, I figured out that AudioKit is causing that. I have created a new Xcode document without AudioKit and implemented the "Settings" there and it worked perfectly. to make sure that the problem is caused by Audiokit, I then added the AudioKit into my project, and there it was. the error shoed up again. AudioKit is using "Settings" in one of their modules which is reserved by Xcode. and that creates the conflict.. I have tested this with AudioKit version 5+ on macOS 13+. I have included a screenshot from the issue

Crash Logs, Screenshots or Other Attachments (if applicable)

Screenshot 2023-08-19 at 11 03 20 PM

If you replace Settings { with SwiftUI.Settings { does it build successfully?

Yes that did it. Thanks a million.