Closed SpencerKaiser closed 6 years ago
Same issue happened to me. I ask the dji developer team, they said currently DJIWidget is only support static framework. So, if you are using swift, you should remove use_frameworks!
from podfile
Hi @SpencerKaiser @lacklock , thanks for the feedbacks. We just release DJIWidget 1.1, now it supports dynamic framework, you can keep the use_frameworks!
in the podfile for Swift project.
After installing the framework via Cocoapods, I try to build the
xcworkspace
file and theDJIWidget
framework generates the following error from the line below:Here's my
Podfile
:DJIWidget ~1.0 macOS Mojave 10.14 Xcode 10.0.0
EDIT: it seems I was able to resolve the issue with the following steps, however, I'm leaving this issue open as this solution is only temporary as it requires each user to replicate each time the repo is cloned:
Podfile
to includeuse_frameworks!
pod install
Podfile
to excludeuse_frameworks!
pod install