Hi all I have a problem when I try to integrate onsip-cordova on an cordova project. here is the error when I try to build on an iPhone 7:
ld: warning: ignoring file /Users/sophos/Documents/WorkSpace/Test2/platforms/ios/Test2/Plugins/com.onsip.cordova/libwebrtc_video_coding.a, file was built for archive which is not the architecture being linked (arm64): /Users/sophos/Documents/WorkSpace/Test2/platforms/ios/Test2/Plugins/com.onsip.cordova/libwebrtc_video_coding.a
Undefined symbols for architecture arm64:
"_OBJCCLASS$_RTCEAGLVideoView", referenced from:
objc-class-ref in PhoneRTCPlugin.o
"_OBJCCLASS$_RTCICECandidate", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"_OBJCCLASS$_RTCICEServer", referenced from:
objc-class-ref in PhoneRTCPlugin.o
"_OBJCCLASS$_RTCMediaConstraints", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"_OBJCCLASS$_RTCPair", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"_OBJCCLASS$_RTCPeerConnectionFactory", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"_OBJCCLASS$_RTCSessionDescription", referenced from:
objc-class-ref in PhoneRTCDelegate.o
"_OBJCCLASS$_RTCVideoCapturer", referenced from:
objc-class-ref in PhoneRTCDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Hi all I have a problem when I try to integrate onsip-cordova on an cordova project. here is the error when I try to build on an iPhone 7:
ld: warning: ignoring file /Users/sophos/Documents/WorkSpace/Test2/platforms/ios/Test2/Plugins/com.onsip.cordova/libwebrtc_video_coding.a, file was built for archive which is not the architecture being linked (arm64): /Users/sophos/Documents/WorkSpace/Test2/platforms/ios/Test2/Plugins/com.onsip.cordova/libwebrtc_video_coding.a Undefined symbols for architecture arm64: "_OBJCCLASS$_RTCEAGLVideoView", referenced from: objc-class-ref in PhoneRTCPlugin.o "_OBJCCLASS$_RTCICECandidate", referenced from: objc-class-ref in PhoneRTCDelegate.o "_OBJCCLASS$_RTCICEServer", referenced from: objc-class-ref in PhoneRTCPlugin.o "_OBJCCLASS$_RTCMediaConstraints", referenced from: objc-class-ref in PhoneRTCDelegate.o "_OBJCCLASS$_RTCPair", referenced from: objc-class-ref in PhoneRTCDelegate.o "_OBJCCLASS$_RTCPeerConnectionFactory", referenced from: objc-class-ref in PhoneRTCDelegate.o "_OBJCCLASS$_RTCSessionDescription", referenced from: objc-class-ref in PhoneRTCDelegate.o "_OBJCCLASS$_RTCVideoCapturer", referenced from: objc-class-ref in PhoneRTCDelegate.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
a solution please