rn-native-portals
rn-native-portals copied to clipboard
XCode fails to build
Hi there, is this still being maintained? I'm getting errors on swift version when linking to a fresh project.
It's not really an active project nor a published one of NPM.
I'm not comfortable at all with the iOS ecosystem and have not finished to bridge the swift implementation to RN.
I'm looking for people to help me on this one.
However, if you copy / paste the swift code in your app, it should work.
To be honest, I'm not that confident about this package. It was more a sharing of my experiments / experience with the topic.
There are some information an issues linked in the README for more details 😊
Hello I have a question this dependency successfully working React Native version 61.5 and Android Emulator. But we can't run iOS. So what is your latest successfully run and deploy iOS version and React Native version? We need to run & deploy this project iOS.
Thanks
There's been a PR from @alex4dev that attempts to make it run on ios: https://github.com/mfrachet/rn-native-portals/pull/5 . You could maybe try on the new master branch for testing?
However, if you copy / paste the swift code in your app, it should work.
https://stackoverflow.com/questions/52536380/why-linker-link-static-libraries-with-errors-ios
This helped resolve the build issue while also doing the following before pod install
export SWIFT_VERSION=`swift --version | awk '{print $4}'`