Remote Build from Windows with Android Studio + MOE

Hi,

My name is Giovanni and I write form Italy, which I’0m sorry if my english is very poor.

I wanted to try MOE plugin (last version) for Android Studio on Windows 10.
I create a simple project, classic Hello World.
I use a MACOS Catalina as remote build server.
On Macos there is installed Xcode last version and Java SDK version 8.

I configurated my MacOs for remote build service activing SSH remote login.

The build failed, because on Macos, MOE doesn’t find all dependences, it cannot find org.multi-os-engine:moe-gradle:1.7.2.

I think that I must set something into my project for reading them from my Windows Android project, because SDK there is on Windows.

Could you help me, please?

Here you are that it wrote me:
"

Configure project :apple
Using already downloaded SDK: C:\Users\giovanni.moe-community\moe-sdk-1.7.2

Task :common:compileJava UP-TO-DATE
Task :apple:compileJava UP-TO-DATE
Task :apple:processResources NO-SOURCE
Task :apple:classes UP-TO-DATE
Task :common:processResources NO-SOURCE
Task :common:classes UP-TO-DATE
Task :common:jar UP-TO-DATE
Task :apple:moeMainProGuard UP-TO-DATE
Task :apple:moeMainRetrolambda UP-TO-DATE
Task :apple:moeGenerateUIObjCInterfaces UP-TO-DATE
Task :apple:moeMainDex UP-TO-DATE

=======================================================
STARTING REMOTE TASK - FILE UPLOAD: prepare - gradlew

Local Root: C:\Users\giovanni.moe-community\moe-sdk-1.7.2\tools
Remote: /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.c1jVzmup

– gradlew.zip (1005,30 kB/s)
<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>

===========================================================
STARTING REMOTE TASK - COMMAND EXECUTION: install MOE SDK

Command: cd /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.c1jVzmup && unzip /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.c1jVzmup/gradlew.zip && cd gradlew && echo ‘distributionBase=GRADLE_USER_HOME’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘distributionPath=wrapper/dists’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘zipStoreBase=GRADLE_USER_HOME’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘zipStorePath=wrapper/dists’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘distributionUrl=https://services.gradle.org/distributions/gradle-2.14-bin.zip’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘buildscript {’ >> build.gradle && echo ’ repositories {’ >> build.gradle && echo ’ jcenter()’ >> build.gradle && echo ’ }’ >> build.gradle && echo ’ dependencies {’ >> build.gradle && echo ’ classpath group: “org.multi-os-engine”, name: “moe-gradle”, version: “1.7.2”’ >> build.gradle && echo ’ }’ >> build.gradle && echo ‘}’ >> build.gradle && echo ‘’ >> build.gradle && echo ‘apply plugin: “moe-sdk”’ >> build.gradle && echo ‘task printSDKRoot << { print “REMOTE_MOE_SDK_ROOT___1234567890:${moe.sdk.root}” }’ >> build.gradle && ./gradlew printSDKRoot -s && cd … && rm -rf gradlew && rm -f gradlew.zip

Task :apple:moeRemoteServerSetup
MOE Remote Build - REMOTE_HOME=/Users/joe
MOE Remote Build - REMOTE_BUILD_DIR=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.c1jVzmup

=========================================================
REMOTE TASK FAILED - COMMAND EXECUTION: install MOE SDK

Archive: /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.c1jVzmup/gradlew.zip
creating: gradlew/
creating: gradlew/gradle/
creating: gradlew/gradle/wrapper/
inflating: gradlew/gradle/wrapper/gradle-wrapper.jar
inflating: gradlew/gradlew

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘gradlew’.

