Win7-64bit remote build on MacOX-Sierra XCode Beta failed

Hey,

i have some problems doing the last step of remote building. I’m not sure why this error happends. Maybe it’s related to XCode 8.1 beta (8T46g) ?

The XCode Project is not created during the remote execution.

C:\Users\UserXYZ\Documents\moe_engine\Test\TestIOS\**xcode\Test.xcodeproj\project.pbxproj**

The “xcode” folder is not created in the project directory, nor there is any xcodeproj files.

Attached the log from Android Studio.

To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html.
Incremental java compilation is an incubating feature.
:comonlib:compileJava UP-TO-DATE
:comonlib:processResources UP-TO-DATE
:comonlib:classes UP-TO-DATE
:comonlib:jar UP-TO-DATE
:TestIOS:compileJava UP-TO-DATE
:TestIOS:processResources UP-TO-DATE
:TestIOS:classes UP-TO-DATE
:TestIOS:moeMainProGuard
:TestIOS:moeMainRetrolambda
:TestIOS:moeMainDex
:TestIOS:moeRemoteServerSetup
MOE Remote Build - REMOTE_HOME=/Users/vagrant
MOE Remote Build - REMOTE_BUILD_DIR=/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f

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

Local Root: C:\Users\UserXYZ.moe\moe-sdk-1.2.1\tools
Remote: /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f

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

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

Command: cd /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f && unzip /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/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.5-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.2.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
<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>>

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

Command: [ -d ‘/Users/vagrant/.moe/moe-sdk-1.2.1’ ]
<<<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>>>
:TestIOS:moeMainDebugArm64Dex2Oat

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

Local Root: C:\Users\UserXYZ\Documents\moe_engine\Test\TestIOS
Remote: /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f

– build
– moe
– main
– dex
– classes.jar (1,07 MB/s)
<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>

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

Command: [ -f ‘/Users/vagrant/.moe/moe-sdk-1.2.1/sdk/moe-ios-retro-dex.jar’ ] && [ -f ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex/classes.jar’ ] && [ -f ‘/Users/vagrant/.moe/moe-sdk-1.2.1/sdk/moe-core.dex’ ]
<<<<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>>>>

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

Command: mkdir -p dirname /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm64/image.art && mkdir -p dirname /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm64/application.oat
<<<<<<<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>>>>>>>

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

Command: /Users/vagrant/.moe/moe-sdk-1.2.1/tools/dex2oat --instruction-set=arm64 --base=0x10000000 --compiler-backend=Quick --generate-debug-info --image=/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm64/image.art --image-classes=/Users/vagrant/.moe/moe-sdk-1.2.1/tools/preloaded-classes --oat-file=/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm64/application.oat --dex-file=/Users/vagrant/.moe/moe-sdk-1.2.1/sdk/moe-ios-retro-dex.jar:/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex/classes.jar:/Users/vagrant/.moe/moe-sdk-1.2.1/sdk/moe-core.dex
<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>

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

Remote: /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm64/image.art

Local Root: C:\Users\UserXYZ\Documents\moe_engine\Test\TestIOS\build\moe\main\dex2oat\debug-arm64
Recursive: No

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

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

Remote: /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm64/application.oat

Local Root: C:\Users\UserXYZ\Documents\moe_engine\Test\TestIOS\build\moe\main\dex2oat\debug-arm64
Recursive: No

±- [644] application.oat (19,83 MB/s)
<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>
:TestIOS:moeMainResourcePackager
:TestIOS:moeMainStartupProvider
:TestIOS:moeMainDebugArm64IphoneosXcodeProvider

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

Command: mkdir -p ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos’ && rm -f ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos/arm64.art’ && rm -f ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos/arm64.oat’ && ln -s ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm64/image.art’ ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos/arm64.art’ && ln -s ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm64/application.oat’ ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos/arm64.oat’
<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>
:TestIOS:moeMainDebugArmDex2Oat

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

Local Root: C:\Users\UserXYZ\Documents\moe_engine\Test\TestIOS
Remote: /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f

– build
– moe
– main
– dex
– classes.jar (1,08 MB/s)
<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>

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

Command: [ -f ‘/Users/vagrant/.moe/moe-sdk-1.2.1/sdk/moe-ios-retro-dex.jar’ ] && [ -f ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex/classes.jar’ ] && [ -f ‘/Users/vagrant/.moe/moe-sdk-1.2.1/sdk/moe-core.dex’ ]
<<<<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>>>>

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

