我正在尝试创建用于测试的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创建了一个框架,但无法访问它
发布评论