Could not resolve all dependencies for configuration ‘:classpath’.
Could not find org.multi-os-engine:moe-gradle:1.7.2.
Searched in the following locations:
https ://jcenter.bintray.com/org/multi-os-engine/moe-gradle/1.7.2/moe-gradle-1.7.2.pom
https ://jcenter.bintray.com/org/multi-os-engine/moe-gradle/1.7.2/moe-gradle-1.7.2.jar
Required by:
:gradlew:unspecified

  • Try:
    Run with --info or --debug option to get more log output.

  • Exception is:
    org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project ‘gradlew’.
    at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:79)
    at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:57)
    at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)
    at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)
    at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:42)
    at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
    at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:124)
    at org.gradle.internal.Factories$1.create(Factories.java:22)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
    at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:121)
    at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
    at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
    at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
    at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
    at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
    at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
    at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
    at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
    at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
    at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
    at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
    at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
    at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:239)
    at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:212)
    at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
    at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
    at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
    at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
    at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205)
    at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
    at org.gradle.launcher.Main.doAction(Main.java:33)
    at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
    at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55)
    at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
    at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
    at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
    at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
    at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:56)
    Caused by: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ‘:classpath’.
    at org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration.rethrowFailure(DefaultLenientConfiguration.java:62)
    at org.gradle.api.internal.artifacts.ivyservice.DefaultResolvedConfiguration.rethrowFailure(DefaultResolvedConfiguration.java:36)
    at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyConfigurationResolver$FilesAggregatingResolvedConfiguration.rethrowFailure(SelfResolvingDependencyConfigurationResolver.java:112)
    at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver$ErrorHandlingResolvedConfiguration.rethrowFailure(ErrorHandlingConfigurationResolver.java:189)
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:669)
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getFiles(DefaultConfiguration.java:293)
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration_Decorated.getFiles(Unknown Source)
    at org.gradle.api.internal.initialization.DefaultScriptHandler.getScriptClassPath(DefaultScriptHandler.java:69)
    at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.defineScriptHandlerClassScope(DefaultPluginRequestApplicator.java:186)
    at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugins(DefaultPluginRequestApplicator.java:75)
    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:157)
    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)
    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)
    at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
    at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)
    … 43 more
    Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find org.multi-os-engine:moe-gradle:1.7.2.
    Searched in the following locations:
    https ://jcenter.bintray.com/org/multi-os-engine/moe-gradle/1.7.2/moe-gradle-1.7.2.pom
    https ://jcenter.bintray.com/org/multi-os-engine/moe-gradle/1.7.2/moe-gradle-1.7.2.jar
    Required by:
    :gradlew:unspecified
    at org.gradle.internal.resolve.result.DefaultBuildableComponentResolveResult.notFound(DefaultBuildableComponentResolveResult.java:38)
    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolveModule(RepositoryChainComponentMetaDataResolver.java:88)
    at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryChainComponentMetaDataResolver.resolve(RepositoryChainComponentMetaDataResolver.java:59)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.ComponentResolversChain$ComponentMetaDataResolverChain.resolve(ComponentResolversChain.java:80)
    at org.gradle.api.internal.artifacts.ivyservice.clientmodule.ClientModuleResolver.resolve(ClientModuleResolver.java:44)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$ModuleVersionResolveState.resolve(DependencyGraphBuilder.java:564)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$ModuleVersionResolveState.getMetaData(DependencyGraphBuilder.java:574)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.calculateTargetConfigurations(DependencyGraphBuilder.java:260)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.attachToTargetConfigurations(DependencyGraphBuilder.java:234)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.traverseGraph(DependencyGraphBuilder.java:141)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.resolve(DependencyGraphBuilder.java:79)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:90)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver$1.execute(DefaultArtifactDependencyResolver.java:80)
    at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
    at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:61)
    at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager.withIvy(DefaultIvyContextManager.java:39)
    at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver.resolve(DefaultArtifactDependencyResolver.java:80)
    at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver$1.run(CacheLockingArtifactDependencyResolver.java:41)
    at org.gradle.internal.Factories$1.create(Factories.java:22)
    at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:192)
    at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:175)
    at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:106)
    at org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache.useCache(DefaultCacheFactory.java:187)
    at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManager.useCache(DefaultCacheLockingManager.java:64)
    at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver.resolve(CacheLockingArtifactDependencyResolver.java:39)
    at org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationResolver.resolve(DefaultConfigurationResolver.java:91)
    at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyConfigurationResolver.resolve(SelfResolvingDependencyConfigurationResolver.java:40)
    at org.gradle.api.internal.artifacts.ivyservice.ShortCircuitEmptyConfigurationResolver.resolve(ShortCircuitEmptyConfigurationResolver.java:52)
    at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolve(ErrorHandlingConfigurationResolver.java:43)
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveGraphIfRequired(DefaultConfiguration.java:372)
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveNow(DefaultConfiguration.java:347)
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getResolvedConfiguration(DefaultConfiguration.java:340)
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration_Decorated.getResolvedConfiguration(Unknown Source)
    at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:667)
    … 53 more