Command: mkdir -p dirname /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm/image.art && mkdir -p dirname /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm/application.oat
<<<<<<<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>>>>>>>

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

Command: /Users/vagrant/.moe/moe-sdk-1.2.1/tools/dex2oat --instruction-set=arm --base=0x10000000 --compiler-backend=Quick --generate-debug-info --image=/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm/image.art --image-classes=/Users/vagrant/.moe/moe-sdk-1.2.1/tools/preloaded-classes --oat-file=/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm/application.oat --dex-file=/Users/vagrant/.moe/moe-sdk-1.2.1/sdk/moe-ios-retro-dex.jar:/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex/classes.jar:/Users/vagrant/.moe/moe-sdk-1.2.1/sdk/moe-core.dex
<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>

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

Remote: /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm/image.art

Local Root: C:\Users\UserXYZ\Documents\moe_engine\Test\TestIOS\build\moe\main\dex2oat\debug-arm
Recursive: No

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

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

Remote: /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm/application.oat

Local Root: C:\Users\UserXYZ\Documents\moe_engine\Test\TestIOS\build\moe\main\dex2oat\debug-arm
Recursive: No

±- [644] application.oat (20,64 MB/s)
<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>
:TestIOS:moeMainDebugArmv7IphoneosXcodeProvider

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

Command: mkdir -p ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos’ && rm -f ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos/armv7.art’ && rm -f ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos/armv7.oat’ && ln -s ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm/image.art’ ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos/armv7.art’ && ln -s ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm/application.oat’ ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos/armv7.oat’
<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>
:TestIOS:moeMainDebugArmv7sIphoneosXcodeProvider

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

Command: mkdir -p ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos’ && rm -f ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos/armv7s.art’ && rm -f ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos/armv7s.oat’ && ln -s ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm/image.art’ ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos/armv7s.art’ && ln -s ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/dex2oat/debug-arm/application.oat’ ‘/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.oGlfkF0f/build/moe/main/xcode/Debug-iphoneos/armv7s.oat’
<<<<<<<<<<<<<<<<<<< [REMOTE TASK DONE] >>>>>>>>>>>>>>>>>>>
:TestIOS:moeXcodeProjectGenerator SKIPPED
:TestIOS:moeMainDebugIphoneosXcodeBuildjava.io.FileNotFoundException: C:\Users\UserXYZ\Documents\moe_engine\Test\TestIOS\xcode\Test.xcodeproj\project.pbxproj (Das System kann den angegebenen Pfad nicht finden)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at org.moe.document.pbxproj.nextstep.Parser.(Parser.java:32)
at org.moe.document.pbxproj.nextstep.NextStep.read(NextStep.java:29)
at org.moe.document.pbxproj.ProjFile.(ProjFile.java:83)
at org.moe.gradle.tasks.XcodeBuild.xcodeprojDevelopmentTeamIsSet(XcodeBuild.java:619)
at org.moe.gradle.tasks.XcodeBuild.lambda$setupMoeTask$10(XcodeBuild.java:603)
at org.moe.gradle.tasks.AbstractBaseTask$1.doCall(AbstractBaseTask.java:135)
at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1210)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)
at groovy.lang.Closure.call(Closure.java:426)
at groovy.lang.Closure.call(Closure.java:420)
at org.moe.gradle.tasks.AbstractBaseTask.nullableGetOrConvention(AbstractBaseTask.java:166)
at org.moe.gradle.tasks.XcodeBuild.getDevelopmentTeam(XcodeBuild.java:217)
at org.moe.gradle.tasks.XcodeBuild_Decorated.getDevelopmentTeam(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$PropertyInfo$4.create(AnnotationProcessingTaskFactory.java:457)
at org.gradle.util.SingleMessageLogger.whileDisabled(SingleMessageLogger.java:171)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$PropertyInfo.getValue(AnnotationProcessingTaskFactory.java:455)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$Validator.validate(AnnotationProcessingTaskFactory.java:278)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:41)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:153)
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:150)
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.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
at org.gradle.util.Swapper.swap(Swapper.java:38)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:40)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:237)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem was found with the configuration of task ‘:TestIOS:moeMainDebugIphoneosXcodeBuild’.

Directory ‘C:\Users\UserXYZ\Documents\moe_engine\Test\TestIOS\xcode\Test.xcodeproj’ specified for property ‘xcodeProjectFile’ does not exist.

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

BUILD FAILED

Total time: 56.391 secs

