Post

Replies

Boosts

Views

Activity

Reply to iOS app fails to run with Xcode 16 & less than iOS17.0 no issue with Xocde 15
I’m experiencing the same issue — my apps stop working on iOS 16 and 17 when built with Xcode 16 (currently using 16.3). The error message is the same: Library not loaded: /System/Library/Frameworks/SwiftUICore.framework/SwiftUICore I managed to work around the issue in one of my apps by marking the framework as optional using the linker flag -weak_framework SwiftUICore under the App Target > Linking > Other Linker Flags. It would be great to get more information from Apple regarding this. Why are iOS 16 and 17 attempting to load a framework that’s only available in iOS 18? Am I missing something?
Apr ’25
Reply to Library not loaded: /System/Library/Frameworks/SwiftUICore.framework/SwiftUICore
I had the same problem: Library not loaded: /System/Library/Frameworks/SwiftUICore.framework/SwiftUICore This was caused because of a name in the all that make the Linker confused. the app My proyecto name was APP and it was the problem... after changing it to something different and changing the Scheeme and some other places related to the project name change, the problem was done.
Topic: UI Frameworks SubTopic: SwiftUI
Apr ’25