Hi,
we have a fairly large Objective-C only codebase for iOS and macOS. We plan to introduce a new, isolated cross-platform view and figured to give Swift and SwiftUI a try in this scenario.
When preparing the project file, we ran into a linker error when using SwiftUI previews. The error was caused in the AppCenter framework and only occurs on iOS. macOS had no issue starting the preview, even though it uses the same framework.
Our solution was to add the required Libraries and Frameworks within the conditional Other Linker Flags parameter of the project settings. However, we are still curious on why the error occurs only on iOS and why SwiftUI previews have linker issues while normal simulator / device builds are fine.