使用BluetoothManager.framework时如何构建iPhone模拟器?
我将文件夹 BluetoothManager.framework 从 finder 拖到项目导航器中的 Frameworks 组中。它为设备构建成功,但当我为模拟器构建时找不到框架。我知道模拟器不支持蓝牙,但我需要让它可用于模拟器,以便其他人可以继续在模拟器中测试他们的部分。在构建模拟器时如何排除框架的链接?谢谢你!
I dragged the folder BluetoothManager.framework from finder into the Frameworks group in project navigator. It builds successfully for device, but can't find the framework when I build for simulator. I understand that simulator doesn't support bluetooth, but I need to have it buildable for simulator, so that other people can continue testing their part in simulator. How can I exclude the framework from linking when building for simulator? Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
弱链接库,添加使用编译器指令排除任何蓝牙代码:
Weaklink the library, add exclude any bluetooth code with compiler directives :