我已经从https://github.com/smartface/Sample-Projects/tree/master/iBeacon下载了示例应用程序,并在http://www.smartface.io/developer/guides/advanced/ibeacon/#broadcasting上学习了教程
当我点击Smartface配套应用程序中的“监控信标”按钮时,它就崩溃了。当我在Mac上的xcode项目中运行它时,也会发生同样的情况。
这就是它使SMF.Bluetooth.BLE.startMonitoringForRegion崩溃的地方。
xcode错误:exc bad access code 1
iPhone 5,版本: 7.1.2 (11d257)
有没有人以前遇到过这个问题,并知道解决方案?
var beaconRegion = new SMF.Bluetooth.BLE.BeaconRegion({
proximityUUID : "B9407F30-F5F8-466E-AFF9-25556B57FE6D",
identifier : "io.smartface.beaconapp",
major : 1,
minor : 1
});
**SMF.Bluetooth.BLE.startMonitoringForRegion({**
region : beaconRegion,
onEnterRegion : function (e) {
alert("Enter region: " + JSON.stringify(e));
SMF.Bluetooth.BLE.startRangingBeaconsInRegion(beaconRegion);
},发布于 2015-03-14 00:02:41
这是一个已知的错误,将通过Smartface App Studio 4.3.1修复
感谢您的反馈。
https://stackoverflow.com/questions/29036551
复制相似问题