blinkinput / blinkinput-ios

OCR SDK for iOS powered by MicroBlink
Apache License 2.0
130 stars 26 forks source link

BlinkOCR can NOT coexist with BlinkID #4

Closed juliangsp closed 8 years ago

juliangsp commented 8 years ago

BlinkOCR SDK can NOT coexist in the same project/workspace with BlinkID SDK. I'm downloading both SDKs via Cocoapods. The PPCoordinator class on both SDKs are different and the BlinkOCR is recognized first in Xcode over the BlinkID.

Cerovec commented 8 years ago

This is expected. Both frameworks cannot work together, due to shared classes (linker will complain with duplicate symbol errors).

The best solution is to use BlinkID framework, which has the same features as BlinkOCR, and more.

juliangsp commented 8 years ago

Thanks! I got it working as said. As a reference I used in the Podfile pod 'PPBlinkID', :git => 'https://github.com/blinkid/blinkid-ios', :branch => 'feature/blinkocr' but I had to install first git lfs.

Cerovec commented 8 years ago

Hi Julian, yes, unfortunately because of Bitcode support and Github's file size limit of 100MB, git lfs will be required with new versions of our SDKs. But we believe this is a better solution than dropping bitcode support. Let us know if you need any other help!