org.apache.commons.exec.ExecuteException: Command '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -o "/Users/stevof12/Documents/zomd/ios/robovm-build/tmp/iOS Device/ios/x86_64/IOSLauncher" -arch x86_64 "-Wl,-filelist,/Users/stevof12/Documents/zomd/ios/robovm-build/tmp/iOS Device/ios/x86_64/objects0" -L /Users/stevof12/.robovm-sdks/robovm-1.13.0/lib/vm/ios/x86_64 -ObjC -exported_symbols_list "/Users/stevof12/Documents/zomd/ios/robovm-build/tmp/iOS Device/ios/x86_64/exported_symbols" -Wl,-no_implicit_dylibs -Wl,-dead_strip -fPIC -mios-simulator-version-min=6.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -lrobovm-bc -force_load /Users/stevof12/.robovm-sdks/robovm-1.13.0/lib/vm/ios/x86_64/librobovm-rt.a -lrobovm-debug -lrobovm-core -lgc -lpthread -ldl -lm -lz -liconv -lsqlite3 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework CoreGraphics -framework OpenAL -framework AudioToolbox -framework AVFoundation -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libgdx-box2d.a -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libgdx-bullet.a -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libgdx-freetype.a -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libgdx.a -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libObjectAL.a -framework MobileCoreServices -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks' failed (Exit value: 1)

