-
Notifications
You must be signed in to change notification settings - Fork 5
Add support for react-native 0.60.5 autolinking #39
Comments
Thank you for reporting this. |
@mirceanis, what is the latest |
I believe it was 0.59.8 |
@loredanacirstea running pod install isn't part of the set up process, unless you are running this for your own pods? Have you also manually added the Pods.xcodeproj to your Libraries in your project? |
@aldigjo, I have tried without
I haven't tried manual linking yet (I had previous issues with mixing cocoapods with xcode linking). But I will try that. |
@loredanacirstea Let me know if you continue having issues even with the manual linking process! |
@aldigjo, you already helped: reproducing on another react-native 0.59.8 app worked after adding:
For react-native 0.60.5 I did:
But I still have build errors ( |
@loredanacirstea just to be clear, are you referring to the Xcode project structure of react-native? |
Yes. I am talking about |
@loredanacirstea using these steps on a fresh project works for me, it looks like the react-native init command is somehow messing up the scheme
|
@aldigjo, I had one more step to do (otherwise it did not work): adding Ideally, it should have worked without manual linking, but this is on react-native and their 0.60+ problem with |
@loredanacirstea Please try version 1.6.0, auto linking should be functional in that version |
@loredanacirstea there may be some caching of the old version of it's native dependency UPTEthereumSigner on your machine. Check the version that's being pulled in when you run Perhaps we should make the version explicit in the .podspec if caching is a problem. Same for #42 |
@jasonhealy, yes, it works after pod update (#42 (comment)). Also, thank you all for the version update! |
After doing:
(1) trying the new react-native autolinking
I get:
I changed to
s.homepage = "https://github.com/uport-project/react-native-uport-signer.git"
inRNUportSigner.podspec
I got then got
Unable to find a specification for
UPTEThereumSignerdepended upon by
RNUportSigner`` -> I changedUPTEThereumSigner
to `UPTEthereumSigner` in `RNUportSigner.podspec`->
Pod installation complete!
, but building the project with Xcode has an error:framework not found EthCore
Using
use_frameworks!
oruse_modular_headers!
gets rid of the EthCore error, but have other issues. (probably related: facebook/react-native#25349 (comment))(2) Explicit linking, as in your Readme:
I get:
I then replaced
pod 'RNUportSigner', :path => '../node_modules/react-native-uport-signer'
fromPodfile
withpod 'RNUportSigner', :path => '../node_modules/react-native-uport-signer/ios/RNUportSigner.podspec'
-> Pod installation complete!, but building the project with Xcode has the same error:
framework not found EthCore
The text was updated successfully, but these errors were encountered: