【发布时间】:2015-06-12 10:52:15
【问题描述】:
我在项目中遇到包括框架在内的问题。
我已经从https://github.com/nst/iOS-Runtime-Headers/tree/master/PrivateFrameworks 下载了私有 API 据我了解,这为我提供了与 xcode 中已有的框架一起使用的头文件。 我已将头文件添加到 xcode for bluetoothmanager 的框架文件夹中。 我还在 xcode 中包含了这个框架。
“框架搜索路径”是:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/PrivateFrameworks
这是我的 xcode 文件夹结构的图片:
当我尝试包含头文件时,我收到错误“未找到蓝牙管理器/蓝牙管理器.h 文件”。
下面是代码:
#include <BluetoothManager/BluetoothManager.h>
【问题讨论】:
标签: objective-c swift header iphone-privateapi