VirgilSecurity / react-native-virgil-crypto

BSD 3-Clause "New" or "Revised" License
49 stars 17 forks source link

'VirgilCrypto/VirgilCrypto-Swift.h' file not found #38

Open desinl opened 4 years ago

desinl commented 4 years ago

I have tried to install this library and got this error 'VirgilCrypto/VirgilCrypto-Swift.h' file not found

steps to reproduce:

npm install react-native-virgil-crypto cd ios/ && pod install && cd .. open Xcode. compile the code.

react-native: 0.59.4

xLEWKANx commented 4 years ago

Try complete all instruction for RN 0.59.x: https://github.com/VirgilSecurity/react-native-virgil-crypto/tree/master/examples/Example59#notable-changes

desinl commented 4 years ago

Thank you @xlwknx I followed every step and now this

In file included from /Users/xx/xx/react-chat/node_modules/react-native-virgil-crypto/ios/RCTConvert+KeyPairType.m:1: /Users/aa/aratzlabs/react-chat/node_modules/react-native-virgil-crypto/ios/RCTConvert+KeyPairType.h:1:9: fatal error: 'React/RCTConvert.h' file not found

import <React/RCTConvert.h>

    ^~~~~~~~~~~~~~~~~~~~

further thoughts?

xLEWKANx commented 4 years ago

Sorry, @desinl, I can't reproduce your error. We have a working sample for React Native 0.59.x, so you can try to run it. There shouldn't be problems if you follow all instruction correctly. If our sample is working on your machine try to reproduce all actions in your project. If you have any difficulties with your project configuration, we have an individual support plan to help you with it, you can find more information here: https://dashboard.virgilsecurity.com/support

computerjazz commented 4 years ago

I got it to build on RN 63 using use_frameworks! :linkage => :static (had to disable Flipper)

https://stackoverflow.com/a/52911280

zrg-team commented 3 years ago

I got it to build on RN 63 using use_frameworks! :linkage => :static (had to disable Flipper)

https://stackoverflow.com/a/52911280

it throw the new error in yoda

AlexandrBol commented 3 years ago

same issue on "react-native": "0.63.4" Flipper - removed use_frameworks - added

'VirgilCrypto/VirgilCrypto-Swift.h' file not found

and

The following build commands failed: CompileC /.../react-native-virgil-crypto/ios/RCTConvert+KeyPairType.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

nguyentuanit97 commented 10 months ago

Same issues.