Skip to main content
Version: 3.0.0

Integration in an Xcode project

First, you need to the files on our sharing platform. Here you should have available a few files.

  1. Your license file in a zip. You can unzip it to integrate it in your project.
  2. The iOS and Android build. Depending on your license you can download the appropriate versions. Since the new build are a little heavier you we have available a version without plates (if you don't need it) for each build.

Integration:

  1. Add the xcframework to your project and the license file icare_smartscan.lic in your project. (The license file should be present in your app release)

  2. Project Settings (Some of this steps aren't necessary anymore if you have a recent xcode version) : a. Disable bitcode in your project settings b. C++ language Dialect should be switched to Compiler Default c. C++ Standard Library should be libc++ (LLVM c++... )

  3. In the linked framework you want to add libc++.tbd from the system libraries

  4. You can import the module

  5. Add an entry with the key "Privacy - Camera Usage Description" in your project-name-info.plist file to allow your app to access the camera

  6. You can Import the necessary dependencies by module or header

  7. If you're using qrcode, it's now needed to use the -all_load in the "other compiler flags" in your project.

Migration from Smartscan iOS V 2.x.y

  • Remove your opencv dependencies
  • Add the new xcframework and your license file and your project
  • If you're using the license plates, you can migrate to theia. Replace the CODE_EU_PLATES with CODE_THEIA_PLATE_READER as reading type, and you can also remove all the CODE_PLT_XYZ in the subtypes. All countries are included by default.
  • Migrate to use the SmartScanResult.metadata to get information (like the plate country) instead of code SmartScanResult.codeDescription .