Coder Social home page Coder Social logo

Latest XCode version: Library not found for -lDJIWidget Linker command failed with exit code 1 (use -v to see invocation) about mobile-sdk-ios HOT 6 OPEN

Sigil-Wen avatar Sigil-Wen commented on July 23, 2024
Latest XCode version: Library not found for -lDJIWidget Linker command failed with exit code 1 (use -v to see invocation)

from mobile-sdk-ios.

Comments (6)

dji-dev avatar dji-dev commented on July 23, 2024

Agent comment from yating.liao in Zendesk ticket #81677:

Could you tell me what error occurred?

°°°

from mobile-sdk-ios.

Sigil-Wen avatar Sigil-Wen commented on July 23, 2024

When I try to build the app in XCode, both Objective C and Swift projects show this same error. Library not found for |DJIWidget

I've properly installed the podfile

Screenshot 2023-04-21 at 7 45 08 PM

from mobile-sdk-ios.

dji-dev avatar dji-dev commented on July 23, 2024

Agent comment from yating.liao in Zendesk ticket #81677:

Did you run pod install before running the project and it resulted in success?Like this

image.png

°°°

from mobile-sdk-ios.

Sigil-Wen avatar Sigil-Wen commented on July 23, 2024

Yes I did

from mobile-sdk-ios.

dji-dev avatar dji-dev commented on July 23, 2024

Agent comment from yating.liao in Zendesk ticket #81677:

Are you running .xcworkspace?
If you are still experiencing this problem, perhaps you can consider importing DJIWIDGET:https://github.com/dji-sdk/DJIWidget

°°°

from mobile-sdk-ios.

hungeric avatar hungeric commented on July 23, 2024

@Sigil-Wen I ran into this issue yesterday, and had the exactly same issue, but i resolved it by just creating these missing libs again.
and it works for me

so what you have to do is this

  1. followed all the instruction from DJI
  2. open the work space
  3. in the scheme picker menu, you will want to create a new scheme, but choose the DJIWidget library
  4. run it by hit run in xcode, and it should build that library
  5. now switch scheme back to DJISDKSwiftDemo scheme, and you should be able to run without that error.

this is what i have done to make it work for me, good luck

Screenshot 2023-05-03 at 2 56 05 PM

from mobile-sdk-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.