ObjectMapper icon indicating copy to clipboard operation
ObjectMapper copied to clipboard

Module compiled with Swift 5.2.4 cannot be imported by the Swift 5.5.1 compiler, Xcode 13.1 Error

Open sanojKashyap opened this issue 3 years ago • 0 comments

So basically I faced this error on Xcode 13.1 and tried building the 3.5 to 4.2 version but did not get built.

Module compiled with Swift 5.2.4 cannot be imported by the Swift 5.5.1 compiler: /Users/Documents/Workspace/Project/Carthage/Build/iOS/ObjectMapper.framework/Modules/ObjectMapper.swiftmodule/x86_64-apple-ios-simulator.swiftmodule

Screenshot 2021-12-21 at 3 22 18 PM

Currently same error with

github "Hearst-DD/ObjectMapper" "3.5.3" to github "Hearst-DD/ObjectMapper" "4.2.0" System: macOSBigSur: 11.6 (20G165)

Could anyone please help me on this?

I tried a couple of StackOverflow answers but does not seem to be working. Tried with NEW BUILD SYSTEM vs LEGACY BUILD SYSTEM.

and some options in build settings.

sanojKashyap avatar Dec 21 '21 09:12 sanojKashyap