BUILD FAILED

Total time: 8.492 secs

Task :apple:moeRemoteServerSetup FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:apple:moeRemoteServerSetup’.

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. Run with --scan to get full insights.

  • Get more help at https ://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See https ://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED8 actionable tasks: 1 executed, 7 up-to-date
in 16s
Multi-OS Engine module build failed
"

Do you have it listed somewhere in build scripts or configs as org.multi-os-engine?

It should be org.multi-os-engine.community:moe-gradle:1.7.2

Right… I might somehow forgot to change the group name for the generated files. I’ll aim to fix the remote build for the next release.

1 Like

MOE Community Edition Gradle Plugin 1.7.3 has been released which should fix the remote build issue.

2 Likes

Hello,

The build failed on Android Studio on Windows.

First of all. I haven’t got a development account, I installed last version of Xcode on my Macos and I tried with succefull to make a build with xcode on an old IPAD 2 (with ios 9.3 of my brother) linked to MacOS Catalina using a Personal Team (a free apple account), like there is written in your documentation.

On Android Studio on Windows I linked the same IPAD 2 and I build my project, here you are the log with error to the end, where have I been wrong?

"

STARTING REMOTE TASK - FILE UPLOAD: prepare - gradlew

Local Root: C:\Users\giovanni.moe-community\moe-sdk-1.7.2\tools
Remote: /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1

– gradlew.zip (940,10 kB/s)
<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>

===========================================================
STARTING REMOTE TASK - COMMAND EXECUTION: install MOE SDK

Command: cd /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1 && unzip /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/gradlew.zip && cd gradlew && echo ‘distributionBase=GRADLE_USER_HOME’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘distributionPath=wrapper/dists’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘zipStoreBase=GRADLE_USER_HOME’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘zipStorePath=wrapper/dists’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘distributionUrl=https://services.gradle.org/distributions/gradle-4.5.1-bin.zip’ >> gradle/wrapper/gradle-wrapper.properties && echo ‘buildscript {’ >> build.gradle && echo ’ repositories {’ >> build.gradle && echo ’ jcenter()’ >> build.gradle && echo ’ }’ >> build.gradle && echo ’ dependencies {’ >> build.gradle && echo ’ classpath group: “org.multi-os-engine.community”, name: “moe-gradle”, version: “1.7.3”’ >> build.gradle && echo ’ }’ >> build.gradle && echo ‘}’ >> build.gradle && echo ‘’ >> build.gradle && echo ‘apply plugin: “moe-sdk”’ >> build.gradle && echo ‘task printSDKRoot << { print “REMOTE_MOE_SDK_ROOT___1234567890:${moe.sdk.root}” }’ >> build.gradle && ./gradlew printSDKRoot -s && cd … && rm -rf gradlew && rm -f gradlew.zip

Task :apple:moeRemoteServerSetup
MOE Remote Build - REMOTE_HOME=/Users/joe
MOE Remote Build - REMOTE_BUILD_DIR=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1

<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>>

==============================================================
STARTING REMOTE TASK - COMMAND EXECUTION: check MOE SDK path

Command: [ -d ‘/Users/joe/.moe-community/moe-sdk-1.7.2’ ]
<<<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>>>

