rn-native-portals icon indicating copy to clipboard operation
rn-native-portals copied to clipboard

XCode fails to build

Open elzii opened this issue 5 years ago • 4 comments

Hi there, is this still being maintained? I'm getting errors on swift version when linking to a fresh project.

elzii avatar May 30 '19 03:05 elzii

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 😊

mfrachet avatar May 30 '19 12:05 mfrachet

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

Tugsjin avatar Dec 06 '19 03:12 Tugsjin

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?

mfrachet avatar Dec 16 '19 12:12 mfrachet

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}'`

scriptspry avatar May 29 '20 11:05 scriptspry