We want to use Mac RTC Zoom SDK for video calling and chatting support in our Mac OS X swift project.
Problem Description:
When we add the frameworks in ZoomSDK folder in our swift project. We get the following warning and errors:
ld: warning: ld: warning: ignoring file /Users/deepanshig-l/Desktop/SamplesZoom/SwiftSample/ZoomSDK/libssl.1.0.0.dylib, file was built for i386 which is not the architecture being linked (x86_64): /Users/deepanshig-l/Desktop/SamplesZoom/SwiftSample/ZoomSDK/libssl.1.0.0.dylibignoring file /Users/deepanshig-l/Desktop/SamplesZoom/SwiftSample/ZoomSDK/libcrypto.1.0.0.dylib, file was built for i386 which is not the architecture being linked (x86_64): /Users/deepanshig-l/Desktop/SamplesZoom/SwiftSample/ZoomSDK/libcrypto.1.0.0.dylib
ld: warning: ignoring file /Users/deepanshig-l/Desktop/SamplesZoom/SwiftSample/ZoomSDK/ZoomSDK.framework/ZoomSDK, file was built for i386 which is not the architecture being linked (x86_64): /Users/deepanshig-l/Desktop/SamplesZoom/SwiftSample/ZoomSDK/ZoomSDK.framework/ZoomSDK
Undefined symbols for architecture x86_64:
“_OBJC_CLASS_$_ZoomSDK”, referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
As the frameworks are built for 32 bit architecture, and our Mac app is built in swift with deployment target 10.10 (swift does not support 32 bit architecture, it supports 64 bit architecture). Can you provide frameworks built with 64 bit architecture.
Please guide us, how we can add Mac Zoom SDK in our swift project with deployment target 10.10. If you can mention all the steps, it would be highly grateful.
Thanks