File 'BluetoothController.swift' is part of module 'CoreBluetooth'; ignoring import
<p>I am trying to create a class that uses CoreBluetooth. When I tried to import, I got this error:</p>

<p><a href="https://i.stack.imgur.com/hSo7N.png" rel="nofollow"><img src="https://i.stack.imgur.com/hSo7N.png" alt="File &#39;BluetoothController.swift&#39; is part of module &#39;CoreBluetooth&#39;; ignoring import."></a></p>

<p>Why is this happening? I also get the error if I try to import CoreBluetooth into <code>ViewController.swift</code>.</p>

<p>I don't get the error for other modules:</p>

<p><a href="https://i.stack.imgur.com/3kz8w.png" rel="nofollow"><img src="https://i.stack.imgur.com/3kz8w.png" alt="Other modules don&#39;t have errors"></a></p>