Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build linphone-ios with local sdk #929

Open
Adnan-addi opened this issue Apr 27, 2024 · 6 comments
Open

Unable to build linphone-ios with local sdk #929

Adnan-addi opened this issue Apr 27, 2024 · 6 comments

Comments

@Adnan-addi
Copy link

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
Copy link
Author

@ALL

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

Thanks

@aostano
Copy link

aostano commented Apr 29, 2024

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
Copy link
Author

Thank you for this

@waseemkhanyes
Copy link

image

Facing this issue after installing the above command

image

@Adnan-addi
Copy link
Author

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

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

@aostano
Copy link

aostano commented May 2, 2024

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

Bye ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants