Comment on xcode14:Library not loaded: /usr/lib/swift/libswiftCoreGraphics.dylib Just in case like you're like me and have this problem with a Framework, and not a dylib, (in my case, /System/Library/Frameworks/SwiftUI.framework/SwiftUI ) you have to tweak the Linker Flag just a little bit: -weak_framework SwiftUI Developer Tools & Services General Oct ’22