This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRFBeacons does not build

Howdy,

I just got my nRF51822 Bluetooth Smart Beacon Kit. I down loaded "nRF Beacon iOS_1.0.zip" and fixed up the project and targets so that it was using the correct Code Signing profiles.

When I try to build the project in XCode 6.0.1 on an iPhone 5 with iOS 8, I get 6 errors:

            BeaconsViewController.m:96:22: error: multiple methods named 'enable' found with mismatched result, parameter type or attributes
            BeaconsViewController.m:96:22: error: bad receiver type 'BOOL' (aka 'signed char')
            BeaconsViewController.m:381:23: error: multiple methods named 'enable' found with mismatched result, parameter type or attributes
            BeaconsViewController.m:381:23: error: bad receiver type 'BOOL' (aka 'signed char')
            BeaconsViewController.m:467:15: error: multiple methods named 'enable' found with mismatched result, parameter type or attributes
            BeaconsViewController.m:467:15: error: bad receiver type 'BOOL' (aka 'signed char')

After fixing up the code by casting the objects from the array to what I expect to be the Beacons class, for example:

            Beacons *beacon = self.beacons[beaconIndex];

When I build the app and follow the instructions, it never finds the beacon. I am able to follow the Update instructions and re-configure the Beacon -- which means I can find the beacon to reconfigure, but can't find the beacon when in Beacons mode. It keeps telling me Beacon Not Found.

This is a bit disappointing -- was hoping it would work out of the box. Any help will be greatly appreciated.

EDIT: I downloaded the app from the AppStore, and it also does not work.

UPDATE: I am able to get the app to work in an iOS 7 device with no problem. This means that the code and the apps functionality is broken on iOS8, which is seriously problematic.

Cheers, Bryan

Parents
  • Apple has added a filter on iOS 8 that filters on the content of the beacon package. So unless the beacon is using the correct packet structure it will not be visible in iOS8.

    The information on the packet structure needed is available from Apple under the MFI and iBeacon licensing. To prevent users outside this licensing to get access to this we have implemented the beacon code to by default not be iBeacon compatible.

  • A few questions:

    1. I searched the entire source code in the project for APP_COMPANY_IDENTIFIER and did not find any to change. I tried adding it to the BeaconsViewController.m and the app still fails to work properly on iOS 8. Does it need to go into another file?

    2. How to I upload the hex file. I am finding it really difficult to navigate the developer site. I have added my keys and product, and downloaded the users guide which I am following. But there is no information on how to upload the hex file to the beacon.

    Any help will be greatly appreciated.

Reply
  • A few questions:

    1. I searched the entire source code in the project for APP_COMPANY_IDENTIFIER and did not find any to change. I tried adding it to the BeaconsViewController.m and the app still fails to work properly on iOS 8. Does it need to go into another file?

    2. How to I upload the hex file. I am finding it really difficult to navigate the developer site. I have added my keys and product, and downloaded the users guide which I am following. But there is no information on how to upload the hex file to the beacon.

    Any help will be greatly appreciated.

Children
No Data
Related