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. Example of Cartfile included in sample app.


Add this to your Cartfile file:

github "Alamofire/Alamofire" "4.9.1"
github "ReactiveX/RxSwift" "5.0.1"
binary "https://raw.githubusercontent.com/bear2b/specifications/master/ios/carthage/BearSDK.json" == 2.2.2
carthage bootstrap --platform iOS

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


Add this to your Podfile file:

platform :ios, '9.0'

target `YourApp` do
    pod 'BearSDK', :podspec => 'https://raw.githubusercontent.com/bear2b/specifications/2.2.2/BearSDK.podspec'
pod install


"Alamofire/Alamofire" == 4.9.1
"ReactiveX/RxSwift" == 5.0.1

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?