Comments (9)
Another user posted on Stack that could be useful: https://stackoverflow.com/questions/51992339/error-on-app-compilation-using-new-dji-uxsdk-ios-4-7-ffmpeg-library-not-found/51993999#51993999
from mobile-uxsdk-ios.
Tried to clean the project and build folder, and to delete and reinstall all pods. Still same problem.
from mobile-uxsdk-ios.
It looks like you missed bringing in the DJIWidget file - try integrating that, which should take care of your crash. If you need examples of how to do the integration see our Sample Code. Also, you must then remove the ios-videopreviewer project if you were using it previously.
from mobile-uxsdk-ios.
@dji-lisafedane thanks, this ultimately solved the problem! (Yes, our app was using the old VideoPreviewer project.) Might be helpful for other developers to add a note on the exact integration steps somewhere in the SDK installation guide, too – it's a bit tricky to look just at the sample project to see which parts to embed and where.
from mobile-uxsdk-ios.
Ah, now I noticed it was already added there: b348db8 :)
Though still a bit more elaborated instructions might be useful – I first tried to just add the whole DJIWidget folder and that didn't work, I had to add the DJIWidget project and the FFmpeg framework separately, and then add them both to Embedded binaries under my build target.
from mobile-uxsdk-ios.
for those coming to this issue now, DJIWidget
is its own pod now. steps:
- remove VideoPreviewer from your frameworks folder
- add
pod 'DJIWidget'
to your podfile pod install
- replace
VideoPreviewer
imports withDJIWidget
- replace
VideoPreviewer
class references withDJIVideoPreviewer
from mobile-uxsdk-ios.
how do we solve this issue when im not using VideoPreviewer? sorry i am new to xcode and ios development.
i followed the instructions here: https://developer.dji.com/mobile-sdk/documentation/ios-tutorials/UXSDKDemo.html
and im getting this error when i compile and test on simulator ios 12
dyld: Library not loaded: @rpath/DJIWidget.framework/DJIWidget
Referenced from: /Users/user147152/Library/Developer/CoreSimulator/Devices/8341CFF8-3236-40CB-8339-21D791BD3F39/data/Containers/Bundle/Application/6287AD61-2F34-42A2-9A94-D492A41CFB8C/ImportSDKDemo.app/Frameworks/DJIUXSDK.framework/DJIUXSDK
Reason: image not found
(lldb)
from mobile-uxsdk-ios.
I have the exact same issue as @rlynjb :
I changed the Podfile as instructed (https://developer.dji.com/mobile-sdk/documentation/ios-tutorials/UXSDKDemo.html). Project builds fine, but running on the device it crashes and outputs the error:
dyld: Library not loaded: @rpath/DJIWidget.framework/DJIWidget
Referenced from: /private/var/containers/Bundle/Application/4AD487FA-EE69-4378-984F-1DB69B6BD969/FIS-iOS.app/Frameworks/DJIUXSDK.framework/DJIUXSDK
Reason: image not found
The Podfile config is following:
pod 'DJI-SDK-iOS', '~> 4.8'
pod 'DJI-UXSDK-iOS', '~> 4.8'
pod 'DJIWidget', '~> 1.2'
from mobile-uxsdk-ios.
Adding use_frameworks!
fixed the issue. I also had to add use_modular_headers!
so that other Pods also worked.
My Podfile:
use_modular_headers!
target 'ProjectName' do
use_frameworks!
pod 'DJI-SDK-iOS', '~> 4.8'
pod 'DJI-UXSDK-iOS', '~> 4.8'
pod 'DJIWidget', '~> 1.2'
...
end
from mobile-uxsdk-ios.
Related Issues (20)
- Phantom 3
- subarrayWithRange crash on 4.14 SDK Mavic Mini HOT 7
- Need Support for Mavic Air 2 HOT 3
- No transmission of the live image DJI MINI 2 HOT 1
- DUXHistogramWidget not found HOT 2
- How to send live video feed from drone to RTMP server? HOT 3
- cocoapods fail HOT 1
- Invalid `Podfile` file: syntax error, unexpected << (aka merge with issues) HOT 2
- DUXLeadingBarViewController external accessory widgets not accessible HOT 1
- Swift Package Manager Support HOT 1
- DUXCameraConfigStorageWidget display abnormally in iOS 14 HOT 1
- DUXDefaultLayoutViewController如何去掉statusViewController,或者使FPVView全屏但保留姿态球? HOT 1
- DUXRadarWidget 4.14-trial1 not working with Mavic Air 2 (iOS) HOT 1
- DJI OSMO MOBILE 3 SDK IOS & ANDROID HOT 2
- In version 4.14 DJISDKManager.startListeningOnRegistrationUpdates never receives a callback
- App crash with M300 & RTK HOT 6
- Imperial Units HOT 1
- General settings button in DUXStatusBarViewController HOT 1
- UXSDK iOS: How to get image when user click on capture photo button? HOT 1
- Programmatically take photos in 10 sec interval HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile-uxsdk-ios.