How to use OnlineSubsystemGoogle on macOS?

How to enable OnlineSubsystemGoogle for the project? I found that there is no Intermediate folder exists and when you try to launch your project you get error like:

Missing precompiled manifest for 'OnlineSubsystemGoogle'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in 'OnlineSubsystemGoogle.build.cs' to override.

The only way I found to solve this is to remove precompiled mark from plugin.

  1. Find and open file Engine/Plugins/Online/OnlineSubsystemGoogle/Source/OnlineSubsytemGoolge.Build.cs.
  2. Find iOS speific block, it has condition like Target.Platform == UnrealTargetPlatform.IOS and add following line at the end bUsePrecompiled = false;