BelledonneCommunications / linphone-iphone

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of linphone-iphone (git://git.linphone.org/linphone-iphone.git)
http://linphone.org
GNU General Public License v3.0
588 stars 355 forks source link

Unable to build linphone-ios with local sdk #929

Closed Adnan-addi closed 2 weeks ago

Adnan-addi commented 7 months ago

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

Adnan-addi commented 7 months ago

@all

Please help me with this issue There is no extra documentation i could find to move further with development.

Thanks

aostano commented 7 months ago

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.

Adnan-addi commented 7 months ago

Thank you for this

waseemkhanyes commented 6 months ago

image

Facing this issue after installing the above command

image

Adnan-addi commented 6 months ago

@aostano After running those commands It doesn't install package linpgonesw

Any workaround on this ? @Viish Please help in this regard

aostano commented 6 months ago

probably you use -DENABLE_SWIFT_WRAPPER=OFF set this at ON or remove from cmake --prepare command

Bye ;-)