scanForPeripheralsWithServices with nil argument not discovering
<p>In my iOS app using core bluetooth, I'm try to scan for all peripherals. Before this, I used to scan for a certain service. I am using the code below.</p>

<pre><code>    centralManager!.scanForPeripheralsWithServices(nil, options: nil)
    //centralManager!.scanForPeripheralsWithServices([BLEUUIDS.Status.Service], options: nil)
</code></pre>

<p>What is odd is when the first line is used with nil for the services arg, <code>didDiscoverPeripheral</code> is never called. When I comment that line and uncomment the line below it, <code>didDiscoverPeripheral</code> is called. Any suggestions are appreciated.</p>