Task :common:compileJava UP-TO-DATE
Task :apple:compileJava UP-TO-DATE
Task :apple:processResources NO-SOURCE
Task :apple:classes UP-TO-DATE
Task :apple:compileTestJava NO-SOURCE
Task :apple:processTestResources NO-SOURCE
Task :apple:testClasses UP-TO-DATE
Task :common:processResources NO-SOURCE
Task :common:classes UP-TO-DATE
Task :common:jar UP-TO-DATE
Task :apple:moeTestProGuard UP-TO-DATE
Task :apple:moeTestRetrolambda UP-TO-DATE
Task :apple:moeTestDex UP-TO-DATE

====================================================
STARTING REMOTE TASK - FILE UPLOAD: dex2oat inputs

Local Root: C:\Users\giovanni\AndroidStudioProjects\helloworld\apple
Remote: /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1

– build
– moe
– test
– dex
– classes.jar (28,58 MB/s)
<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>

================================================================
STARTING REMOTE TASK - COMMAND EXECUTION: dex2oat inputs check

Command: [ -f ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/build/moe/test/dex/classes.jar’ ] && [ -f ‘/Users/joe/.moe-community/moe-sdk-1.7.2/sdk/moe-ios-retro-dex.jar’ ] && [ -f ‘/Users/joe/.moe-community/moe-sdk-1.7.2/sdk/moe-core.dex’ ]
<<<<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>>>>

======================================================================
STARTING REMOTE TASK - COMMAND EXECUTION: prepare output directories

Command: mkdir -p dirname /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm64/image.art && mkdir -p dirname /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm64/application.oat
<<<<<<<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>>>>>>>

===================================================
STARTING REMOTE TASK - COMMAND EXECUTION: dex2oat

Command: /Users/joe/.moe-community/moe-sdk-1.7.2/tools/dex2oat --instruction-set=arm64 --base=0x10000000 --compiler-backend=Quick --no-generate-debug-info --image=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm64/image.art --image-classes=/Users/joe/.moe-community/moe-sdk-1.7.2/tools/preloaded-classes --oat-file=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm64/application.oat --dex-file=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/build/moe/test/dex/classes.jar:/Users/joe/.moe-community/moe-sdk-1.7.2/sdk/moe-ios-retro-dex.jar:/Users/joe/.moe-community/moe-sdk-1.7.2/sdk/moe-core.dex
<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>

===========================================
STARTING REMOTE TASK - FILE DOWNLOAD: art

Remote: /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm64/image.art

Local Root: C:\Users\giovanni\AndroidStudioProjects\helloworld\apple\build\moe\test\dex2oat\release-arm64
Recursive: No

±- [644] image.art (24,52 MB/s)
<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>

===========================================
STARTING REMOTE TASK - FILE DOWNLOAD: oat

Remote: /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm64/application.oat

Local Root: C:\Users\giovanni\AndroidStudioProjects\helloworld\apple\build\moe\test\dex2oat\release-arm64
Recursive: No

Task :apple:moeTestReleaseArm64Dex2Oat

±- [644] application.oat (51,88 MB/s)
<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>

Task :apple:moeTestResourcePackager UP-TO-DATE
Task :apple:moeTestStartupProvider UP-TO-DATE
Task :apple:moeTestTestClassesProvider UP-TO-DATE

==========================================================
STARTING REMOTE TASK - COMMAND EXECUTION: link art & oat

Command: mkdir -p ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/xcode/Release-iphoneos’ && rm -f ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/xcode/Release-iphoneos/arm64.art’ && rm -f ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/xcode/Release-iphoneos/arm64.oat’ && ln -s ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm64/image.art’ ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/xcode/Release-iphoneos/arm64.art’ && ln -s ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm64/application.oat’ ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/xcode/Release-iphoneos/arm64.oat’
<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>

Task :apple:moeTestReleaseArm64IphoneosXcodeProvider

====================================================
STARTING REMOTE TASK - FILE UPLOAD: dex2oat inputs

Local Root: C:\Users\giovanni\AndroidStudioProjects\helloworld\apple
Remote: /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1

– build
– moe
– test
– dex
– classes.jar (32,80 MB/s)
<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>

