Unable to build linphone-ios with local sdk
Adnan-addi opened this issue · comments
Hi @Viish
I tried building local sdk and compiled it with Ninja technique sdk build was successful
than i ran the command PODFILE_PATH=/Users/ABC/Desktop/linphone_ios_sdk/linphone-sdk pod install
but i am getting this error :
[!] No podspec found for linphone-sdk
in /Users/ABC/Desktop/linphone_ios_sdk/linphone-sdk
I could not build folder generated in sdk directory previously with old cmake build folder was generated but that technique takes lot of time i used Ninja Technique which was mentioned in Readme.md file but build folder not generated only ios-build folder generated .
How to make it work if local sdk compiled using Ninja command.
Could you please tell me what is the correct way to use local sdk i am trying use local sdk to work with flexisip.
Thanks
Please help me with this issue
There is no extra documentation i could find to move further with development.
Thanks
Hi Adnan,
to compile sdk use:
cmake --preset=ios-sdk -B build-ios -G Ninja ....[add -DENABLE* needed]
cmake --build build-ios --parallel 12
after successful compiled sdk, inside folder contain linphone-iphone use:
PODFILE_PATH=[sdk folder]/build-ios pod install
;-)
Pierluigi.
Thank you for this
probably you use -DENABLE_SWIFT_WRAPPER=OFF
set this at ON or remove from cmake --prepare command
Bye ;-)