Skip to content

zingdrones/AirMapSDK-Swift

 
 

Repository files navigation

AirMap: The Airspace Platform for Developers Swift 5.0 Version License Platform

Create Flights, Send Telemetry Data, Get Realtime Traffic Alerts.

Requirements

Environment

  • iOS 10.0+,
  • macOS 10.14+,
  • Swift 5.0
  • Xcode 11.0+

https://dashboard.airmap.io/developer

Read Getting Started Guide

https://developers.airmap.com/v2.1/docs/getting-started-ios

Installation

CocoaPods

Requires CocoaPods 1.8.0+

The AirMap SDK is a CocoaPod written in Swift. CocoaPods is a dependency manager for Cocoa projects. If you don't have CocoaPods, You can install it with the following command:

$ sudo gem install cocoapods

Example Project

You must have Xcode 11.0+ to run the example.

To run the example project, run pod try AirMapSDK. This should install the SDK and launch Xcode.

Integrating into your project

Mapbox

Before downloading Mapbox follow the guide here to configure your secret token otherwise you will see a 401 Unauthorized error.

CocoaPods

To integrate the AirMap SDK into your Xcode project, navigate to the directory that contains your project and create a new Podfile with pod init or open an existing one, then add pod 'AirMapSDK' to the main target. Make sure to add the line use_frameworks!.

target 'MyApp' do
  use_frameworks!
  pod 'AirMapSDK'
end

Then, run the following command to install the dependencies:

$ pod install

Going forward, open the MyProject.xcworkspace file instead of the MyProject.xcodeproj file.

Make sure you import the framework before using the SDK.

Carthage

The AirMapSDK is also available via Carthage, however, only the Core subspec is currently available

github "AirMap/AirMapSDK-Swift"

Importing

import AirMap

License

See LICENSE for details

About

Create Flights, Send Telemetry Data, Get Realtime Traffic Alerts.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Swift 95.2%
  • Objective-C 4.2%
  • Other 0.6%