================================================================
STARTING REMOTE TASK - COMMAND EXECUTION: dex2oat inputs check

Command: [ -f ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/build/moe/test/dex/classes.jar’ ] && [ -f ‘/Users/joe/.moe-community/moe-sdk-1.7.2/sdk/moe-ios-retro-dex.jar’ ] && [ -f ‘/Users/joe/.moe-community/moe-sdk-1.7.2/sdk/moe-core.dex’ ]
<<<<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>>>>

======================================================================
STARTING REMOTE TASK - COMMAND EXECUTION: prepare output directories

Command: mkdir -p dirname /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm/image.art && mkdir -p dirname /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm/application.oat
<<<<<<<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>>>>>>>

===================================================
STARTING REMOTE TASK - COMMAND EXECUTION: dex2oat

Command: /Users/joe/.moe-community/moe-sdk-1.7.2/tools/dex2oat --instruction-set=arm --base=0x10000000 --compiler-backend=Quick --no-generate-debug-info --image=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm/image.art --image-classes=/Users/joe/.moe-community/moe-sdk-1.7.2/tools/preloaded-classes --oat-file=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm/application.oat --dex-file=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/build/moe/test/dex/classes.jar:/Users/joe/.moe-community/moe-sdk-1.7.2/sdk/moe-ios-retro-dex.jar:/Users/joe/.moe-community/moe-sdk-1.7.2/sdk/moe-core.dex
<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>

===========================================
STARTING REMOTE TASK - FILE DOWNLOAD: art

Remote: /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm/image.art

Local Root: C:\Users\giovanni\AndroidStudioProjects\helloworld\apple\build\moe\test\dex2oat\release-arm
Recursive: No

±- [644] image.art (54,11 MB/s)
<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>

===========================================
STARTING REMOTE TASK - FILE DOWNLOAD: oat

Remote: /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm/application.oat

Local Root: C:\Users\giovanni\AndroidStudioProjects\helloworld\apple\build\moe\test\dex2oat\release-arm
Recursive: No

±- [644] application.oat (52,26 MB/s)
<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>

Task :apple:moeTestReleaseArmDex2Oat

==========================================================
STARTING REMOTE TASK - COMMAND EXECUTION: link art & oat

Command: mkdir -p ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/xcode/Release-iphoneos’ && rm -f ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/xcode/Release-iphoneos/armv7.art’ && rm -f ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/xcode/Release-iphoneos/armv7.oat’ && ln -s ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm/image.art’ ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/xcode/Release-iphoneos/armv7.art’ && ln -s ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/dex2oat/release-arm/application.oat’ ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/test/xcode/Release-iphoneos/armv7.oat’
<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>

Task :apple:moeTestReleaseArmv7IphoneosXcodeProvider

===================================================
STARTING REMOTE TASK - FILE UPLOAD: project files

Local Root: C:\Users\giovanni\AndroidStudioProjects\helloworld
Remote: /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1

