Skip to content
zioolek edited this page Nov 16, 2017 · 2 revisions

Adding the Ubudu SDK to a project.

Using CocoaPods

This is the prefered and simplest way to get started. Just add the following line to your Podfile:

pod 'UbuduIndoorLocation'

and execute pod install

If you are not already using CocoaPods for your project you can get started by reading the CocoaPods documentation.

Manually

If you don't want or cannot use CocoaPods you can install the SDK manually by following the instructions bellow.

  1. Drag & drop the UbuduIndoorLocation.framework folder into the Frameworks folder of your project in XCode. Check the "Copy items into destination group's folder (if needed)" option.

  2. Add the following list of frameworks and libraries to your project if they are not already present. (dont forget libc++.dylib !)

    • Foundation
    • CoreGraphics
    • UIKit
    • CoreLocation
    • libc++.dylib

    Your framework folder should look like this:

    illustration_frameworkfolder

    [Instructions](https://developer.apple.com/library/ios/recipes/xcode_help-project_editor/Articles/ AddingaLibrarytoaTarget.html#//apple_ref/doc/uid/TP40010155-CH17) on how to add an Apple framework to your project.

  3. In the project settings go to: "General"->"Your Target"->"Build Settings"->"(All)"->"Other Linker Flags" and add the following flags: -ObjC

Clone this wiki locally