Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Not usable for ios with react native 0.59.9 #55

Open
phe-move-elevator-de opened this issue May 14, 2020 · 2 comments
Open

Not usable for ios with react native 0.59.9 #55

phe-move-elevator-de opened this issue May 14, 2020 · 2 comments

Comments

@phe-move-elevator-de
Copy link

Hello,
i tried to use the package on an app with react native 0.59.9.
With the package installed and linked it's not possible to build the app. I get a lot of errors like "duplicate symbols for architecture arm64".

I think the reason is, that the app don't use cocoa pods to install iOS dependencies. But cocoa pods only standard since version 0.60 and a migration cannot be implemented promptly.
The package.json from the repo has a dependency to react-native 0.59.8 only, so i hoped it is usable for my app.

Steps to reproduce:

  1. Create an empty app in version 0.59.9: npx react-native init AwesomeProject --version 0.59.9
  2. Add package: npm install react-native-rectangle-scanner --save
  3. Link the package: react-native link react-native-rectangle-scanner
  4. Try build: react-native run-ios

Is there a possibility to use it with react-native 0.59?

@humphreyja
Copy link
Member

Hmm interesting problem. You bring up a solid point that the version number should be adjusted though. I would like to support as much as I can without sacrificing features/usability. Would you know what would have to change in order to support a non-cocoa pods install? I haven't worked with much .59 apps.

@phe-move-elevator-de
Copy link
Author

Unfortunately, I don't know what needs to be changed. We have now discussed with the customer that we should first update to React Native 0.6x and then we will use your package.

I think the dependency should definitely be adjusted.
Thank you for answering anyway. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants