Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dyld: Library not loaded: @rpath/DJIWidget.framework/DJIWidget #64

Open
UnknownWarning opened this issue Feb 12, 2019 · 6 comments
Open

Comments

@UnknownWarning
Copy link

ISSUE: dyld: Library not loaded: @rpath/DJIWidget.framework/DJIWidget

Description

dyld: Library not loaded: @rpath/DJIWidget.framework/DJIWidget
    Referenced from: /Users/... .../Frameworks/DJIUXSDK.framework/DJIUXSDK
    Reason: image not found

Environment

objc + Xcode 10.1
Create a new project and create a Podfile, nothing else added.
The Podfile is show below:

platform :ios, '10.0'

target 'DJISDK4.9' do
    pod 'DJI-SDK-iOS'
    pod 'DJI-UXSDK-iOS'
    pod 'DJIWidget'
end

even if I set the specific version of DJISDK and UXSDK, the project still got the same problem.

Has anyone met this issue?

@dji-sdk
Copy link

dji-sdk bot commented Feb 12, 2019

Hi, there are two options for you to ask for help:

  1. Post your issues on StackOverflow: https://stackoverflow.com/questions/tagged/dji-sdk, the community can help you.

  2. Report your issues to [email protected], as it's our official channel for developers to request DJI Developer Support now.

For DJI Developer Support, we have the following three tiers:

  • Standard

This free support is available to anyone reaching out to [email protected]. There is no guarantee for response time.

  • Preferred

    This support comes with Pro membership for 99 USD per year. You can purchase it on DJI Developer Website. These requests have priority over Standard ones. Starting today, Preferred questions will be replied to within 2 to 5 business days (Monday – Friday).

  • Premium

    This one-time ticket is considered high-priority and costs 499 USD per issue. You can purchase it on DJI Developer Website after you become the Pro membership developer. Starting today, Premium questions will be replied to within 1 business day (Monday – Friday). This may include communication with DJI SDK engineers, but will not involve face-to-face interaction. Time limitations apply, and please keep in mind that one question is permitted per ticket. We will do our best to resolve your issue, but there some situations demand deeper engineering efforts.

@UnknownWarning
Copy link
Author

Here is the link of my demo:

https://github.com/UnknownWarning/DJISDK4.9

@vivekTusiyd
Copy link

vivekTusiyd commented Sep 23, 2019

@UnknownWarning

I am also facing the same issue:-

dyld: Library not loaded: @rpath/DJIWidget.framework/DJIWidget
Referenced from: /private/var/containers/Bundle/Application/6F0ABB75-34B6-45E1-8737-8EBF8C1E0829/Waypoint2DSample.app/Frameworks/DJIUXSDK.framework/DJIUXSDK
Reason: image not found

Environment :

Xcode 10.0
Swift 4.0

platform :ios, '9.0'

use_modular_headers!
target 'Waypoint2DSample' do
pod 'GoogleMaps'
pod 'Google-Maps-iOS-Utils'
pod 'IQKeyboardManagerSwift'
pod 'DJI-SDK-iOS' , '> 4.10’
pod 'DJI-UXSDK-iOS' , '
> 4.10'
pod 'DJIWidget' , '~> 1.5'
end

I followed this link also but no help.

#51

@JohnnyWhoo
Copy link

@UnknownWarning Have you resolved the issue?

@nacho-carnicero
Copy link

You should add use_frameworks! to your Podfile. For instance in the repo that @UnknownWarning shared the Podfile should look like:

platform :ios, '10.0'

target 'DJISDK4.9' do
    use_frameworks!
    pod 'DJI-SDK-iOS'
    pod 'DJI-UXSDK-iOS'
    pod 'DJIWidget'
end

@cxd1314
Copy link

cxd1314 commented Jan 19, 2022

Amazing! It works! Thank you from China!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants