|
| 1 | +# BuiltIOBackend SDK for iOS |
| 2 | + |
| 3 | +The BuiltIO Backend helps you to create iOS apps quickly and effortlessly, taking care of all the backend requirements. For more information see the [website](https://docs.built.io/) and [getting started](https://docs.built.io/guide#gettingstarted). |
| 4 | + |
| 5 | +#### Installation Options |
| 6 | +##### Manual |
| 7 | + |
| 8 | +1. Download the [Latest iOS SDK release](https://github.com/raweng/BuiltIOBackend-iOS/releases) and extract the zip file to your local disk. |
| 9 | + |
| 10 | +2. Drag and drop BuiltIO.framework and BuiltIO.bundle into your project folder in Xcode. |
| 11 | + |
| 12 | + A window will appear, prompting you to choose one of the options for adding files. Click the ‘Destination’ checkbox to copy items into the destination group’s folder. This will add the SDK to your project. |
| 13 | + |
| 14 | +3. In the project editor, select your app under `TARGETS`. Under the `General` tab, open `Linked Frameworks and Libraries` and add the following libraries: |
| 15 | + - Accounts.framework |
| 16 | + - CFNetwork.framework |
| 17 | + - CoreGraphics.framework |
| 18 | + - CoreLocation.framework |
| 19 | + - CoreTelephony.framework |
| 20 | + - MobileCoreServices.framework |
| 21 | + - QuartzCore.framework |
| 22 | + - Security.framework |
| 23 | + - Social.framework |
| 24 | + - SystemConfiguration.framework |
| 25 | + - libicucore.dylib |
| 26 | + - libsqlite3.dylib |
| 27 | + |
| 28 | +4. In your target app, click on the `Build Settings` tab and add the `-ObjC` flag to `Other Linker Flags`. |
| 29 | + |
| 30 | +##### **[CocoaPods](https://cocoapods.org)** |
| 31 | + |
| 32 | +Add the following line to your Podfile: |
| 33 | +```sh |
| 34 | +pod 'BuiltIOBackend' |
| 35 | +``` |
| 36 | +Run `pod install`, and you should now have the latest BuiltIOBackend release. |
| 37 | + |
| 38 | +#### Import Header/Module |
| 39 | +You can import header file in Objective-C project as: |
| 40 | +```sh |
| 41 | + #import <BuiltIO/BuiltIO.h> |
| 42 | +``` |
| 43 | +You can also import as a Module: |
| 44 | + |
| 45 | +```sh |
| 46 | +//Objc |
| 47 | +@import BuiltIO |
| 48 | + |
| 49 | +//Swift |
| 50 | +import BuiltIO |
| 51 | +``` |
| 52 | +#### Other Links |
| 53 | +- [QuickStart](https://docs.built.io/quickstart) |
| 54 | +- [Developer Guide](https://docs.built.io/guide) |
| 55 | +- [API Docs](http://iossdk.builtapp.io/) |
| 56 | + |
| 57 | +## License |
| 58 | + |
| 59 | +``` |
| 60 | +Copyright (c) 2012-present, Built.io. |
| 61 | +All rights reserved. |
| 62 | +``` |
0 commit comments