I'm trying to get an FPV view, but the SDKs confound me at every step.
We're running in a cocoapods environment, ultimately the SDKs will be dependents of another cocoapod.
We do not use Bitcode.
We use use_frameworks! for dynamic frameworks and we're in a dual Swift/Obj-c environment.
I've tried using DJIWidget but we can't get that to load either (I'll make a seperate issue).
So, 1st Problem, I created a empty demo project here : https://github.com/valentary/DJISDKTest
It's a default single view swift project, all I did was to configure the podfile and run pod install.
If we try and build we get a link error :
ld: '<home_dir>/DJISDKTest/DJISDKTest/Pods/DJI-SDK-iOS/iOS_Mobile_SDK/DJISDK.framework/DJISDK' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '<home_dir>/DJISDKTest/DJISDKTest/Pods/DJI-SDK-iOS/iOS_Mobile_SDK/DJISDK.framework/DJISDK' for architecture arm64
This only happens if I include the DJI-UXSDK-iOS pod. We don't want bitcode anyway, so I'm a bit unclear why it's asking for it.
I'm trying to get an FPV view, but the SDKs confound me at every step.
We're running in a cocoapods environment, ultimately the SDKs will be dependents of another cocoapod. We do not use Bitcode. We use use_frameworks! for dynamic frameworks and we're in a dual Swift/Obj-c environment. I've tried using DJIWidget but we can't get that to load either (I'll make a seperate issue).
So, 1st Problem, I created a empty demo project here : https://github.com/valentary/DJISDKTest It's a default single view swift project, all I did was to configure the podfile and run pod install. If we try and build we get a link error :
ld: '<home_dir>/DJISDKTest/DJISDKTest/Pods/DJI-SDK-iOS/iOS_Mobile_SDK/DJISDK.framework/DJISDK' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '<home_dir>/DJISDKTest/DJISDKTest/Pods/DJI-SDK-iOS/iOS_Mobile_SDK/DJISDK.framework/DJISDK' for architecture arm64
This only happens if I include the DJI-UXSDK-iOS pod. We don't want bitcode anyway, so I'm a bit unclear why it's asking for it.