webex-ios-sdk
webex-ios-sdk copied to clipboard
module compiled with Swift 4.1 cannot be imported by the Swift 5.3.1
I'm getting below error, when I have added webexsdk using pods and run the application.
"module compiled with Swift 4.1 cannot be imported by the Swift 5.3.1"
I have checked it in Xcode 12.2 and 12.4
Sometimes the error says The following binaries use incompatible versions of Swift
/Users/XXXXXX/Frameworks/Sbu.framework/Sbu
I have tried the below things.
- Deleting Derived Data.
- Checked if Command-line tools are correct.
- Deleting pod.lock file
- Updating Pods
- Changing scheme to WebexSDK and building project, changing back to project scheme and building it.
- Enabled "Build libraries for distribution" in build setting.
Kindly help me in solving the issue.

@harshTechEfficio did you resolve this issue?
I only have one XCode version and my Command Line Tools is pointed out to the correct version. I still get the same error. "module compiled with Swift 4.1 cannot be imported by the Swift 5.3.1"
Are you using our example project? @harshTechEfficio

In the example project, the SDK is working fine. I'm using pods to add the framework to my project. When I add it to my project it is throwing me an error.
@harshTechEfficio Can you match your project setting with example project setting? I think WebexSDK
is fine, may be due to project setting.
Or can you try to create a new project and pod install WebexSDK
?