Comments (9)
hm.... current build have i386 binary already, should be fine. Can you prepare example project for that ?
$ file libssl.a
libssl.a: Mach-O universal binary with 5 architectures
libssl.a (for architecture armv7): current ar archive random library
libssl.a (for architecture armv7s): current ar archive random library
libssl.a (for architecture i386): current ar archive random library
libssl.a (for architecture x86_64): current ar archive random library
libssl.a (for architecture arm64): current ar archive random library
$ file libcrypto.a
libcrypto.a: Mach-O universal binary with 5 architectures
libcrypto.a (for architecture armv7): current ar archive random library
libcrypto.a (for architecture armv7s): current ar archive random library
libcrypto.a (for architecture i386): current ar archive random library
libcrypto.a (for architecture x86_64): current ar archive random library
libcrypto.a (for architecture arm64): current ar archive random library
from openssl.
got lots of the same errors.
Undefined symbols for architecture i386:
"_closedir$UNIX2003", referenced from:
_OPENSSL_DIR_end in libcrypto.a(o_dir.o)
"_fopen$UNIX2003", referenced from:
_BIO_new_file in libcrypto.a(bss_file.o)
_file_ctrl in libcrypto.a(bss_file.o)
_open_console in libcrypto.a(ui_openssl.o)
"_fputs$UNIX2003", referenced from:
_write_string in libcrypto.a(ui_openssl.o)
_read_string in libcrypto.a(ui_openssl.o)
"_fwrite$UNIX2003", referenced from:
_send_fp_chars in libcrypto.a(a_strex.o)
_file_write in libcrypto.a(bss_file.o)
_file_puts in libcrypto.a(bss_file.o)
_int_rsa_verify in libcrypto.a(rsa_sign.o)
_dtls1_retransmit_buffered_messages in libssl.a(d1_both.o)
_write_fp in libcrypto.a(b_dump.o)
_TXT_DB_read in libcrypto.a(txt_db.o)
...
"_opendir$INODE64$UNIX2003", referenced from:
_OPENSSL_DIR_read in libcrypto.a(o_dir.o)
"_readdir$INODE64", referenced from:
_OPENSSL_DIR_read in libcrypto.a(o_dir.o)
"_strerror$UNIX2003", referenced from:
_ERR_load_ERR_strings in libcrypto.a(err.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
from openssl.
lipo output
➜ lib-ios git:(master) ✗ lipo -info libssl.a
Architectures in the fat file: libssl.a are: armv7 armv7s i386 x86_64 arm64
➜ lib-ios git:(master) ✗ lipo -info libcrypto.a
Architectures in the fat file: libcrypto.a are: armv7 armv7s i386 x86_64 arm64
from openssl.
Also for 64 bit simulator:
Undefined symbols for architecture x86_64:
"_opendir$INODE64", referenced from:
_OPENSSL_DIR_read in libcrypto.a(o_dir.o)
"_readdir$INODE64", referenced from:
_OPENSSL_DIR_read in libcrypto.a(o_dir.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
from openssl.
May it be CocoaPods related issue ? CocoaPods/CocoaPods#2666
from openssl.
Fixed with 1.0.1.j-2. Please update.
from openssl.
Look like it fixed the compilation errors.
Thnx
from openssl.
Can't update to the 1.0.1.j-2 version since it have not yet appeared in the pod specs repository
➜ pod search openssl-universal
-> OpenSSL-Universal (1.0.1.j)
OpenSSL for iOS and OS X
pod 'OpenSSL-Universal', '~> 1.0.1.j'
- Homepage: http://krzyzanowskim.github.io/OpenSSL/
- Source: https://github.com/krzyzanowskim/OpenSSL.git
- Versions: 1.0.1.j, 1.0.1.i, 1.0.1.h, 1.0.1.g, 1.0.1.f [master repo]
from openssl.
$ pod search openssl-universal
Can't confirm. Is it possible that you have something outdated ?
http://cocoapods.org/?q=openssl-universal
-> OpenSSL-Universal (1.0.1.j-2)
OpenSSL for iOS and OS X
pod 'OpenSSL-Universal', '~> 1.0.1.j-2'
- Homepage: http://krzyzanowskim.github.io/OpenSSL/
- Source: https://github.com/krzyzanowskim/OpenSSL.git
- Versions: 1.0.1.j-2, 1.0.1.j, 1.0.1.i, 1.0.1.h, 1.0.1.g, 1.0.1.f
[master repo]
from openssl.
Related Issues (20)
- Sign Data Using RSA With PKCS#7 Format
- License issue on OpenSSL HOT 1
- OpenSSL-Universal no library for this platform found ios HOT 2
- Legacy Provider support? HOT 1
- SHA1 crashes when digesting big data HOT 1
- OpenSSL 3.1.4 HOT 1
- Where to get opensslconf-arm64.h? HOT 1
- Cannot find 'BIO_set_conn_hostname' in scope HOT 1
- Privacy Manifest and Signature HOT 11
- Big git .pack file HOT 5
- where X509_get_notAfter HOT 1
- Getting ITMS-90482: Invalid Executable from Apple HOT 4
- Add support for apple watch / watchos HOT 5
- Require Apple Release - Privacy Manifest and Signature for third-party frameworks HOT 1
- Apple Silicon (arm64) and iphone-simulator builds HOT 2
- Missing type definitions when building for simulator HOT 1
- ERROR ITMS-90711: "Invalid executable permissions" HOT 5
- 3.1.5 Signing error HOT 1
- 3.1.5 s.ios.deployment_target = '14.0' is too heigh HOT 2
- OpenSSL 3.2.1 is available HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openssl.