/iOS-Bridge-App

The source code of DJI Bridge App project

Primary LanguageObjective-CMIT LicenseMIT

DJI Bridge App

What is This?

This is an open source project for DJI Bridge App.

The DJI Bridge App supports for native Xcode debugging with breakpoints. You can use it to debug your DJI Mobile SDK application for Mavic Pro, Phantom 4, Phantom 3 Professional, Phantom 3 Advanced, Inspire 1, M100 and other products using USB/MFI connection between RC and your app.

For more details, please check the DJI Bridge App Tutorial.

Prerequisites

  • Xcode 8.0+ or higher
  • Deployment target of 9.0 or higher

SDK Installation with CocoaPods

Since this project has been integrated with DJI iOS SDK CocoaPods now, please check the following steps to install DJISDK.framework using CocoaPods after you downloading this project:

1. Install CocoaPods

Open Terminal and change to the download project's directory, enter the following command to install it:

sudo gem install cocoapods

The process may take a long time, please wait. For further installation instructions, please check this guides.

2. Install SDK with CocoaPods in the Project

Run the following command in the project's directory:

pod install

If you install it successfully, you may get the messages similar to the followings:

Analyzing dependencies
Downloading dependencies
Installing DJI-SDK-iOS (4.3.1.1)
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `DJIDebuger.xcworkspace` for this project from now on.
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod
installed.

What's More?

If you want, you can customize your own Bridge app with DJI Mobile SDK, please check the project's source code.

License

DJI Bridge App is released under the MIT license. See LICENSE for details.