Dear Heinz,

we will check the logs you posted, and get back to you.

Best Regards,
Gergely

Dear Heinz,

I have a few questions:

  • Does the xcodeproj file actually exist where MOE is looking for it
  • In your build settings what values do you have for the following properties:
    moe.xcode.generateProject
    moe.xcode.xcodeProjectDirPath

Dear Kristóf,

First let me thank you for the fast reply!

Neither the xcode directory nor the xcodeproj exists where MOE is looking for.

Here is what you are asking for. This was created by default. I didn’t changed anything. I just followed the tutorial.

// Setup MOE
moe {
xcode.mainTarget = ‘HelloWorld’
xcode.testTarget = ‘HelloWorld-Test’
xcode.packageName = ‘com.company.helloworld’
xcode.launchScreenFilePath = ‘src/main/resources/LaunchScreen.xib’
xcode.bundleID = ‘com.HelloWorld’
xcode.generateProject = false
xcode.xcodeProjectDirPath = ‘xcode’
}

I had to change “xcode.generateProject = false” to “xcode.generateProject = true”. Now it generates an XCode Project and I can build it. It’s just curious, that default was “false” !?

Now it hangs on signing.

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

/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
Build settings from command line:
CONFIGURATION_BUILD_DIR = /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.O2OTL02I/build/moe/xcodebuild/Debug-iphoneos
DSTROOT = /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.O2OTL02I/build/moe/xcodebuild/dst
MOE_GRADLE_EXTERNAL_BUILD = YES
OBJROOT = /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.O2OTL02I/build/moe/xcodebuild/obj
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphoneos10.1
SHARED_PRECOMPS_DIR = /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.O2OTL02I/build/moe/xcodebuild/shared_precomps
SYMROOT = /var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/tmp.O2OTL02I/build/moe/xcodebuild/sym

=== BUILD TARGET HelloWorld OF PROJECT HelloWorld WITH CONFIGURATION Debug ===

Check dependencies
Signing for “HelloWorld” requires a development team. Select a development team in the project editor.
Code signing is required for product type ‘Application’ in SDK ‘iOS 10.1’
Code signing is required for product type ‘Application’ in SDK ‘iOS 10.1’

** BUILD FAILED **

Where can i select a “Select a development team in the project editor.”?

Can i change the default xcode sdk from “SDKROOT = iphoneos10.1” to “SDKROOT = iphoneos10.0” ?

Dear Heinz,

for more on signing, please see Code Signing.

xcode.generateProject = false is default because it “true” is deprecated and will be removed soon.

for more on signing, please see Code Signing.

Thanks for the hint!

xcode.generateProject = false is default because it “true” is deprecated and will be removed soon.

Yes, I’ve read this somewhere, but with “xcode.generateProject = false” it didn’t work. Like you see in the upper log.

Dear Heinz,

if you check, you can see that the Xcode project exists now. Settings xcode.generateProject = false is now possible. xcode.generateProject = false is only possible when the Xcode project already exists, which is usually done in one of two ways:

  • The project is created with an Xcode project
  • xcode.generateProject is set to true to generate a project and then is set to false. (note: in this case by default the Xcode project is generated into the build directory thus the xcode.xcodeProjectDirPath needs to be set)

Thanks.

I only want to mention again, that “xcode.generateProject = false” was automatically set by project creation.

This is the content of a fresh created MOE Module.

// Setup MOE
moe {
xcode.mainTarget = ‘Test’
xcode.testTarget = ‘Test-Test’
xcode.packageName = ‘com.company.test’
xcode.launchScreenFilePath = ‘src/main/resources/LaunchScreen.xib’
xcode.bundleID = ‘com.Test’
xcode.generateProject = false
xcode.xcodeProjectDirPath = ‘xcode’
}

When a module is created, it should be set to “true” instead of “false”. Otherwise people run into the same problem everytime they create a new module and the /xcode/ folder and projectfile is not created.

Thanks. Also signing works now.

Dear Heinz,

could you please describe how you created a project with xcode.generateProject = false and no xcode directory in the module? That should not be possible and is most likely a bug.
Also what version of MOE (in build.gradle), MOE Android Studio plugin (Preferences… > Plugins) and host OS are you using?

Hi Kristóf,

i’m not sure. Maybe it was only the very first time. I tried it again and now it’s initially created.

MOE: moe-sdk-1.2.3
MOE Android Studio plugin: 1.2.1
host-os: Win7 64bit SP1 + lastest patches

cheers