x86_64 details in README

This commit is contained in:
Guillaume BIENKOWSKI 2015-01-19 14:49:09 +01:00
parent 5b1c65120c
commit d5db95f16f

View file

@ -91,6 +91,11 @@ After the SDK is built, just open the Linphone Xcode project with Xcode, and pre
* Video capture does not work in simulator (not implemented by simulator?).
* Link errors with x86_64: this happens when you try to run linphone on the iPhone 5S/6/6+ simulators.
This is due to the fact that we're not building the SDK for the x86_64 architecture, due to it being redundant with i386 (and increasing dramatically the compile time and build size).
The solution (temporary) is to force the acceptable architectures to be 'armv7' only (remove 'arm64') and disable the "build active architecture" flag in the linphone, XMLRPC and NinePatch projects.
Don't forget to re-enable them when archiving your project.
## DEBUGING THE SDK
Sometime it can be useful to step into liblinphone SDK functions. To allow Xcode to enable breakpoint within liblinphone, SDK must be built with debug symbols.