i have seen other post simmilar to this and their solution is either upgrade it to ios 15 or put @available ios xx, I've done both and still got this error, are there any other solution? thank you
<unknown>:0: error: compiling for iOS 14.0, but module 'MockTechPost' has a minimum deployment target of iOS 15.0: /Users/fdika24/Library/Developer/Xcode/DerivedData/MockTechPost-gkosutlxcjcxfobkjgdzjwenfqcr/Build/Intermediates.noindex/MockTechPost.build/Debug-iphonesimulator/MockTechPost.build/Objects-normal/arm64/PostsDataSource~partial.swiftmodule
Command MergeSwiftModule failed with a nonzero exit code
CodePudding user response:
I have fixed it,and this might sound crazy but the solution is not upgrading it into ios 15, adding a reference to the Main storyboard is the solution, crazy huh
CodePudding user response:
Click on your project and go to "General" tab and make sure the deployment target for your project is iOS 15.0 as shown here:
Also, check the same for this configuration property has in "Build Settings" tab