Skip to content
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

IOS Xcode 15 archive failed #69

Closed
1 task done
ngocle2497 opened this issue Nov 21, 2023 · 4 comments
Closed
1 task done

IOS Xcode 15 archive failed #69

ngocle2497 opened this issue Nov 21, 2023 · 4 comments

Comments

@ngocle2497
Copy link
Contributor

Current behavior

Archive failed when use xcode 15

Expected behavior

Platform

  • iOS

React Native Version

0.72.2
Undefined symbols for architecture arm64:
"_BIO_f_base64", referenced from:
decryptor::base64_decode(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_BIO_free_all", referenced from:
decryptor::base64_decode(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_BIO_new", referenced from:
decryptor::base64_decode(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_BIO_new_mem_buf", referenced from:
decryptor::base64_decode(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_BIO_push", referenced from:
decryptor::base64_decode(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_BIO_read", referenced from:
decryptor::base64_decode(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_BIO_set_flags", referenced from:
decryptor::base64_decode(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_EVP_BytesToKey", referenced from:
decryptor::openSSLKey(std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_EVP_CIPHER_CTX_free", referenced from:
decryptor::rawDecrypt(std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_EVP_CIPHER_CTX_new", referenced from:
decryptor::rawDecrypt(std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_EVP_CIPHER_iv_length", referenced from:
decryptor::openSSLKey(std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_EVP_CIPHER_key_length", referenced from:
decryptor::openSSLKey(std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_EVP_DecryptFinal_ex", referenced from:
decryptor::rawDecrypt(std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_EVP_DecryptInit_ex", referenced from:
decryptor::rawDecrypt(std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_EVP_DecryptUpdate", referenced from:
decryptor::rawDecrypt(std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_EVP_aes_256_cbc", referenced from:
decryptor::rawDecrypt(std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_EVP_get_cipherbyname", referenced from:
decryptor::openSSLKey(std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
"_EVP_md5", referenced from:
decryptor::openSSLKey(std::__1::vector<unsigned char, std::__1::allocator> const&, std::__1::vector<unsigned char, std::__1::allocator> const&) in libreact-native-keys.a(decryptor.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@numandev1
Copy link
Owner

@ngocle2497
Copy link
Contributor Author

ngocle2497 commented Nov 22, 2023

Thanks, i just add Open-SSL to pod file with modular-heasder. It work but i get warning duplicate version Open-SSL, please add this to trouble docs

@numandev1
Copy link
Owner

@masonle2x2 on some RN versions I get this issue but on some versions, I am not getting any issue, I think, Flipper is also using open SSL therefore we are getting issues like this, can you add trouble docs?
I added docs for this, you can improve it if you want

Screenshot 2023-11-22 at 12 32 35 PM

@ngocle2497
Copy link
Contributor Author

@masonle2x2 on some RN versions I get this issue but on some versions, I am not getting any issue, I think, Flipper is also using open SSL therefore we are getting issues like this, can you add trouble docs?
I added docs for this, you can improve it if you want

Screenshot 2023-11-22 at 12 32 35 PM

Thanks, but i hate Flipper .....

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

No branches or pull requests

2 participants