findmate / cordova-plugin-jitsi-meet

Cordova plugin for jitsi meet react native sdk
17 stars 21 forks source link

ios error - Undefined symbols for architecture x86_64 #4

Open redoc123 opened 4 years ago

redoc123 commented 4 years ago

Thanks for the plugin. It works smooth for android after version bump to 21.

But I am getting the following error while deploying it in ios emulator:

Undefined symbols for architecture x86_64: "_OBJCCLASS$_JitsiMeetView", referenced from: objc-class-ref in JitsiPlugin.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

My code version is Version 11.3.1 (11C504).

Any help on this would be greatly appreciated.

Thanks.

sreekar89 commented 4 years ago

same issue. did you solve the problem?

Undefined symbols for architecture x86_64: "_OBJCCLASS$_JitsiMeetView", referenced from: objc-class-ref in JitsiPlugin.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

sreekar89 commented 4 years ago

i fixed it by manually adding jitsi.framework and webrtc framework in linked libraries in build phases in xcode.

nwgroup commented 4 years ago

Hi @sreekar89, can you help me just a little about your solution please?

sreekar89 commented 4 years ago

Hi @sreekar89, can you help me just a little about your solution please?

better try below plugin its using abit latest sdk of jitsi https://github.com/agorum/cordova-plugin-jitsi.git and (optional) goto platforms--> ios--> your project --> cordova-plugin-jitsi replace jitsimeet.Framework & WebRTC.Framework folders from https://github.com/jitsi/jitsi-meet-ios-sdk-releases/tree/master/Frameworks inorder to used updated ios sdk of jitsi.

this repo is 2 yrs old and using old sdk of jitsi. and you may have skipped https://github.com/findmate/cordova-plugin-jitsi-meet/commit/86e8749cba604cc7e47885d1916d7a0d000f8725

cheers

nwgroup commented 4 years ago

Thanks a lot!!!!!!