Mobile-UXSDK-iOS icon indicating copy to clipboard operation
Mobile-UXSDK-iOS copied to clipboard

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

Open UnknownWarning opened this issue 6 years ago • 6 comments

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?

UnknownWarning avatar Feb 12 '19 08:02 UnknownWarning

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.

dji-sdk[bot] avatar Feb 12 '19 08:02 dji-sdk[bot]

Here is the link of my demo:

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

UnknownWarning avatar Feb 12 '19 11:02 UnknownWarning

@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.

https://github.com/dji-sdk/Mobile-UXSDK-iOS/issues/51

vivekTusiyd avatar Sep 23 '19 02:09 vivekTusiyd

@UnknownWarning Have you resolved the issue?

JohnnyWhoo avatar Nov 30 '19 14:11 JohnnyWhoo

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

nacho-carnicero avatar Dec 31 '19 16:12 nacho-carnicero

Amazing! It works! Thank you from China!

cxd1314 avatar Jan 19 '22 14:01 cxd1314