You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.
Actions
npm install
cd ios && pod install && cd ..
react-native run-ios
Behaviour
react-native run-ios fails with error message: /Users/user/Documents/git/onfido-sdk-react-native-sample-app/ios/ReactNativeSampleApp/OnfidoSDK.swift:10:8: module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0.1 compiler: /Users/user/Documents/git/onfido-sdk-react-native-sample-app/ios/Pods/Onfido/Onfido.framework/Modules/Onfido.swiftmodule/x86_64.swiftmodule
Expected behaviour
run-ios should successfully compile and run example project
Versions
XCode - 10.2
Comments
Hi onfido. It seems like there's another breaking change in the latest version of XCode that gives the above error. I have tried to upgrade the onfid ios-sdk version to fix it, but there seems to be compatibility issues there as well. Are you hoping to update the sample app anytime soon?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Actions
npm install
cd ios && pod install && cd ..
react-native run-ios
Behaviour
react-native run-ios fails with error message:
/Users/user/Documents/git/onfido-sdk-react-native-sample-app/ios/ReactNativeSampleApp/OnfidoSDK.swift:10:8: module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0.1 compiler: /Users/user/Documents/git/onfido-sdk-react-native-sample-app/ios/Pods/Onfido/Onfido.framework/Modules/Onfido.swiftmodule/x86_64.swiftmodule
Expected behaviour
run-ios should successfully compile and run example project
Versions
XCode - 10.2
Comments
Hi onfido. It seems like there's another breaking change in the latest version of XCode that gives the above error. I have tried to upgrade the onfid ios-sdk version to fix it, but there seems to be compatibility issues there as well. Are you hoping to update the sample app anytime soon?
The text was updated successfully, but these errors were encountered: