1. Home
  2. SDK iOS
  3. Setup


How to add BearSDK to your application:

Download sample apps repository.

Bootstrap dependencies:

You can download dependencies using any of your favorite dependency manager like: Carthage or CocoaPods or Swift Package Manager. Example of Cartfile included in sample app.


Add this to your Cartfile file:

github "Alamofire/Alamofire" "4.6.0"
github "ReactiveX/RxSwift" "4.1.1"
carthage bootstrap --platform iOS


Add this to your Podfile file:

platform :ios, '9.0'

target `YourApp` do
    pod 'Alamofire', '4.6.0'
    pod 'RxCocoa', '4.1.1'
    pod 'RxSwift', '4.1.1'
pod install

Copy manually BearSDK framework from bear_sdk_ios folder to your project folder.

Add BearSDK and other dependencies to your project into Embedded Binaries section.

Change your Info.plist:

  • if you want to use facebook assets with deeplinks to go from your application to facebook app directly – setup this key to your app info.plist.
  • Add camera usage description to describe how app will use camera.
<string>Camera will let you scan pages</string>
  • Add locatiion usage description if you want to use gelolalized markers.
  • Add photo library usage description if you want to provide ability to save images or screenshots to camera roll.
<string>Save images and screenshots</string>
  • And add this new key for the same thing for iOS 11.
<string>Save images and screenshots</string>

Disable bitcode in Build Settings:

Was this article helpful to you? Yes No

How can we help?