简体   繁体   English

找不到 -lDJIWidget 的库

[英]Library not found for -lDJIWidget

I am attempting to run the sample developer dji application for the iOS platform via Xcode version 13.2.1 .我正在尝试通过Xcode version 13.2.1为 iOS 平台运行示例开发人员 dji 应用程序 Upon building the application for the ObjectiveC and Swift sample code, I get an error indicating " Library not found for -lDJIWidget ".在为 ObjectiveC 和 Swift 示例代码构建应用程序时,我收到一条错误消息,指示“ Library not found for -lDJIWidget ”。

mac os: 12.2.1苹果操作系统: 12.2.1

I am a new macOS user, and this is my first time learning to build an iOS application for DJI.我是 macOS 新用户,这是我第一次学习为 DJI 构建 iOS 应用程序。 How can I resolve this error?我该如何解决这个错误?

Trouble shooting steps taken采取的故障排除步骤

  • ensure cocoapods is installed for both sample codes (objectiveC and swift code)确保为两个示例代码(objectiveC 和 swift 代码)安装了 cocoapods
  • use the <Project>.xcworkspace file for setting the bundle identifier and app key使用<Project>.xcworkspace文件设置包标识符和应用程序密钥

Connect your ios device to your computer and run the build off of it.将您的 ios 设备连接到您的计算机并运行它的构建。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM