CBPeripheralManager startAdvertising无法在OS X yosemite上工作 [英] CBPeripheralManager startAdvertising not working on OS X yosemite

查看:267
本文介绍了CBPeripheralManager startAdvertising无法在OS X yosemite上工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人注意到使用mac(运行OS X 10.10 yosemite DP 6)作为iBeacon时的任何问题?我尝试了几个工具,我也自己开发(使用CBPeripheralManager startAdvertising),但没有任何运气。



当运行这些应用程序



OS X 10.10 yosemite有什么特别的要求吗?这是一个错误吗?

$

解决方案

编辑:半径网络已经确认这个问题已经出现在随后的Yosemite的预发布。此操作系统阻止与内部接口发送iBeacon传输,但允许其与外部接口。



它必须是代码中的一个错误,特定于您的机器。我们已在Yosemite上测试我们的 MacBeacon OSX应用,但没有注意到任何问题。


does anyone notice any issues when using your mac (running OS X 10.10 yosemite DP 6) as an iBeacon? I tried several tools and I also developed it myself (using the CBPeripheralManager startAdvertising) but without any luck.

When running those apps (+ the the code I developed myself) on a mac running OS X 10.9 Mavericks, it works like a charm.

Is there anything specific required for OS X 10.10 yosemite or is this a bug?

Any help is appreciated!

解决方案

EDIT: Radius Networks has confirmed this issue has shown up on subsequent pre-releases of Yosemite. This OS veesion blocks sending an iBeacon transmission with the internal interface, but allows it with external interfaces. So you can add an external Bluetooth dongle like the GBU521 and transmission works again.

It's gotta be a bug in the code or something specific to your machine. We have tested our MacBeacon OSX app on Yosemite and have not noticed any problems.

这篇关于CBPeripheralManager startAdvertising无法在OS X yosemite上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