- Download Liblinphone iPhone SDK from the link: http://www.linphone.org/releases/ios/liblinphone-iphone-sdk-latest.zip
OR from here, http://www.linphone.org/releases/ios
and choose latest one from here.
- Move two folders (include and lib) to your project folder
- Add paths to these folders in your project Build settings - INCLUDE folder goes to headers and LIB folder goes to libraries.
- In General tab in Linked frameworks add all files from LIB folder
- Download/clone the repo https://github.com/BelledonneCommunications/linphone-iphone
- Find 4 files: LinphoneManager.h/.m and Utils.h/.m , include them in your project folder and add them to the left pane to other class files also
- Try to compile your project - xCode will spam you with errors - this is ok.
- You need to inspect errors and just delete all file imports causing errors (Some Linphone Address book files/ some config store files and some helpers classes that you do not need for basic use in your project (because most likely you already implemented this features in your existing project))
- Then compile again and inspect all errors in methods. Comment delete any problematic chunks of code (there will be about 10-15 of them).
LinphoneManager类已经包含许多有用的功能 - 喜欢好的手表和使用linphone核心与良好的伐木等等,但不是所有(不幸的是)。
LinphoneManager class already include many useful features - like good watch and use of linphone core with good logging and etc and etc, but not all of them (unfortunately).