paytabscom / flutter-sdk-bridge

MIT License
12 stars 11 forks source link

Can't build ios build #61

Closed amerelsayed1 closed 1 year ago

amerelsayed1 commented 1 year ago

When trying to create ios build i found this issue

Swift Compiler Error (Xcode): No such module '_StringProcessing' /Users/amerelsayed/work/FreeLancing/flutter_wechat/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/PayTabsSDK/PaymentSDK.framework/Modules/PaymentSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface:17:7

Swift Compiler Error (Xcode): Failed to build module 'PaymentSDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)', while this compiler is 'Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)'). Please select a toolchain which matches the SDK. /Users/amerelsayed/.pub-cache/hosted/pub.dev/flutter_paytabs_bridge-2.3.4/ios/Classes/SwiftFlutterPaytabsBridgePlugin.swift:2:7

Uncategorized (Xcode): Command EmitSwiftModule failed with a nonzero exit code

KhaledAlramam commented 1 year ago

Please update your Swift version as mentioned

Failed to build module 'PaymentSDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)', while this compiler is 'Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)'). Please select a toolchain which matches the SDK.