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)

Home Page:http://linphone.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build failed xcode 14 apple silicon

Skyle974 opened this issue · comments

Hello,
I tried to build master banch in xcode 14 on apple silicon.
but I got this error:
Undefined symbols for architecture arm64:
"_libmsx264_init", referenced from:
-[LinphoneManager createLinphoneCore] in LinphoneManager.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I tried change depency ios version and nothing work.

Hi,

this issue should be fixed if you base yourself on the release/5.1 branch, the fix has not yet been merged into master.
You can fix it yourself by removing the two mentions of libmsx264 in the linphonemanager.m file, which is no longer used by the SDK

Thank you for this fast respond.
I removed the lines and the build works.

Hi,

this issue should be fixed if you base yourself on the release/5.1 branch, the fix has not yet been merged into master. You can fix it yourself by removing the two mentions of libmsx264 in the linphonemanager.m file, which is no longer used by the SDK

Works for me as well