google-ios-vision

GoogleMobileVision GoogleSignIn duplicate symbol using Cocoapods?

﹥>﹥吖頭↗ 提交于 2020-01-02 20:11:10
问题 I am using CocoaPods to add two frameworks. target 'TestGoogleLib' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! # Pods for TestGoogleLib pod 'GoogleMobileVision' pod 'GoogleSignIn' end But when I run - I get duplicate error. It seems both framework are using same file. My Pod version is 1.5.3 duplicate symbol _OBJC_IVAR_$_MDMPasscodeCache._localAuthenticationInfo in: ld: 13 duplicate symbols for architecture x86_64 clang: error:

Google Face Detection crashing when converting to image and trying to detect face

杀马特。学长 韩版系。学妹 提交于 2019-12-24 09:48:01
问题 I am creating a custom camera with filters. When I add the following line it crashes without showing any exception. //Setting video output func setupBuffer() { videoBuffer = AVCaptureVideoDataOutput() videoBuffer?.alwaysDiscardsLateVideoFrames = true videoBuffer?.videoSettings = [(kCVPixelBufferPixelFormatTypeKey as NSString): NSNumber(value: kCVPixelFormatType_32RGBA)] videoBuffer?.setSampleBufferDelegate(self, queue: DispatchQueue.main) captureSession?.addOutput(videoBuffer) } public func

GoogleMobileVision GoogleSignIn duplicate symbol using Cocoapods?

无人久伴 提交于 2019-12-06 12:55:15
I am using CocoaPods to add two frameworks. target 'TestGoogleLib' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! # Pods for TestGoogleLib pod 'GoogleMobileVision' pod 'GoogleSignIn' end But when I run - I get duplicate error. It seems both framework are using same file. My Pod version is 1.5.3 duplicate symbol _OBJC_IVAR_$_MDMPasscodeCache._localAuthenticationInfo in: ld: 13 duplicate symbols for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) How can I install both using