– apple
±- .gitignore (144,18 kB/s)
±- build
| ±- classes
| | – java
| | – main
| | – helloworld
| | ±- Main.class (765,83 kB/s)
| | – ui
| | – AppViewController.class (947,64 kB/s)
| ±- generated
| | – sources
| | ±- annotationProcessor
| | | – java
| | | – main
| | – headers
| | – java
| | – main
| | ±- helloworld_Main.h (164,60 kB/s)
| | – helloworld_ui_AppViewController.h (533,07 kB/s)
| ±- libs
| | – apple.jar (1,08 MB/s)
| – moe
| ±- main
| | ±- application.jar (58,22 MB/s)
| | ±- dex
| | | ±- classes.jar (1,22 MB/s)
| | | – Dex.log (181,40 kB/s)
| | ±- dex2oat
| | | ±- debug-arm
| | | | ±- application.oat (40,19 MB/s)
| | | | ±- Dex2Oat.log (0,00 kB/s)
| | | | – image.art (52,00 MB/s)
| | | ±- debug-arm64
| | | | ±- application.oat (41,09 MB/s)
| | | | ±- Dex2Oat.log (0,00 kB/s)
| | | | – image.art (36,26 MB/s)
| | | ±- release-arm
| | | | ±- application.oat (51,03 MB/s)
| | | | ±- Dex2Oat.log (0,00 kB/s)
| | | | – image.art (43,58 MB/s)
| | | – release-arm64
| | | ±- application.oat (55,30 MB/s)
| | | ±- Dex2Oat.log (0,00 kB/s)
| | | – image.art (58,46 MB/s)
| | ±- preregister.txt (22,01 kB/s)
| | ±- proguard
| | | ±- configuration.pro (260,28 kB/s)
| | | ±- output.jar (1,49 MB/s)
| | | – ProGuard.log (1,37 MB/s)
| | ±- retro
| | | ±- input
| | | | ±- helloworld
| | | | | ±- Main.class (576,03 kB/s)
| | | | | – ui
| | | | | – AppViewController.class (668,65 kB/s)
| | | | – it
| | | | – gdcweb
| | | | – helloworld
| | | | – common
| | | | – AppLogic.class (183,62 kB/s)
| | | ±- output
| | | | ±- helloworld
| | | | | ±- Main.class (664,75 kB/s)
| | | | | – ui
| | | | | – AppViewController.class (1,07 MB/s)
| | | | – it
| | | | – gdcweb
| | | | – helloworld
| | | | – common
| | | | – AppLogic.class (185,84 kB/s)
| | | – Retrolambda.log (246,34 kB/s)
| | ±- StartupProvider.log (52,73 kB/s)
| | ±- ui-headers
| | | ±- GenerateUIHeaders.log (0,00 kB/s)
| | | – moe-main-interfaces.m (183,24 kB/s)
| | – xcode
| | ±- Debug-iphoneos
| | | – XcodeProvider.log (0,00 kB/s)
| | – Release-iphoneos
| | – XcodeProvider.log (0,00 kB/s)
| ±- reports
| ±- test
| | ±- application.jar (65,03 MB/s)
| | ±- classlist.txt (0,00 kB/s)
| | ±- dex
| | ±- dex2oat
| | | ±- release-arm
| | | | ±- application.oat (up-to-date)
| | | | – image.art (up-to-date)
| | | – release-arm64
| | | ±- application.oat (up-to-date)
| | | – image.art (up-to-date)
| | ±- preregister.txt (23,68 kB/s)
| | ±- proguard
| | ±- retro
| | – TestClassesProvider.log (0,00 kB/s)
| – XcodeUpdate.log (0,00 kB/s)
±- build.gradle (340,93 kB/s)
±- hs_err_pid17080.log (17,67 MB/s)
±- replay_pid17080.log (86,27 MB/s)
±- src
| – main
| ±- java
| | – helloworld
| | ±- Main.java (472,83 kB/s)
| | – ui
| | – AppViewController.java (894,36 kB/s)
| – resources
– xcode
±- helloworld
| ±- Assets.xcassets
| | – AppIcon.appiconset
| | – Contents.json (955,17 kB/s)
| ±- Base.lproj
| | ±- LaunchScreen.storyboard (979,48 kB/s)
| | – Main.storyboard (966,32 kB/s)
| ±- Info.plist (1,21 MB/s)
| – main.cpp (39,07 kB/s)
±- helloworld-Test
| ±- Info.plist (902,36 kB/s)
| – main.cpp (15,74 kB/s)
– helloworld.xcodeproj
– project.pbxproj (11,69 MB/s)
<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>

====================================================
STARTING REMOTE TASK - COMMAND EXECUTION: link sdk

Command: mkdir -p ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe’ && rm -f ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/sdk’ && ln -s ‘/Users/joe/.moe-community/moe-sdk-1.7.2’ ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/sdk’
<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>

======================================================
STARTING REMOTE TASK - COMMAND EXECUTION: xcodebuild

