-
Notifications
You must be signed in to change notification settings - Fork 824
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
Create dynamic framework fails #72
Comments
Works fine here: $ ./create-openssl-framework.sh
Creating openssl.framework
Created openssl.framework What Xcode version have you installed? |
Add check for openssl-framework script on Travis. Related #72
Ah now i see the problem - if you use |
Add `ios_version_min` - but doesn't work at the moment (see http://www.openradar.me/22104678) Related #72
So it seems to be a Xcode Bug: http://www.openradar.me/22104678 and http://ww.openradar.appspot.com/23663451 |
If you remove the rejected
Copying that and calling it for each arch, then combining the outputs with lipo seems to produce a working dynamic framework: nanotech@9409f98 |
Ok could be a workaround - but it could break things for newer Xcode version i think, or? |
Seems to be fixed by Apple - Xcode 8 the dynamic framework is created. |
➜ OpenSSL-for-iPhone git:(master) ./create-openssl-framework.sh dynamic Creating openssl.framework ld: warning: -macosx_version_min not specified, assuming 10.9 ld: in lib/libcrypto.a(cryptlib.o), building for OSX, but linking in object file built for iOS, for architecture i386 fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: internal link edit command failed Created openssl.framework
The text was updated successfully, but these errors were encountered: