我使用xcode6创建了一个框架,但无法访问它

编程入门 行业动态 更新时间:2024-10-23 15:28:54
本文介绍了我使用xcode6创建了一个框架,但无法访问它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试创建用于测试的asimple框架.

I'm trying to create asimple framework for testing.

我推荐了这个网站,并逐步进行每个操作.

I referred this website and step by step do every one.

但是,当我构建程序时,它总是显示错误"未找到文件".

But, when I Build the program , It is always show the error "File not found".

我已经使用Aggregate Target构建了框架,就像网站上解释的那样.

I have used Aggregate Target to build the framework, like the website explain.

这是我的框架项目文件代码(头文件).

it is my framework project file code(header file).

这是我的框架项目文件代码(实现文件).

it is my framework project file code(implement file).

这是我的框架设置照片.

it is my framework setting photo.

使用框架文件代码是我的测试.

it is my test to use the framework file code.

使用框架项目设置是我的测试.

it is my test to use the framework project setting.

有人知道我的步骤有什么问题吗?

Does anyone know what's wrong in my steps?

非常感谢.

我使用了XCode 6.1.1版本的IDE.

I used XCode 6.1.1 version IDE.

//============================ @凯文:

//============================ @Kevin:

谢谢.但是..

如果我更改导入文件.它会在下面显示错误:

If I change the import file. it will show error below:

推荐答案

在导入中不包含".framework"部分.

Don't include the ".framework" part in the import.

#import "MyFramework/MyFramework.h"

更多推荐

我使用xcode6创建了一个框架,但无法访问它

本文发布于:2023-11-17 06:56:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1609222.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:框架   无法访问

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!