org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':ios:launchIOSDevice'.

GitHub | dungnart | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Build iOS failed

    GitHub | 7 months ago | dungnart
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':ios:launchIOSDevice'.
  2. 0

    LibGDX 1.6.0 Black screen on iOS devices.

    GitHub | 2 years ago | voidstarfire
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':ios:launchIPhoneSimulator'.
  3. 0

    Trying to use Parse binding

    Stack Overflow | 2 years ago | Derek Dawson
    org.apache.commons.exec.ExecuteException: Command '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -o "/Users/derekdawson/Developer/libGDX/Gold Digger Joe/ios/robovm-build/tmp/iOS Device/ios/thumbv7/IOSLauncher" -arch armv7 "-Wl,-filelist,/Users/derekdawson/Developer/libGDX/Gold Digger Joe/ios/robovm-build/tmp/iOS Device/ios/thumbv7/objects0" -L /Users/derekdawson/.robovm-sdks/robovm-1.4.1-SNAPSHOT/lib/vm/ios/thumbv7 -ObjC -exported_symbols_list "/Users/derekdawson/Developer/libGDX/Gold Digger Joe/ios/robovm-build/tmp/iOS Device/ios/thumbv7/exported_symbols" -Wl,-no_implicit_dylibs -Wl,-dead_strip "-F/Users/derekdawson/.robovm/cache/ios/thumbv7/release/Users/derekdawson/Developer/libGDX/Gold Digger Joe/ios/libs/parse-1.0.0.jar.extracted/META-INF/robovm/ios/libs" -miphoneos-version-min=5.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -lrobovm-bc -force_load /Users/derekdawson/.robovm-sdks/robovm-1.4.1-SNAPSHOT/lib/vm/ios/thumbv7/librobovm-rt.a -lrobovm-debug -lrobovm-core -lgc -lpthread -ldl -lm -liconv -lsqlite3 -framework Foundation -framework Parse -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework MobileCoreServices -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework OpenGLES -framework OpenAL -framework AVFoundation -force_load /Users/derekdawson/.robovm/cache/ios/thumbv7/release/Users/derekdawson/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.6.2/c9eb66ae356d574c8bc6056c4808b72fbe420c27/gdx-platform-1.6.2-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libgdx.a -force_load /Users/derekdawson/.robovm/cache/ios/thumbv7/release/Users/derekdawson/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.6.2/c9eb66ae356d574c8bc6056c4808b72fbe420c27/gdx-platform-1.6.2-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libObjectAL.a -lz -force_load "/Users/derekdawson/Developer/libGDX/Gold Digger Joe/ios/libs/libadmob.a"' failed (Exit value: 1)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't compile parse binding robovm/libgdx

    Stack Overflow | 2 years ago | Derek Dawson
    org.apache.commons.exec.ExecuteException: Command '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -o /Users/derekdawson/Desktop/Game2/ios/robovm-build/tmp/iOS/ios/thumbv7/IOSLauncher -arch armv7 -Wl,-filelist,/Users/derekdawson/Desktop/Game2/ios/robovm-build/tmp/iOS/ios/thumbv7/objects0 -L /Users/derekdawson/.robovm-sdks/robovm-1.4.0/lib/vm/ios/thumbv7 -ObjC -exported_symbols_list /Users/derekdawson/Desktop/Game2/ios/robovm-build/tmp/iOS/ios/thumbv7/exported_symbols -Wl,-no_implicit_dylibs -Wl,-dead_strip -F/Users/derekdawson/.robovm/cache/ios/thumbv7/release/Users/derekdawson/Desktop/Game2/ios/libs/parse-1.0.0-beta-02.jar.extracted/META-INF/robovm/ios/libs -miphoneos-version-min=5.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -lrobovm-bc -force_load /Users/derekdawson/.robovm-sdks/robovm-1.4.0/lib/vm/ios/thumbv7/librobovm-rt.a -lrobovm-debug -lrobovm-core -lgc -lpthread -ldl -lm -liconv -lsqlite3 -framework Foundation -framework Parse -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework MobileCoreServices -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework OpenGLES -framework OpenAL -framework AVFoundation -force_load /Users/derekdawson/.robovm/cache/ios/thumbv7/release/Users/derekdawson/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-box2d-platform/1.6.3/7ddc8b3ed537367cbbc40bd5dd7c14dcec4782d2/gdx-box2d-platform-1.6.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libgdx-box2d.a -force_load /Users/derekdawson/.robovm/cache/ios/thumbv7/release/Users/derekdawson/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.6.3/3cedee805cf97bcc6ddb662fffb5979bc05a21ff/gdx-platform-1.6.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libgdx.a -force_load /Users/derekdawson/.robovm/cache/ios/thumbv7/release/Users/derekdawson/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.6.3/3cedee805cf97bcc6ddb662fffb5979bc05a21ff/gdx-platform-1.6.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libObjectAL.a -lz' failed (Exit value: 1)
  6. 0

    Linker error: ld: file not found: /..../Project/ios/build/libs/ios/libObjectAL.a

    GitHub | 2 years ago | AgrarPirat
    org.apache.commons.exec.ExecuteException: Command '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -o /Users/usr/Library/Caches/AndroidStudio/tmp/robovm7571209546049977807.tmp/thumbv7/IOSLauncher -arch armv7 -Wl,-filelist,/Users/usr/Library/Caches/AndroidStudio/tmp/robovm7571209546049977807.tmp/thumbv7/objects -L /Users/usr/.robovm-sdks/robovm-1.1.1-SNAPSHOT/lib/vm/ios/thumbv7 -ObjC -exported_symbols_list /Users/usr/Library/Caches/AndroidStudio/tmp/robovm7571209546049977807.tmp/thumbv7/exported_symbols -Wl,-no_implicit_dylibs -Wl,-dead_strip -F/Users/usr/.robovm/cache/ios/thumbv7/release/Users/usr/Workspace/AndroidStudio/MyAwesomeProject/ios/libs/facebook-1.0.0.jar.extracted/META-INF/robovm/ios/libs -miphoneos-version-min=5.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk -lrobovm-bc -force_load /Users/usr/.robovm-sdks/robovm-1.1.1-SNAPSHOT/lib/vm/ios/thumbv7/librobovm-rt.a -lrobovm-core -lgc -lpthread -ldl -lm -liconv -lsqlite3 -framework Foundation -framework Foundation -framework StoreKit -framework CoreData -framework SystemConfiguration -framework FacebookSDK -framework CoreLocation -framework CoreGraphics -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -framework AudioToolbox -framework AVFoundation -force_load /Users/usr/.robovm/cache/ios/thumbv7/release/Users/usr/Workspace/AndroidStudio/MyAwesomeProject/ios/libs/google-analytics-1.0.0.jar.extracted/META-INF/robovm/ios/libs/libgoogleanalytics.a -force_load /Users/usr/Workspace/AndroidStudio/MyAwesomeProject/ios/build/libs/ios/libObjectAL.a -force_load /Users/usr/Workspace/AndroidStudio/MyAwesomeProject/ios/build/libs/ios/libgdx-freetype.a -force_load /Users/usr/Workspace/AndroidStudio/MyAwesomeProject/ios/build/libs/ios/libgdx.a -framework MobileCoreServices' failed (Exit value: 1)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.commons.exec.ExecuteException

    Command '/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -o /Users/dungtran/Desktop/Workspace/Libgdx/ios/build/robovm.tmp/IOSLauncher -arch armv7 -Wl,-filelist,/Users/dungtran/Desktop/Workspace/Libgdx/ios/build/robovm.tmp/objects -L /Users/dungtran/.m2/repository/org/robovm/robovm-dist/1.0.0-beta-03/unpacked/robovm-1.0.0-beta-03/lib/vm/ios/thumbv7 -ObjC -exported_symbols_list /Users/dungtran/Desktop/Workspace/Libgdx/ios/build/robovm.tmp/exported_symbols -Wl,-no_implicit_dylibs -Wl,-dead_strip -miphoneos-version-min=5.0 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk -lrobovm-bc -force_load /Users/dungtran/.m2/repository/org/robovm/robovm-dist/1.0.0-beta-03/unpacked/robovm-1.0.0-beta-03/lib/vm/ios/thumbv7/librobovm-rt.a -lrobovm-debug -lrobovm-core -lgc -lpthread -ldl -lm -liconv -lsqlite3 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework CoreGraphics -framework OpenAL -framework AudioToolbox -framework AVFoundation -force_load /Users/dungtran/.robovm/cache/ios/thumbv7/release/Users/dungtran/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.9.2/77ea547b62ef831b4f15562bc5d0eac38bdad5c7/gdx-platform-1.9.2-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libgdx.a -force_load /Users/dungtran/.robovm/cache/ios/thumbv7/release/Users/dungtran/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.9.2/77ea547b62ef831b4f15562bc5d0eac38bdad5c7/gdx-platform-1.9.2-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libObjectAL.a -force_load /Users/dungtran/Desktop/Workspace/Libgdx/ios/build/libs/ios/libgdx.a -force_load /Users/dungtran/Desktop/Workspace/Libgdx/ios/build/libs/ios/libObjectAL.a' failed (Exit value: 1)

    at org.apache.commons.exec.DefaultExecutor.executeInternal()
  2. Apache Commons Exec
    DefaultExecutor.execute
    1. org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:346)
    2. org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149)
    2 frames
  3. RoboVM Compiler
    AppCompiler.compile
    1. org.robovm.compiler.util.Executor.exec(Executor.java:344)
    2. org.robovm.compiler.util.ToolchainUtil.link(ToolchainUtil.java:191)
    3. org.robovm.compiler.target.AbstractTarget.doBuild(AbstractTarget.java:194)
    4. org.robovm.compiler.target.ios.IOSTarget.doBuild(IOSTarget.java:283)
    5. org.robovm.compiler.target.AbstractTarget.build(AbstractTarget.java:188)
    6. org.robovm.compiler.Linker.link(Linker.java:299)
    7. org.robovm.compiler.AppCompiler.compile(AppCompiler.java:340)
    7 frames
  4. org.robovm.gradle
    IOSDeviceTask.invoke
    1. org.robovm.gradle.tasks.AbstractRoboVMTask.build(AbstractRoboVMTask.java:96)
    2. org.robovm.gradle.tasks.IOSDeviceTask.invoke(IOSDeviceTask.java:40)
    2 frames
  5. org.gradle.internal
    JavaMethod.invoke
    1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
    1 frame
  6. Gradle Core
    DefaultGradleLauncher.run
    1. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:218)
    2. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211)
    3. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200)
    4. org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
    5. org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
    6. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
    7. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
    8. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
    9. org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
    10. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
    11. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
    12. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
    13. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
    14. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
    15. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
    16. org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:306)
    17. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
    18. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
    19. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
    20. org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
    21. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88)
    22. org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29)
    23. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
    24. org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
    25. org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)
    26. org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
    27. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
    28. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)
    29. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
    30. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
    31. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
    31 frames
  7. Gradle Launcher
    ForwardClientInput$2.call
    1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)
    2. org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
    3. org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
    4. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)
    5. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
    6. org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:48)
    7. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    8. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    9. org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
    10. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    11. org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
    12. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    13. org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
    14. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    15. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
    16. org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
    16 frames
  8. Gradle Core
    Swapper.swap
    1. org.gradle.util.Swapper.swap(Swapper.java:38)
    1 frame
  9. Gradle Launcher
    DaemonStateCoordinator$1.run
    1. org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
    2. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    3. org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:47)
    4. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    5. org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
    6. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    7. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    8. org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:71)
    9. org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    10. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    11. org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
    12. org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    13. org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
    14. org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:246)
    14 frames
  10. Gradle Core
    DefaultExecutorFactory$StoppableExecutorImpl$1.run
    1. org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
    1 frame