Anyone ever encountered this issue on `cloud-sdk-u...
# sdk-rust
n
Anyone ever encountered this issue on
cloud-sdk-unity
for iOS build?
1
Linker flag and the framework order seems to be set fine based on installation guide. Frameworks also seems to be installed correctly.
Would love to get some pointers
f
Please refer to here to adjust the linking order of
libiPhone-lib.a
and add
-ObjC
to link flags
Copy code
Since libiPhone-lib.a has built-in old versions of celt and libvpx (This will cause the opus and vp8/vp9 codecs to not be called correctly and cause a crash.), so you need to adjust the link order to ensure that it is linked to liblivekit_ffi.a first.

The fix is ​​to remove and re-add libiPhone-lib.a from Frameworks and Libraries, making sure to link after liblivekit_ffi.a.
https://github.com/livekit/client-sdk-unity?tab=readme-ov-file#ios
From the error log, it seems that missed
-ObjC
in the UnityFramework project.
n
That worked @freezing-lifeguard-43174 thank you! I think I specifically set the
-ObjC
in
UnityiPhone
project instead of
UnityFramework
.
For anyone wondering about this. https://github.com/livekit-examples/unity-example