Use the Package... option in the Plugins dialog in the Editor to do this. By default, support for Mac is disabled via the WhitelistPlatforms property to allow building on a standalone PC. Configure remote-compilation to build for Mac.

The repounreal project (under Solution -> Games) has the plugin (under the Plugins folder), and project code (under the Source folder).

The plugin can be packaged and redistributed. The plugin is registered as a dependency in the project code's repounreal.Build.cs as it would be in any third-party project.

The code under Source demonstrates how to use the plugin. This is what would be replaced in a real application. The demonstration of the plugin's API is in ImportModel. The sample registers this method with the Console Manager under the command 3drepoimport.