Command: xcrun --find xcodebuild && xcrun xcodebuild -configuration Release -sdk iphoneos -project /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/xcode/helloworld.xcodeproj -target helloworld-Test MOE_GRADLE_EXTERNAL_BUILD=YES ONLY_ACTIVE_ARCH=NO SYMROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/xcodebuild DSTROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/xcodebuild/dst OBJROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/xcodebuild/obj SHARED_PRECOMPS_DIR=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/xcodebuild/shared_precomps

Task :apple:moeTestReleaseIphoneosXcodeBuild FAILED

====================================================
REMOTE TASK FAILED - COMMAND EXECUTION: xcodebuild

/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release -sdk iphoneos -project /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/xcode/helloworld.xcodeproj -target helloworld-Test MOE_GRADLE_EXTERNAL_BUILD=YES ONLY_ACTIVE_ARCH=NO SYMROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/xcodebuild DSTROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/xcodebuild/dst OBJROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/xcodebuild/obj SHARED_PRECOMPS_DIR=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/xcodebuild/shared_precomps

Build settings from command line:
DSTROOT = /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/xcodebuild/dst
MOE_GRADLE_EXTERNAL_BUILD = YES
OBJROOT = /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/xcodebuild/obj
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphoneos14.3
SHARED_PRECOMPS_DIR = /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/xcodebuild/shared_precomps
SYMROOT = /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.aMaXL0v1/apple/build/moe/xcodebuild

note: Using new build system
note: Planning build
note: Constructing build description
error: Signing for “helloworld-Test” requires a development team. Select a development team in the Signing & Capabilities editor. (in target ‘helloworld-Test’ from project ‘helloworld’)

** BUILD FAILED **

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:apple:moeTestReleaseIphoneosXcodeBuild’.

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. Run with --scan to get full insights.

  • Get more help at https: //help.gradle.org

BUILD FAILED in 1m 18s

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See https: //docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings
15 actionable tasks: 6 executed, 9 up-to-date
Multi-OS Engine module build failed
"

Make sure you select the Debug configuration in Android Studio
image

Otherwise you have to make sure the release signing is properly configured in Xcode
image

1 Like

i tried both and together, nothing same error.

"

Configure project :apple
Using already downloaded SDK: C:\Users\giovanni.moe-community\moe-sdk-1.7.2

Task :common:compileJava UP-TO-DATE
Task :apple:compileJava UP-TO-DATE
Task :apple:processResources NO-SOURCE
Task :apple:classes UP-TO-DATE
Task :common:processResources NO-SOURCE
Task :common:classes UP-TO-DATE
Task :common:jar UP-TO-DATE
Task :apple:moeMainProGuard UP-TO-DATE
Task :apple:moeMainRetrolambda UP-TO-DATE
Task :apple:moeGenerateUIObjCInterfaces UP-TO-DATE
Task :apple:moeMainDex UP-TO-DATE

=======================================================
STARTING REMOTE TASK - FILE UPLOAD: prepare - gradlew

STARTING REMOTE TASK - COMMAND EXECUTION: link sdk

Command: mkdir -p ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe’ && rm -f ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe/sdk’ && ln -s ‘/Users/joe/.moe-community/moe-sdk-1.7.2’ ‘/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe/sdk’
<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>

======================================================
STARTING REMOTE TASK - COMMAND EXECUTION: xcodebuild

Command: xcrun --find xcodebuild && xcrun xcodebuild -configuration Debug -sdk iphoneos -project /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/xcode/helloworld.xcodeproj -target helloworld MOE_GRADLE_EXTERNAL_BUILD=YES ONLY_ACTIVE_ARCH=NO SYMROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe/xcodebuild DSTROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe/xcodebuild/dst OBJROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe/xcodebuild/obj SHARED_PRECOMPS_DIR=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe/xcodebuild/shared_precomps

====================================================
REMOTE TASK FAILED - COMMAND EXECUTION: xcodebuild

/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Debug -sdk iphoneos -project /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/xcode/helloworld.xcodeproj -target helloworld MOE_GRADLE_EXTERNAL_BUILD=YES ONLY_ACTIVE_ARCH=NO SYMROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe/xcodebuild DSTROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe/xcodebuild/dst OBJROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe/xcodebuild/obj SHARED_PRECOMPS_DIR=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe/xcodebuild/shared_precomps

