I have a SDK named 'MapmyIndiaAPIKit' in my project, after updating to Xcode 10.0, I am getting a error:
"Module compiled with Swift 4.1.2 cannot be imported by the Swift 4.2 compiler"
I have a SDK named 'MapmyIndiaAPIKit' in my project, after updating to Xcode 10.0, I am getting a error:
"Module compiled with Swift 4.1.2 cannot be imported by the Swift 4.2 compiler"
You need to compile the module in Swift 4.2.
In the Xcode project navigator, select the project. Then in the main view select the target for MapmyIndiaAPIKit
and go to the build settings tab.
In the build settings, do a search for "Swift Language Version" and it should bull up the setting you need to change to 4.2.
A picture is worth a thousand words so...
If the API was supplied by a third party in compiled form, you'll need to get them to give you a copy for Swift 4.2. You can't link frameworks and apps that were compiled with different versions of Swift because the ABI is not yet stable.