Skyost / Bonsoir

A Zeroconf library that allows you to discover network services and to broadcast your own. Based on Apple Bonjour and Android NSD.
http://bonsoir.skyost.eu/
Other
100 stars 43 forks source link

Use of undeclared identifier 'BonsoirPlugin' #50

Closed nicholasspencer closed 1 year ago

nicholasspencer commented 1 year ago

Describe the bug The GeneratedPluginRegistrant for an iOS or macOS app cannot locate the BonsoirPlugin class. It looks like, as of two days ago, the previous objc BonsoirPlugin class was removed and only the SwiftBonsoirPlugin class exists now. I believe the plugin information in the pubspec of bonsoir_darwin needs to be updated to reflect the correct plugin class name.

To Reproduce Steps to reproduce the behavior:

  1. Add bonsoir to an iOS or macOS flutter app.
  2. Run the app.
  3. Observe the generated registrant.

Expected behavior The correct SwiftBonsoirPlugin is added to the plugin registry.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Skyost commented 1 year ago

Thanks ! I've made those changes in order to stop using symlinks on iOS and macOS. I'll merge your pull request and release a new version.