Closed AlexanderplUs closed 4 years ago
Hi, maintaining the OSX & IOS builds is mostly a contribution based effort so if you have something to contribute that would be great! I had a quick talk with someone that knows abit about OSX and they mentioned that twolevel_namespace is also something that could be removed. Are you able to make a PR with this this change? We have automatic builds on travis for OSX but I think they are just static builds, we should ensure that they are also shared builds as this change would effect both OSX & IOS.
Hi @AlexanderplUs , it has been awhile but I would like to get this resolved. I have tried building for ios on latest osx but dont manage to get it to work. Can you verify this is still and issues for you and if so the exact steps needed to reproduce. Thanks
This should work now as part of #472, just reopen if there are still issues.
I've previously successfully compile static library
libsrtp.a
for iOS with bitcode enabled but when I switch to shared library I get next error:Here is my config:
I make shared library using
make shared_library
I can make build work just removing
-undefined dynamic_lookup
key from linking parameters inMakefile.in
:Is this undefined flag really needed? Or maybe some check for bitcode enabled (CFLAGS -fembed-bitcode or -fembed-bitcode-marker) can be added in configure script?