fix for Xcode 14 : dyld: Library not loaded: /usr/lib/swift/libswiftCoreGraphics.dylib Reason: image not found (#763)

This commit is contained in:
Dwarven Yang 2022-11-01 11:16:22 +08:00 committed by GitHub
parent 07c5d1f604
commit 2f65612dca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -14,5 +14,11 @@ Pod::Spec.new do |s|
s.source_files = 'Sources/*.swift'
s.libraries = 'swiftCoreGraphics'
s.xcconfig = {
'LIBRARY_SEARCH_PATHS' => '$(SDKROOT)/usr/lib/swift',
}
s.swift_versions = ['5.0']
end