Build settings from command line:
DSTROOT = /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe/xcodebuild/dst
MOE_GRADLE_EXTERNAL_BUILD = YES
OBJROOT = /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe/xcodebuild/obj
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphoneos14.3
SHARED_PRECOMPS_DIR = /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe/xcodebuild/shared_precomps
SYMROOT = /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.5FkclIcn/apple/build/moe/xcodebuild

note: Using new build system
note: Planning build
note: Constructing build description
error: Signing for “helloworld” requires a development team. Select a development team in the Signing & Capabilities editor. (in target ‘helloworld’ from project ‘helloworld’)

** BUILD FAILED **

Task :apple:moeMainDebugIphoneosXcodeBuild FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See https: //docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings
15 actionable tasks: 6 executed, 9 up-to-date

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:apple:moeMainDebugIphoneosXcodeBuild’.

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. Run with --scan to get full insights.

  • Get more help at https: //help.gradle.org

BUILD FAILED in 1m 43s
Multi-OS Engine module build failed
"
immagine

Android Studio on Windows with MOE and Remote Build on MacOS is a configuration used by anyone?

I have some doubts.

immagine

You must fix the signning settings here (including the Debug profile), as you normally build an iOS app directly from Xcode.

image

Already done.

Seen that on xcode on macos I can make the build, is there a log in xcode project where you can read the correct options for command line invocation?

For me the error is here:
"
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Debug -sdk iphoneos -project /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.oDDenx4A/apple/xcode/helloworld.xcodeproj -target helloworld MOE_GRADLE_EXTERNAL_BUILD=YES ONLY_ACTIVE_ARCH=NO SYMROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.oDDenx4A/apple/build/moe/xcodebuild DSTROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.oDDenx4A/apple/build/moe/xcodebuild/dst OBJROOT=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.oDDenx4A/apple/build/moe/xcodebuild/obj SHARED_PRECOMPS_DIR=/var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.oDDenx4A/apple/build/moe/xcodebuild/shared_precomps

Build settings from command line:
DSTROOT = /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.oDDenx4A/apple/build/moe/xcodebuild/dst
MOE_GRADLE_EXTERNAL_BUILD = YES
OBJROOT = /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.oDDenx4A/apple/build/moe/xcodebuild/obj
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphoneos14.3
SHARED_PRECOMPS_DIR = /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.oDDenx4A/apple/build/moe/xcodebuild/shared_precomps
SYMROOT = /var/folders/fm/8y4wp_kj0sbdf53n3sdd7p0r0000gn/T/tmp.oDDenx4A/apple/build/moe/xcodebuild

note: Using new build system
note: Planning build
note: Constructing build description
error: Signing for “helloworld” requires a development team. Select a development team in the Signing & Capabilities editor. (in target ‘helloworld’ from project ‘helloworld’)

** BUILD FAILED **

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:apple:moeMainDebugIphoneosXcodeBuild’.

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. Run with --scan to get full insights.
    "

In my android studio I can configurate the comand line invocation of remote build?

I’d like to set this option:

"
–stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output. Run with --scan to get full insights. "

Can you show me the full screenshot of your xcode signing configuration page?

immagine

with “classpath group: ‘org.multi-os-engine.community’, name: ‘moe-gradle’, version: ‘1.7.3’”

Why isn’t there the relative folder under “C:\Users<profile>.moe-community”?
There is 1.7.2 again.

immagine

C:\Users\giovanni.moe-community\moe-sdk-1.7.2

But should it not be ‘C:\Users\giovanni.moe-community\moe-sdk-1.7.3’?

The SDK version does not always equal to the gradle plugin version.

Are you sure this is the same project? According to the log you posted, the target name is “helloworld”

But I do not see that target in your screenshot.

You are right, I saw the project created into tmp folder and the TEAM is none, but I don’t know how I can set it as default.

immagine

It’s under the xcode folder of your MOE project.