当我运行在iPhone 5上使用CoreBluetooth的应用程序时,我一直收到此错误: <CBConcreteCentralManager: 0x2007d590> is not powered on
但是当我调用state我的程序的唯一一个CBCentralManager对象时,它返回5,即CBCentralManagerStatePoweredOn.所以它已启动,但我收到此错误.iPhone的蓝牙也已启用.
总的来说,什么时候会发生?我甚至不知道程序运行时发生了什么,因为我得到了看起来像冲突的消息.