0

我已经从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);
    },
4

1 回答 1

0

这是一个已知的错误,它将在 Smartface App Studio 4.3.1 中修复

感谢您的反馈。

于 2015-03-13T16:02:41.003 回答