linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] linphone-iphone XCode 5 - IOS7


From: John Bishop
Subject: Re: [Linphone-developers] linphone-iphone XCode 5 - IOS7
Date: Wed, 9 Oct 2013 11:32:06 +0700

Hi,

Have some news about the XCode 5 migration ? thank you

P.S. (Thank you Paolo / Grazie Paolo per "le dritte")


2013/9/23 Paolo Dastoli <address@hidden>
Hi,
I have some fix to build ios sdk from scratch (OSX 10.8 and Xcode 4.6.3) with enable_gpl_third_parties=yes and enable_zrtp=yes.
Two different problems: first, the output name of the zrtp library is libzrtpcppcore but some makefile search libzrtpcpp, then:

ln -sf libzrtpcppcore.pc liblinphone-sdk/armv7-apple-darwin/lib/pkgconfig/libzrtpcpp.pc
ln -sf libzrtpcppcore.pc liblinphone-sdk/armv7s-apple-darwin/lib/pkgconfig/libzrtpcpp.pc
ln -sf libzrtpcppcore.pc liblinphone-sdk/i386-apple-darwin/lib/pkgconfig/libzrtpcpp.pc

Second problem is the dependency from openssl, I had to install openssl with universal flag:
 
sudo port install openssl +universal

and I have created this symbolic links:

ln -sf /opt/local/lib/pkgconfig/libcrypto.pc liblinphone-sdk/armv7-apple-darwin/lib/pkgconfig/libcrypto.pc
ln -sf /opt/local/lib/pkgconfig/libcrypto.pc liblinphone-sdk/armv7s-apple-darwin/lib/pkgconfig/libcrypto.pc
ln -sf /opt/local/lib/pkgconfig/libcrypto.pc liblinphone-sdk/i386-apple-darwin/lib/pkgconfig/libcrypto.pc

The libcrypto installed with "port install openssl +universal" is not good for ARM, so I used this project https://github.com/st3fan/ios-openssl to build the correct libcrypto.a

I hope this can help.


Paolo

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]