How to compile a plugin project with XCode

For everyone who needs to compile plugins on a Mac you need:

  1. Mac with UE installed.
  2. Blank C++ project.
  3. Create a folder named “plugins” inside your project.
  4. Inside “plugins” folder create your actual plugin folder with Source and uplugin files.
  5. Delete Intermediate and Build folder from your plugin.
  6. Inside your .uplugin file add “OSX” to the whitelist.
  7. Generate XCode files by right clicking your uproject file.
  8. Double click the uproject file to open UE4.
  9. 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!

2 Likes