dji-sdk / Mobile-UXSDK-iOS

DJI Mobile UXSDK is a suite of product agnostic UI objects that fast tracks the development of iOS applications using the DJI Mobile SDK.
Other
73 stars 43 forks source link

ld: framework not found FFmpeg occur while importing DJIWidget #66

Closed EonKid closed 4 years ago

EonKid commented 5 years ago

I am working on DJI iOS sdk based drone app. I updated to latest version 4.9 for DJI Widget .I am able to run my project using DJI-SDK-iOS 4.9.1 but i tried to import DJI Widget version 4.9 into my project getting following errors for my project and sample code provided by you on github:

"ld: framework not found FFmpeg clang: error: linker command failed with exit code 1 (use -v to see invocation) "

Is this issue about DJI Android UXSDK and Sample Code?

Then this is the wrong place, please refer to the Mobile-UXSDK-iOS Github: https://github.com/dji-sdk/Mobile-UXSDK-Android/issues

Screenshot 2019-03-09 at 2 28 56 PM

dji-sdk[bot] commented 5 years ago

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 dev@dji.com, as it's our official channel for developers to request DJI Developer Support now.

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

EonKid commented 5 years ago

@oliverou Please help me .

nacho-carnicero commented 5 years ago

@EonKid I did solve this by including "${PODS_ROOT}/DJIWidget/FFmpeg" to the path list under the Framework search paths in the Build settings menu of your project. You'll need to add it to both debug and release. Let me know if you don't know how to do this, I'll upload some screen shots.

@oliverou I think this should be updated on the sample code (at least the ObjC one) since I got the same error

india2sarthak commented 5 years ago

@nacho-carnicero Thanks works!

UnknownWarning commented 4 years ago

Thx @nacho-carnicero. It works.

alzin commented 4 years ago

@india2sarthak Thank you