Latest XCode version: Library not found for -lDJIWidget Linker command failed with exit code 1 (use -v to see invocation)
Trying to run both ObjectiveC and Swift Projects in XCode Version 14.3 (14E222b)
I put my app key in the plist as listed in the steps and when I click run I get this error. It happens for both Objective C and Swift.
Does anyone have a solution?
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

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
°°°
Yes I did
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
°°°
@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
- followed all the instruction from DJI
- open the work space
- in the scheme picker menu, you will want to create a new scheme, but choose the DJIWidget library
- run it by hit run in xcode, and it should build that library
- 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
