blinkinput / blinkinput-ios

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

getting bunch of linking errors regarding arch (file was built for unsupported file format) #20

Closed jenkinsdafftest closed 6 years ago

jenkinsdafftest commented 7 years ago

Hi, I am trying to integrate blinkinput-ios in my project. and i have tried with both the options with cocoapods and without cocoapods and facing the same issue.

for both the scenerios i am getting

screen shot 2016-12-21 at 4 12 30 pm

this is the same issue that is reported by someone earlier and marked as closed.

Please Help, as i have tried with the exact same steps in getting started, nothing works out.

Thanks, Rahul Goel

DoDoENT commented 7 years ago

Please make sure Git LFS is installed and set up before cloning the repository. See documentation for instructions.

Without LFS, MicroBlink binary will only be a small text file referring to actual binary data stored on LFS server. You need Git LFS to download this file when cloning the repository.

jenkinsdafftest commented 7 years ago

I have already installed LFS from the given link, when i am trying to clone with "git clone git@github.com:BlinkOCR/blinkocr-ios.git" it was showing me authentication error

So i have used the release ver2.2 to get the the latest MicroBlink.framework and MicroBlink.bundle

What further steps i need to do , please suggest

P.S. Should the files in Release v2.2.0 not work as they are tagged as a separate latest release.

Thanks, Rahul Goel

DoDoENT commented 7 years ago

The authentication error is probably related to your git not being correctly set up for github. Which exactly error are you getting?

jenkinsdafftest commented 7 years ago

This is the response i am getting from github. after entering "git clone git@github.com:BlinkOCR/blinkocr-ios.git"

Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

Should it not supposed to be the public link or something


DoDoENT commented 7 years ago

You have to import your public key into Github. See Github documentation how to do that. Alternatively, you can clone via HTTPS.

jenkinsdafftest commented 7 years ago

I have tried downloading with https, and this time i got this screen shot 2016-12-21 at 8 00 24 pm

In this MicroBlink.bundle 5.7 MB and MicroBlink.framework 151KB is downloaded, and when i added these two manually in project previous linking errors are gone but i have this now.

screen shot 2016-12-21 at 8 03 01 pm

Please Suggest.

DoDoENT commented 7 years ago

The clone error suggests checking the log with git lfs logs last to see why downloading of file from LFS failed. Also, have you tried importing your SSH key and cloning via SSH?

mikekavouras commented 7 years ago

@jenkinsdafftest fwiw I was running into the same issue using Cocoapods. Downloaded the .zip and embedded manually fixed it. Not sure about a solution using Cocoapods. Definitely not the best solution as it makes it harder to update in the future. Could try embedding it as a submodule using git lfs.

culoi commented 6 years ago

Closing as inactive