I wrote a dirt-simple single view app to scan for peripherals and NSLog them. LightBlue sees the peripheral, by the way. This is on an iPhone 5s running iOS 8.0.
import UIKit
import CoreBluetooth
class ViewController: UIViewController, CBCentralManagerDelegate {
var centralManager: CBCentralManager!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
self.centralManager = CBCentralManager(delegate:self, queue:nil)
}
func centralManagerDidUpdateState(central: CBCentralManager!) {
NSLog("\(central.state)");
if (central.state == CBCentralManagerState.PoweredOn) {
centralManager.scanForPeripheralsWithServices(nil, options:[CBCentralManagerScanOptionAllowDuplicatesKey:true])
}
}
func didDiscoverPeripheral(peripheral: CBPeripheral!, advertisementData: [NSObject : AnyObject]!, RSSI: NSNumber!) {
NSLog("Discovered \(peripheral.description)")
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}