For everyone who needs to compile plugins on a Mac you need:
- Mac with UE installed.
- Blank C++ project.
- Create a folder named “plugins” inside your project.
- Inside “plugins” folder create your actual plugin folder with Source and uplugin files.
- Delete Intermediate and Build folder from your plugin.
- Inside your .uplugin file add “OSX” to the whitelist.
- Generate XCode files by right clicking your uproject file.
- Double click the uproject file to open UE4.
- Compile.
After that you should have Binaries folder inside your plugin.
If after all that UE4 can see the plugin enabled, but can’t use any of its functions, try adding your plugin as a module to game.build.cs inside your project source folder.
Hope it would be helpful!