fuziki / UnityCoreBluetooth

Unity Bluetooth Plugin for iOS & macOS Editor
MIT License
52 stars 13 forks source link

- no devices are being discovered or listed in the console of the editor. #29

Closed SpaceBug199 closed 2 years ago

SpaceBug199 commented 2 years ago

Tested the plugin on one Mac mini (2018) with macOS 12.0.1 and on two MBP (2018) with macOS 10.15.7 and 12.1.

Error is solved after the solution:

  1. Open the MacOS terminal.
  2. Enter the command: xattr -d com.apple.quarantine /.../Assets/Plugins/Whatever.bundle
  3. Do this for every .bundle you have, and they once again work.
  4. (Original link https://forum.unity.com/threads/plugin-bundle-is-damaged-and-cant-be-opened-after-latest-macos-update.910004/)

-Plugin starts fine after the fix. The example starts and gets to start Scan method.

All of BLE devices have been identified with Bluetility app form all Mac computers (BLE works)

fuziki commented 2 years ago

Thanks for asking. I think your method may not have loaded the plugin correctly. Open the UnityCoreBluetooth.xcworkspace and try to build mcUnityCoreBluetooth.bundle in your environment.