我正在尝试创建一个带有头文件的
cocoa touch框架,该文件遵循以下模式:
#include <Compay/Product.h>
而不是通常的
#include <Product/Product.h>
例如#include< Google / Analytics.h>
而不是#include< Analytics / Analytics.h>
在xcode 7中?
更新
根据OP的意见和文档中的说明.我建议更改包装下的Build Settings中的Public Headers Folder Path:
“…Set the Subpath to include/companyname/${PRODUCT_NAME}”

下面的详细教程将介绍上下文以及如何使用同一项目管理多个框架.
附加参考
?你有没有尝试过最简单的东西? (我从来没有这样做,只是想到实现目标的最直接的方式)
? – 创建新框架并将其命名为CompanyName.
? – 根据需要添加标头
? – 构建和运行
? – 与您的应用程序集成?应该将Company / headerfile.h视为
???期望
关于配置头文件的Apple docs说明如下:
Next you will add a Copy Files build phase for exporting your headers.
New static library targets created with Xcode 4.4 or later will come
with an appropriately-configured Copy Files phase for headers,so you
should check to see if you already have one before creating one. If
you do not,press “Add Build Phase” at the bottom of the target editor
and choose to “Add Copy Files.” Disclose the new Copy Files build
phase and set the Destination to “Products Directory.” Set the Subpath
to include/${PRODUCT_NAME}. This will copy files into a folder named
after your library (taken from the PRODUCT_NAME build setting),inside
a folder named include,inside your built products directory. The
include folder inside a build products directory is in the default
header search path for applications,so this is an appropriate place
to put header files. Putting header files inside a folder named after
your PRODUCT_NAME will allow you to segregate library headers by
library name,for clarity.
这似乎暗示了一种操作目录结构的方法,以便您获得所需的包含结构.请参阅更新,它提供了一种使用公共标头文件夹路径构建设置管理文件夹结构的更简单方法.详细的教程在上下文中提供了对此的良好理解,以及管理多个框架的可视化示例.也许只是更改上面使用的产品名称将根据需要输出您的公司名称.
Extended Info
07002
07003