Google Groups | Steven Ferrarese | 10 months ago
  1. 0

    Getting this error "clang: error: linker command failed with exit code 1" in Robovm Studio?

    Google Groups | 10 months ago | Steven Ferrarese
    org.apache.commons.exec.ExecuteException: Command '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -o "/Users/stevof12/Documents/zomd/ios/robovm-build/tmp/iOS Device/ios/x86_64/IOSLauncher" -arch x86_64 "-Wl,-filelist,/Users/stevof12/Documents/zomd/ios/robovm-build/tmp/iOS Device/ios/x86_64/objects0" -L /Users/stevof12/.robovm-sdks/robovm-1.13.0/lib/vm/ios/x86_64 -ObjC -exported_symbols_list "/Users/stevof12/Documents/zomd/ios/robovm-build/tmp/iOS Device/ios/x86_64/exported_symbols" -Wl,-no_implicit_dylibs -Wl,-dead_strip -fPIC -mios-simulator-version-min=6.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -lrobovm-bc -force_load /Users/stevof12/.robovm-sdks/robovm-1.13.0/lib/vm/ios/x86_64/librobovm-rt.a -lrobovm-debug -lrobovm-core -lgc -lpthread -ldl -lm -lz -liconv -lsqlite3 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework CoreGraphics -framework OpenAL -framework AudioToolbox -framework AVFoundation -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libgdx-box2d.a -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libgdx-bullet.a -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libgdx-freetype.a -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libgdx.a -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libObjectAL.a -framework MobileCoreServices -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks' failed (Exit value: 1)
  2. 0

    Couldn't compile app - Undefined symbols for architecture x86_64 (lambda)

    GitHub | 8 months ago | TobiasBuchholz
    org.apache.commons.exec.ExecuteException: Command '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -o /Users/tobiasbuchholz/RoboVMProjects/cars/ios/robovm-build/tmp/iPhone-5s/ios/x86_64/Main -arch x86_64 -Wl,-filelist,/Users/tobiasbuchholz/RoboVMProjects/cars/ios/robovm-build/tmp/iPhone-5s/ios/x86_64/objects0 -L /Users/tobiasbuchholz/.robovm-sdks/robovm-1.14.0/lib/vm/ios/x86_64 -ObjC -exported_symbols_list /Users/tobiasbuchholz/RoboVMProjects/cars/ios/robovm-build/tmp/iPhone-5s/ios/x86_64/exported_symbols -Wl,-no_implicit_dylibs -Wl,-dead_strip -fPIC -mios-simulator-version-min=8.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk -lrobovm-bc -lrobovm-debug -lrobovm-core -lgc -lpthread -ldl -lm -lz -framework Foundation -force_load /Users/tobiasbuchholz/.robovm/cache/ios/x86_64/release/cp/dcb4bf31791a84f9cfb5a8098ab1eaf7.extracted/META-INF/robovm/ios/x86_64/librobovm-rt-android.a -liconv -lsqlite3 -framework MobileCoreServices -framework UIKit -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks' failed (Exit value: 1)
  3. 0

    Undefined symbols for architecture i386

    Google Groups | 8 months ago | David Barrell
    org.apache.commons.exec.ExecuteException: Command '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -o /Users/david/Workspace/tuteme/tuteme-mobile/ios/robovm-build/tmp/iPhone-5/ios/x86/Main -arch i386 -Wl,-filelist,/Users/david/Workspace/tuteme/tuteme-mobile/ios/robovm-build/tmp/iPhone-5/ios/x86/objects0 -L /Users/david/.robovm-sdks/robovm-1.14.0/lib/vm/ios/x86 -ObjC -exported_symbols_list /Users/david/Workspace/tuteme/tuteme-mobile/ios/robovm-build/tmp/iPhone-5/ios/x86/exported_symbols -Wl,-no_implicit_dylibs -Wl,-dead_strip -fPIC -mios-simulator-version-min=8.0 -Wl,-no_pie -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk -lrobovm-bc -lrobovm-debug -lrobovm-core -lgc -lpthread -ldl -lm -lz -framework Foundation -force_load /Users/david/.robovm/cache/ios/x86/release/cp/dcb4bf31791a84f9cfb5a8098ab1eaf7.extracted/META-INF/robovm/ios/x86/librobovm-rt-android.a -liconv -lsqlite3 -framework MobileCoreServices -framework UIKit -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks' failed (Exit value: 1)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 118#223558564

    GitHub | 6 months ago | prakharprakhar89
    org.apache.commons.exec.ExecuteException: Command '"/Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" -o "/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/IOSLauncher" -arch armv7 "-Wl,-filelist,/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/objects0" -L /Users/ibcmobile/.robovm-sdks/robovm-2.1.0/lib/vm/ios/thumbv7 -ObjC -Xlinker -alias_list -Xlinker "/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/aliased_symbols" -exported_symbols_list "/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/exported_symbols" -Wl,-no_implicit_dylibs -Wl,-dead_strip -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-login/1.14.0/1a3cc419790b1abd94c4434cae633fd4e0082322/robopods-facebook-ios-login-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-share/1.14.0/3ebade83088ee749b6d74917b8b24a0b981b3cd4/robopods-facebook-ios-share-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-core/1.14.0/39470ef9e2ca5bc3c712c4d7818e56a6660cf01d/robopods-facebook-ios-core-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-messenger/1.14.0/7d9728a9f8fdf6f3a360aff264b6c6b1bcf7c05e/robopods-facebook-ios-messenger-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-bolts-ios/1.14.0/9af31651b319253310c5d34d265bb92de70ddfe7/robopods-bolts-ios-1.14.0.jar.extracted/META-INF/robovm/ios/libs "-F/Users/ibcmobile/Desktop/Platform Dash/ios/libs" -fPIC -miphoneos-version-min=7.0 -isysroot "/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk" -lrobovm-bc -force_load /Users/ibcmobile/.robovm-sdks/robovm-2.1.0/lib/vm/ios/thumbv7/librobovm-rt.a -lrobovm-debug -lrobovm-core -lgc -lpthread -ldl -lm -lz -liconv -lsqlite3 -framework Foundation -framework FBSDKLoginKit -framework AVFoundation -framework CoreGraphics -framework CoreMedia -framework CoreMotion -framework StoreKit -framework FBSDKShareKit -framework FBSDKCoreKit -framework Bolts -framework AdSupport -framework AudioToolbox -framework CoreTelephony -framework EventKit -framework EventKitUI -framework MediaPlayer -framework MessageUI -framework QuartzCore -framework SystemConfiguration -framework FBSDKMessengerShareKit -framework SafariServices -framework CoreBluetooth -framework CoreData -framework UIKit -framework OpenGLES -framework OpenAL -framework GoogleMobileAds -lz -force_load /Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.9.3/71c84df253d3ffb4f4d73375e8644512ff295e8f/gdx-platform-1.9.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libgdx.a -force_load /Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.9.3/71c84df253d3ffb4f4d73375e8644512ff295e8f/gdx-platform-1.9.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libObjectAL.a -force_load /Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-box2d-platform/1.9.3/9f1d62485440239000f48f1d685246bef5272e21/gdx-box2d-platform-1.9.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libgdx-box2d.a -framework MobileCoreServices -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks' failed (Exit value: 1)
  6. 0

    On adding third party sdk as described in document of Google Mobile Ads, here is error in libgdx

    GitHub | 6 months ago | prakharprakhar89
    org.apache.commons.exec.ExecuteException: Command '"/Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" -o "/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/IOSLauncher" -arch armv7 "-Wl,-filelist,/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/objects0" -L /Users/ibcmobile/.robovm-sdks/robovm-2.1.0/lib/vm/ios/thumbv7 -ObjC -Xlinker -alias_list -Xlinker "/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/aliased_symbols" -exported_symbols_list "/Users/ibcmobile/Desktop/Platform Dash/ios/robovm-build/tmp/Ios/ios/thumbv7/exported_symbols" -Wl,-no_implicit_dylibs -Wl,-dead_strip -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-login/1.14.0/1a3cc419790b1abd94c4434cae633fd4e0082322/robopods-facebook-ios-login-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-share/1.14.0/3ebade83088ee749b6d74917b8b24a0b981b3cd4/robopods-facebook-ios-share-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-core/1.14.0/39470ef9e2ca5bc3c712c4d7818e56a6660cf01d/robopods-facebook-ios-core-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-facebook-ios-messenger/1.14.0/7d9728a9f8fdf6f3a360aff264b6c6b1bcf7c05e/robopods-facebook-ios-messenger-1.14.0.jar.extracted/META-INF/robovm/ios/libs -F/Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/org.robovm/robopods-bolts-ios/1.14.0/9af31651b319253310c5d34d265bb92de70ddfe7/robopods-bolts-ios-1.14.0.jar.extracted/META-INF/robovm/ios/libs "-F/Users/ibcmobile/Desktop/Platform Dash/ios/libs" -fPIC -miphoneos-version-min=7.0 -isysroot "/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk" -lrobovm-bc -force_load /Users/ibcmobile/.robovm-sdks/robovm-2.1.0/lib/vm/ios/thumbv7/librobovm-rt.a -lrobovm-debug -lrobovm-core -lgc -lpthread -ldl -lm -lz -liconv -lsqlite3 -framework Foundation -framework FBSDKLoginKit -framework AVFoundation -framework CoreGraphics -framework CoreMedia -framework CoreMotion -framework StoreKit -framework FBSDKShareKit -framework FBSDKCoreKit -framework Bolts -framework AdSupport -framework AudioToolbox -framework CoreTelephony -framework EventKit -framework EventKitUI -framework MediaPlayer -framework MessageUI -framework QuartzCore -framework SystemConfiguration -framework FBSDKMessengerShareKit -framework UIKit -framework OpenGLES -framework OpenAL -framework GoogleMobileAds -lz -force_load /Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.9.3/71c84df253d3ffb4f4d73375e8644512ff295e8f/gdx-platform-1.9.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libgdx.a -force_load /Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-platform/1.9.3/71c84df253d3ffb4f4d73375e8644512ff295e8f/gdx-platform-1.9.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libObjectAL.a -force_load /Users/ibcmobile/.robovm/cache/ios/thumbv7/release/Users/ibcmobile/.gradle/caches/modules-2/files-2.1/com.badlogicgames.gdx/gdx-box2d-platform/1.9.3/9f1d62485440239000f48f1d685246bef5272e21/gdx-box2d-platform-1.9.3-natives-ios.jar.extracted/META-INF/robovm/ios/libs/libgdx-box2d.a -framework MobileCoreServices -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks' failed (Exit value: 1)

  1. cesarnog 8 times, last 1 month ago
  2. tvrmsmith 1 times, last 6 months ago
  3. Mody 1 times, last 10 months ago
