简体   繁体   English

在自定义ios框架中导入第三方框架

[英]Import Third Party Framework in custom ios framework

I'm creating a custom framework, but i'm having problems when i try to import third party framework. 我正在创建一个自定义框架,但是当我尝试导入第三方框架时遇到了问题。 In a objective-c header file i import the framework, but when i compile i receive the following error: "Include of non-modular header inside framework module". 在Objective-C头文件中,我导入了框架,但是在编译时收到以下错误:“在框架模块中包含非模块化头文件”。

You can set Allow Non-modular includes in Framework Modules in Build Settings for the affected target to YES. 您可以在“构建设置”的“ 框架模块”中将“ 允许非模块化包含 ”设置为“是”。

在此处输入图片说明

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

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