Follow this steps to add DJI's SDK framework to your system:
Clone the coco8 project as "dji8"
Add to the project's folder a PodFile containing the following lines
# platform :ios, '9.0'
target 'ImportSDKDemo' do
pod 'DJI-SDK-iOS', '~> 4.0’
end
Run the pod install command in the root folder
The DJI SDK framework should now be downloaded and placed in the Pods/DJI-SDK-iOS/iOS_Mobile_SDK/DJISDK.framework path.
To Configure Build Settings, open dji8.xcworkspace file in Xcode
For DJI products that connect to the mobile device through USB, add the "Supported external accessory protocols" key to the info.plist file, and add the strings "com.dji.video", "com.dji.protocol" and "com.dji.common"
The other settings are already setup by coco8 platform project