New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use of undeclared identifier 'kind_' [arm64-v8a] #189
Comments
The issue occurs because of your projects OpenSSL-Universal Version. Downgrading from OpenSSL 3 to a lower version fixed the problem for me, as the line that breaks is behind a version check: https://github.com/margelo/react-native-quick-crypto/blob/26684914784f6d7f38a0dc5bc83708c0bcd6c1e7/cpp/Cipher/MGLCipherHostObject.cpp#L579C1-L579C31 Add something like this to your Podfile: |
@milanpro I'm not having an issue building for iOS, my issue is with Android. I have downgraded my system OpenSSL, but still get the same error. Any other ideas? Are you able to build Android? ➜ lib openssl version -a
OpenSSL 1.1.1v 1 Aug 2023
built on: Tue Aug 1 13:51:35 2023 UTC
platform: darwin64-arm64-cc
options: bn(64,64) rc4(int) des(int) idea(int) blowfish(ptr)
compiler: clang -fPIC -arch arm64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -D_REENTRANT -DNDEBUG
OPENSSLDIR: "/opt/homebrew/etc/openssl@1.1"
ENGINESDIR: "/opt/homebrew/Cellar/openssl@1.1/1.1.1v/lib/engines-1.1"
Seeding source: os-specific |
fixed in #253 |
When building for Android I get the error
use of undeclared identifier 'kind_' [arm64-v8a]
. I've tested on multiple devices (Pixel 6, Saga, emulator), but all fail with the same error.The text was updated successfully, but these errors were encountered: