Cody Blog

Build liblinphone-sdk for iOS

Install git, homebrew

install git, homebew if you have no one.

Clone ios-linphone

$ git clone git://git.linphone.org/linphone-iphone.git --recursive

Remember add --recursive to download submodule

Excute .prepare.py

$ ./prepare.py

You may need execute this command many time until you install all dependecies.

In my case, I installed these tools:

$ brew install imagemagick doxygen cmake intltool yasm automake coreutils wget optipng nasm 
$ brew install intltool

If it works, you will get the following message:

-- Configuring done
-- Generating done
-- Build files have been written to: /Users/cwliu/Dev@Local/WiAdvance/1603_GoodWox/liblinphone/linphone-iphone/WORK/ios-armv7/cmake
INFO: You can now run 'make' to build.
...

Make

$ ./prepare.py -c && ./prepare.py && make

Or build debug version:

$ ./prepare.py -c && ./prepare.py --debug && make

Result

The output will be in liblinphone-sdk folder

result

iOS

Related Posts

Comments