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);
},