Example configurations of the Anyline OCR SDK.
Clone or download
Philipp Müller
Philipp Müller Added Anyline 6
Latest commit e1aafcb Dec 8, 2018


 _____         _ _         
|  _  |___ _ _| |_|___ ___ 
|     |   | | | | |   | -_|
|__|__|_|_|_  |_|_|_|_|___|

Anyline Examples App

Anyline is mobile OCR SDK, which can be configured by yourself to scan all kinds of numbers, characters, text and codes.

The Example App provides you with many working preconfigured modules, which show the bandwith of what the SDK can scan.

Quick Start Guide

0. Clone or Download

  • If you'd like to clone the repository you will have to use git-lfs. Use the following commands to install git-lfs.
brew install git-lfs
git lfs install
  • If you prefer downloading a package, use the provided zip package on the releases page. Be aware that the github download zip button does not work for projects with git-lfs.

1. With Cocoapods

Simply add pod ‘Anyline’, ’~> 3.11’ to your Podfile and run pod install or pod update. (Please make sure you are on the latest version of CocoaPods)

You’re all done and can jump to point 3.1.

Or via local copy of the Anyline.framework & AnylineResources.bundle #####

Simply drag & drop Anyline.framework & AnylineResources.bundle into your project tree. !¢Add Framework

In the import screen select Copy items if needed and Create groups and add the files to your target. Copy Framework

2. Linking Frameworks

After the framework and bundle got imported go to your project inspector. In the Build Phases tab, add the following libraries:

  • libc++.tbd
  • libz.tbd
  • AssetsLibrary.framework

After adding the libraries, it should look like this (notice the AnylineResources bundle, if its not in Copy Bundle Resources add it): Link Frameworks

3. Linker Flags

This changed from -ObjC to -all_load in Anyline SDK Version 3.6.

In your project inspector switch to the Build Settings tab and search for Other Linker Flags. Select Other - Other Linker Flags and add -all_load. This flag causes the linker to load every object file in the library that defines an Objective-C class or category. Linker Flags

3.1 Bitcode

Bitcode needs to be disabled. Just search for “Bit” and set Enable Bitcode to No. Build Bitcode iOS

Apple Documentation on Bitcode

4. Init an AnylineModuleView in your ViewController or Storyboard

There are more modules specific options - take a look at the description of the desired module in the Anyline Documentation to get more detailed information.

5. Enjoy scanning and have fun! 🎥

Anyline is also available as Cocoapod: pod 'Anyline', '~> 3.6'

Sample Codes & Documentation

Have look at some of our code examples: Sample Code

Detailed information about how to configure and implement Anyline: Documentation


To claim a free developer / trial license, go to: Anyline SDK Register Form The software underlies the MIT License. As Anyline is a paid software for Commerical Projects, the License Agreement of Anyline GmbH apply, when used commercially. Please have a look at Anyline License Agreement