Post

Replies

Boosts

Views

Activity

Reply to Library not loaded: /System/Library/Frameworks/SwiftUICore.framework/SwiftUICore
Hi, thanks for your help. The project was indeed created by Xcode, however, it was created with Xcode 15.3 and is now being compiled by Xcode 16.1. The only tool we use to change our code is SwiftLint, but im not seeing any code changes when the build is run. I followed the thread you pointed to. We are also using TCA v1.17 in our main application, however, our Design.framework doesn't have a dependency on it. I will add that we found something unusual. We added a new SwiftUI view that operates as a container with multiple types for its children. When we removed this view, the issue went away. struct MyView<Child1: View, Child2: View>: View { private let child1: () -> Child1 private let child2: () -> Child2 init( @ViewBuilder child1: @escaping () -> Child1, @ViewBuilder child2: @escaping () -> Child2 ) { self.child1 = child1 self.child2 = child2 } var body: some View { VStack { child1() child2() } } } Our assumption is, this code causes SwiftUI.framework to pull SwiftUICore.framework as a strongly linked dependency. I sincerely appreciate your help!
Topic: UI Frameworks SubTopic: SwiftUI
Jan ’25