Community

Cannot integrate Mobile Imaging SDK

Hi, I'm trying to integrate Abbyy Mobile Imaging SDK to my Xcode project. (Xcode 9, iOS 11) 

How should I integrate it? Instructions given are not applicable anymore.

Was this article helpful?

0 out of 0 found this helpful

Comments

6 comments

  • Avatar
    Diana Khammatova

    Hi! Could you please specify whether you tried to follow the Help -> Programmer's Guide -> How to? -> Work with the Library for iOS -> How to Add the Library to a project in XCode manual? Could you please check that all items from the manual were performed correctly?

    0
  • Avatar
    chathura

    Same here, As per the instructions, I followed all the steps which are needed to be done.

    1. Create an Xcode project.

    2. Added inc/libs folders to the project here (TARGETS-->(My Project)-->Build Phases-->Link Binary With Libraries)

    3. Navigated to TARGETS-->(My Project)-->Build Settings

    4. In Search Paths, mapped the Header Search Paths to the inc folder

    5. In Search Paths, mapped the Library Search Oaths to the libs folder

    6. In Linking, added -libmobileimagingengine -all_load -stdc++ as a value to Runpath Search Paths

    7. As I'm using Xcode 9 and swift, I created a bridging header file in the project. There I included, #import <mobileImagingEngine.h>

    to get access to SDK classes.

    But this is not working.

    Any update? Help me on this. How to integrate this? I needed to integrate this ASAP.

    0
  • Avatar
    Diana Khammatova

    1. Could you please describe the issue in more details? What error messages did you get during the project building?

    2. Could you specify Mobile Imaging SDK build number that you use?

    3. Does the issue appear on the simulator, on a device, or both?

    0
  • Avatar
    Jhon

    Hi, 

    I'm having the same issue.

    1. As I'm using Swift, I have to create a bridging header to use your SDK. Right? Even I did it, it says it cannot find the header file.

    2. 11.3

    3. Both

    Problem is, there is no documentation to get support for latest versions of Xcode and Swift. Instructions provided in the SDK, are too old. As I'm using Xcode 9 and Swift 4, Can you please guide us to install Mobile Imaging SDK to Xcode project?

    You can try it by your own and let us know the steps to install it to latest versions. So this issue will be solved. 

    Please provide us a developer documentation for Mobile Imaging as well.

    Thank you.

    0
  • Avatar
    Diana Khammatova

    Could you please try to perform two additional things after going through the ”How to Add the Library to a project in XCode” manual:

    • Check deployment target, it shouldn’t be higher than 6.0.
    • Try to add the libraries from the screenshot in the “Link binary with libraries”:

    Also you need to add the import of the MI SDK header files to the project where it’s required. For example:
    #import “MobileImagingEngine.h”

    0
  • Avatar
    chathura

    Hi, 

    As we have developed lots of things using Xcode latest versions, it is really a big challenge for us to change the deployment target below 6.0.

    Can you please let me know any kind of solution you may have? Because we have to keep deployment target above 8.0.

    Thank you

    0

Please sign in to leave a comment.