rasmuslos / ShelfPlayer

Native Audiobookshelf player for iOS & iPadOS
Other
228 stars 20 forks source link

Fix build without all features enabled #158

Closed AlexGustafsson closed 1 week ago

AlexGustafsson commented 1 week ago

When ENABLE_ALL_FEATURES is removed from the debug configuration, the build would fail due to an ifdef assigning to a non-existing variable. Fix this by removing the assignment.

rasmuslos commented 1 week ago

The ENABLE_ALL_FEATURES flag is used to disable some "more complex to setup" things. Like for example the SwiftData group container, which is why you had to manually update it. I already fixed this for https://github.com/rasmuslos/ShelfPlayer/issues/160 by assigning to the correct variable, I renamed it 😅