ios - 伞框架 - 未找到嵌套框架的标头
问题描述
我正在尝试在不使用 pod 的情况下构建https://github.com/dji-sdk/Mobile-UXSDK-Beta-iOS,而是自己创建 xcode 工作区。
我可以成功构建包含所有嵌套框架的伞形框架,但是当我在我的应用程序中导入这个框架时。我得到错误:
UXSDKCore/UXSDKCore.h' file not found
由于某些原因,嵌套框架中的所有标头都不会复制到最终的伞形框架中。但是当我检查 DerivedData 中的各个框架时,那些公共标头就在那里,只是没有复制到最终的伞形框架中。
有“伞头” DJIUXSDKBeta.h
#import <UIKit/UIKit.h>
#import <DJISDK/DJISDK.h>
//! Project version number for DJIUXSDK.
FOUNDATION_EXPORT double DJIUXSDKVersionNumber;
//! Project version string for DJIUXSDK.
FOUNDATION_EXPORT const unsigned char DJIUXSDKVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <DJIUXSDK/PublicHeader.h>
#import <UXSDKCore/UXSDKCore.h>
#import <UXSDKFlight/UXSDKFlight.h>
#import <UXSDKMap/UXSDKMap.h>
#import <UXSDKAccessory/UXSDKAccessory.h>
阅读该声明In this header, you should import all the public headers of your framework using statements
,我认为 xcode 以某种方式发挥了作用,我不需要包含这些标头,但 nada.
解决方案
推荐阅读
- angular - 我们如何将 Angular 组件的样式加载到 iframe 中?
- r - dplyr 过滤器可以成功检测到的观察数量是否有限制?
- java - 如何从 Derby 数据库表中获取最近 7 天、最近 30 天的记录?
- python - 假设一个单词中的每个字母都有一个分配的数字,例如'a' = 3,'b' = 2,我如何打印一个单词中所有字母的总和?
- google-scholar - 谷歌学术 ERR_TOO_MANY_REDIRECTS
- javascript - Chainlink Hackathon 21 安全帽问题部署节点
- kafka-consumer-api - 如何使用 Reactor java 编写具有按 PartitionKey 分组的背压的并行 kafka 消费者
- opengl-es - 如何使用 glReadPixels 在 Android NDK 中读取像素到位图?
- node.js - 如何在 Nestjs 中使用 multipart/form-data 将缓冲区数据上传到第三方 Api?
- mysql - 将具有不同值的mysql表与另一个表连接起来