简体   繁体   English

尝试将外部框架导入Xcode 9时出错

[英]Error when Trying to import external framework to Xcode 9

I´m working on an app that integrates MySpin system from bosch, and there is a framework available to be used in the process. 我正在开发一个集成了博世MySpin系统的应用程序,并且该过程中可以使用一个框架。

I did all the importing process of the framework into my Xcode 9 project with a drag and drop into the frameworks project folder and linked to the target app. 我将框架的所有导入过程都拖放到了框架项目文件夹中并链接到目标应用程序,将其导入到Xcode 9项目中。

外部框架导入

But I´m not able to use the header file from the framework in my project. 但是我无法在我的项目中使用框架中的头文件。

I tried to import in some different ways, changing the options : Copy items if needed, Create Groups e Create folder references but the file dos not appear in the auto complete of importing process inside the AppDelegate.h , the error File not found always appears. 我尝试以几种不同的方式导入,更改选项:如果需要,复制项目,创建组e创建文件夹引用,但文件未出现在AppDelegate.h内的导入过程的自动完成中,始终出现错误“找不到文件” 。

错误的Arquivo AppDelegate.h

also included the folder path to the Header Search Path option. 还包括“标题搜索路径”选项的文件夹路径。

Does anyone had any ideia on how to solve this importing problem? 是否有人对如何解决此进口问题有任何想法? I have all files inside a local folder. 我所有文件都放在本地文件夹中。

Check copy items if needed and add it to Embedded libraries , dynamic frameworks sections as below 检查复制项(如果需要),并将其添加到嵌入式库(动态框架部分),如下所示 在此处输入图片说明

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

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