Cannot load module '***' built with SDK 'iphoneos16.4' when using SDK 'iphoneos17.0'

While building xcode is giving me the **** error

Cannot load module '***' built with SDK 'iphoneos16.4' when using SDK 'iphoneos17.0': /Users/***/Library/Developer/Xcode/DerivedData/project-biopprgumksoaqgnrhztiivzzjkq/Build/Products/Debug-iphoneos/Turf.framework/Modules/Turf.swiftmodule/arm64-apple-ios.swiftmodule

It's working fine on xcode 14.3 but giving error on xcode 15

I ran into this same problem when using a ".zip" archive. The problem stopped when I unarchived, and updated my Package.swift file to reference the ".xcframework" instead

Hope this helps!

Cannot load module '***' built with SDK 'iphoneos16.4' when using SDK 'iphoneos17.0'
 
 
Q