Umbrella 框架 - 未找到嵌套框架的标头

时间:2021-03-11 07:43:06

标签: ios swift xcode

我试图在不使用 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。

0 个答案:

没有答案
相关问题