<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">After installing the Swift 2.2 toolchain (and running it with Xcode 7.2), I found I am unable to compile any OS X projects that use the IOBluetooth framework. Namely, I get a “'IOBluetoothDevice' is ambiguous for type lookup in this context” error when merely trying to declare a variable of type `IOBluetoothDevice`:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">import Cocoa</div><div class="">import IOBluetooth</div><div class=""><br class=""></div><div class="">@NSApplicationMain</div><div class="">class AppDelegate: NSObject, NSApplicationDelegate {</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>@IBOutlet weak var window: NSWindow!</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>var device: IOBluetoothDevice?</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>~~~~~~~~~~~~~~~~~~~~~~~~</div><div class="">}</div></blockquote><div class=""><br class=""></div><div class="">This is a regression from Swift 2.1 and reproduces in a clean project with no other frameworks or source files beyond what’s in the code snippet above.</div><div class=""><br class=""></div><div class="">It’d be great if someone could look at this: <a href="https://bugs.swift.org/browse/SR-545" class="">https://bugs.swift.org/browse/SR-545</a></div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">— Matt</div><div class=""><br class=""></div></body></html>