Remote Build Windows - Mac

Hello,
I’ve tried to configure Windows Remote build.
I followed this tutorial: https://doc.multi-os-engine.org/multi-os-engine/3_getting_started/3_remote_build/remote_build.html

I’ve also added codesing to privatekey what was suggested in this topic: Signing problem with remote build on OS X Sierra with 1.3.0-beta

But now can’t sync gradle with task for coping Assets in ios/build.gradle:

task copyAssets(type: Copy) {
from ‘…/android/assets’
into ‘build/assets’
}
task moeMainReleaseIphoneosXcodeBuild(dependsOn: copyAssets){}
task moeMainDebugIphoneosXcodeBuild(dependsOn: copyAssets){}

Android studio fails after Gradle sync. with error:

Error:(28, 0) org.gradle.api.DefaultTask_Decorated cannot be cast to org.moe.gradle.tasks.AbstractBaseTask
Possible causes for this unexpected error include:

In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

When I try to build App on remote mac I got:

** BUILD FAILED **

The following build commands failed:
PhaseScriptExecution Compile\ Sources\ (MOE) /var/folders/6y/zsq91k315zb6n1mwjt7xrt280000gn/T/tmp.vsWvFBty/build/moe/xcodebuild/obj/confapptest.build/Release-iphoneos/confapptest.build/Script-6649AB0E3AEAC836C0A3E934.sh
(1 failure)

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:ios:moeMainReleaseIphoneosXcodeBuild’.
    Remote command execution failed
  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Thanks