40 unregistered visitors
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.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -o "/Users/stevof12/Documents/zomd/ios/robovm-build/tmp/iOS Device/ios/x86_64/IOSLauncher" -arch x86_64 "-Wl,-filelist,/Users/stevof12/Documents/zomd/ios/robovm-build/tmp/iOS Device/ios/x86_64/objects0" -L /Users/stevof12/.robovm-sdks/robovm-1.13.0/lib/vm/ios/x86_64 -ObjC -exported_symbols_list "/Users/stevof12/Documents/zomd/ios/robovm-build/tmp/iOS Device/ios/x86_64/exported_symbols" -Wl,-no_implicit_dylibs -Wl,-dead_strip -fPIC -mios-simulator-version-min=6.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -lrobovm-bc -force_load /Users/stevof12/.robovm-sdks/robovm-1.13.0/lib/vm/ios/x86_64/librobovm-rt.a -lrobovm-debug -lrobovm-core -lgc -lpthread -ldl -lm -lz -liconv -lsqlite3 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework CoreGraphics -framework OpenAL -framework AudioToolbox -framework AVFoundation -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libgdx-box2d.a -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libgdx-bullet.a -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libgdx-freetype.a -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libgdx.a -force_load /Users/stevof12/Documents/zomd/ios/build/libs/ios/libObjectAL.a -framework MobileCoreServices -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks' 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.build
    1. org.robovm.compiler.util.Executor.exec(Executor.java:348)
    2. org.robovm.compiler.util.ToolchainUtil.link(ToolchainUtil.java:398)
    3. org.robovm.compiler.target.AbstractTarget.doBuild(AbstractTarget.java:272)
    4. org.robovm.compiler.target.ios.AppleDeviceTarget.doBuild(AppleDeviceTarget.java:536)
    5. org.robovm.compiler.target.AbstractTarget.build(AbstractTarget.java:266)
    6. org.robovm.compiler.Linker.link(Linker.java:439)
    7. org.robovm.compiler.AppCompiler.compile(AppCompiler.java:458)
    8. org.robovm.compiler.AppCompiler.build(AppCompiler.java:773)
    8 frames
  4. org.robovm.idea
    RoboVmCompilerThread.run
    1. org.robovm.idea.compilation.RoboVmCompilerThread.doCompile(RoboVmCompilerThread.java:53)
    2. org.robovm.idea.compilation.RoboVmCompilerThread.run(RoboVmCompilerThread.java:59)
    2 frames