Search code examples
iosobjective-cvoiplinphone-sdk

linphone integration with iOS app


I am trying to integrate my app with linphone SDK, But i get the following error:

ld: '/VOIPApp/liblinphone-sdk/apple-darwin/lib/libopus.a(celt_pitch_xcorr_arm-gnu.S.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

When i disable the BITCODE i get huge of errors


Solution

  • I disabled the bitcode although it was enabled in the linphone sample and added the following libs:

    libz.dylib
    libiconv.dylib
    libxml2.dylib
    libsqlite3.dylib
    libc++.dylib
    libstdc++.6.dylib
    libresolv.dylib
    

    and it works :)