WebEngage / webengage-flutter

WebEngage Flutter Plugin
Apache License 2.0
4 stars 21 forks source link

Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.5.1 #13

Closed developerCode11 closed 2 years ago

developerCode11 commented 2 years ago

I got this error. when I was trying to add WebEngage into the project.

pub get ✅ pod install ✅ Xcode build ⛔

My assumption is that something is not good with the WebEngage SDK version. That wasn't compatible with my latest Xcode version.

That was what I assume, but Let me know the team how I can resolve this.

Thank you

Screenshot 2022-01-19 at 6 06 53 PM .

snehmehta commented 2 years ago

Hey @developerCode11, I am facing the same issue. If you have resolved it, please share the solution.

developerCode11 commented 2 years ago

target.build_configurations.each do |build_configuration| build_configuration.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64 i386' end

add this lines in pod file then it will work.