your developper account
Go to the Beaconwatcher Manager and create an account.
your iOS Application
The following steps will set up an application in Xcode ready for enabling Beaconwatcher features.
- Have a device with iOS 7.0 or higher
- Are using Xcode (5.0) or higher
a new iOS project
In xCode, choose File -> New -> Project and select “Single View Application” like below.
After that fill out new project’s details like below.
After filling out details, save the project at your desire location.
Add SDK Framework
to your project
Click to download: BWBeaconSDK.framework
Now copy this downloaded framework to Project’s folder like below:
Go to Targets -> target -> General -> Embedded Binaries and press + button. Following popup windows will open asking you to select your framework
Press Add Other… button and select the framework that we copied into project’s folder like below:
After selecting framework, following options window will popup. Leave the option as they are.
And that’s all, you can now use the framework in your code like below:
Note: you can move the recently added framework to project’s framework group.
Also include this key-value pair in info.plist.
NSLocationAlwaysUsageDescription : Always