[ad_1]
I’ve a Swift app written a few years in the past that makes use of just a few third social gathering libraries, a few of that are constructed with older model of Swift (like 5.2.4), and certainly one of them is written in Obj-C.
I simply upgraded to MacOS 12.4 and XCode 13.4 (with Carthage as bundle supervisor:
carthage replace --use-xcframeworks --platform iOS)
Since I exploit third social gathering libraries constructed with older variations of Swift, I’ve set “Construct Libraries for Distribution” to Sure (underneath Construct Settings).
Nevertheless, when I attempt to construct from XCode, I nonetheless get:
Module compiled with Swift 5.2.4 can't be imported by the Swift 5.6.1 compiler:/Customers/Joe/Desktop/SomeApp/Carthage/Construct/iOS/ObjectMapper.framework/Modules/ObjectMapper.swiftmodule/arm64.swiftm
I assumed “Construct Libraries for Distribution=Sure” was speculated to make it attainable to make use of Swift modules with totally different 5.x variations of Swift, so why am I nonetheless getting the above error?
[ad_2]
