I am able to run my React Native application in the simulator via Expo, but as soon as I try to build it with Xcode, I receive this error:
'SFSafariViewController' is only available on iOS 9.0 or newer (React Native Build)
These are the steps I took to build.
npm run eject
cd
into the ios directorypod install
The build then fails with 7 of the above errors. I am using Xcode version 9.0, Pods version 1.3.1.
Any help would be greatly appreciated.
For me, the errors were coming from the "AppAuth" dependency. I fixed this issue by setting the "iOS Deployment Target" of this package to iOS 9.0.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With