After updating ios sdk to 8.2 I've got following error while building libgdx+robovm game:
Build failed. Check the RoboVM console for more information.
Cannot run program "2015-04-17 15:57:39.188 xcodebuild[22357:d07] [MT] DVTSDK: Warning: SDK path collision for path '<DVTFilePath:0x7f9f39c412b0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk'>': SDK with name 'iphoneos8.2' being superceded by SDK with 'iphoneos8.2'.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++": error=2, No such file or directory
SDKs contents:
drwxr-xr-x 5 root wheel 170 12 mar 11:32 .
drwxr-xr-x 5 root wheel 170 27 lut 01:17 ..
drwxr-xr-x 9 root wheel 306 26 lut 23:30 iPhoneOS.sdk
lrwxr-xr-x 1 root wheel 12 12 mar 11:32 iPhoneOS8.1.sdk -> iPhoneOS.sdk
lrwxr-xr-x 1 root wheel 12 12 mar 08:54 iPhoneOS8.2.sdk -> iPhoneOS.sdk
Libgdx: 1.5.6
Robovm: 1.0.0
How to fix that?
Open up Xcode and make sure you agree to all dialogues that pop up. Also make sure your Xcode command line tools are installed, see https://developer.apple.com/library/ios/technotes/tn2339/_index.html
Finally, libGDX 1.5.6 should be used with RoboVM 1.1, not 1.0, so please update the RoboVM version in your build.gradle and make sure you use the latest RoboVM IDE plugin.
!SESSION 2015-04-22 15:24:06.498 -----------------------------------------------eclipse.buildId=4.3.2.M20140221-1700java.version=1.7.0_45java.vendor=Oracle CorporationBootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=pl_PLFramework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/piotr/.eclipse_keyring -showlocationCommand-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -keyring /Users/piotr/.eclipse_keyring -showlocation
!ENTRY org.eclipse.core.resources 2 10035 2015-04-22 15:24:31.679!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.eclipse.core.net 1 0 2015-04-22 15:24:51.372!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
!ENTRY org.eclipse.jface 2 0 2015-04-22 15:24:58.203!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.!SUBENTRY 1 org.eclipse.jface 2 0 2015-04-22 15:24:58.203!MESSAGE A conflict occurred for ALT+COMMAND+C:Binding(ALT+COMMAND+C, ParameterizedCommand(Command(de.bastiankrol.startexplorer.copyResourcePathToClipboardFromResourceView,Copy Resource Path to Clipboard, Copies the path of the resource to the clipboard, Category(de.bastiankrol.startexplorer.commands.category,StartExplorer,null,true), org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@c69204e, ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system)Binding(ALT+COMMAND+C, ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.modify.method.parameters,Change Method Signature, Change method signature includes parameter names and parameter order, Category(org.eclipse.jdt.ui.category.refactoring,Refactor - Java,Java Refactoring Actions,true), org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@49c7e73f, ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,cocoa,system)
xcodebuild -sdk -version
shows:
2015-04-27 13:38:02.816 xcodebuild[1237:1007] [MT] DVTSDK: Warning: SDK path collision for path '<DVTFilePath:0x7ff9f8c3f580:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk'>': SDK with name 'iphoneos8.2' being superceded by SDK with 'iphoneos8.2'.
MacOSX10.9.sdk - OS X 10.9 (macosx10.9)
SDKVersion: 10.9
Path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
PlatformVersion: 1.1
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
ProductBuildVersion: 13F26
ProductCopyright: 1983-2014 Apple Inc.
ProductName: Mac OS X
ProductUserVisibleVersion: 10.9.5
ProductVersion: 10.9.5
MacOSX10.10.sdk - OS X 10.10 (macosx10.10)
SDKVersion: 10.10
Path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
PlatformVersion: 1.1
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
ProductBuildVersion: 14A383
ProductCopyright: 1983-2014 Apple Inc.
ProductName: Mac OS X
ProductUserVisibleVersion: 10.10
ProductVersion: 10.10
iPhoneOS8.1.sdk - iOS 8.2 (iphoneos8.2)
SDKVersion: 8.2
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk
PlatformVersion: 8.2
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
ProductBuildVersion: 12D508
ProductCopyright: 1983-2015 Apple Inc.
ProductName: iPhone OS
ProductVersion: 8.2
iPhoneSimulator8.2.sdk - Simulator - iOS 8.2 (iphonesimulator8.2)
SDKVersion: 8.2
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.2.sdk
PlatformVersion: 8.2
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
ProductBuildVersion: 12D508
ProductCopyright: 1983-2015 Apple Inc.
ProductName: iPhone OS
ProductVersion: 8.2
Xcode 6.2
Build version 6C131e
It's the same warning as robovm console displayed.
Do you use sdk 8.2 or 8.3? Mavericks or Yosemite?
Build failed. Check the RoboVM console for more information.
Cannot run program "2015-04-27 14:41:04.005 xcodebuild[1669:d07] [MT] DVTSDK: Warning: SDK path collision for path '<DVTFilePath:0x7f80d0605ad0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk'>': SDK with name 'iphoneos8.2' being superceded by SDK with 'iphoneos8.2'.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++": error=2, No such file or directory
ls -la /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin | grep clang++
lrwxr-xr-x 1 root wheel 7 12 mar 08:56 c++ -> clang++
lrwxr-xr-x 1 root wheel 5 12 mar 08:56 clang++ -> clang
badlogic@Marios-MacBook-Pro:~/workspaces/robovm/robovm-debug$ xcodebuild -sdk -version
MacOSX10.9.sdk - OS X 10.9 (macosx10.9)
SDKVersion: 10.9
Path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
PlatformVersion: 1.1
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
ProductBuildVersion: 13F34
ProductCopyright: 1983-2014 Apple Inc.
ProductName: Mac OS X
ProductUserVisibleVersion: 10.9.5
ProductVersion: 10.9.5
MacOSX10.10.sdk - OS X 10.10 (macosx10.10)
SDKVersion: 10.10
Path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
PlatformVersion: 1.1
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
ProductBuildVersion: 14D125
ProductCopyright: 1983-2015 Apple Inc.
ProductName: Mac OS X
ProductUserVisibleVersion: 10.10.3
ProductVersion: 10.10.3
iPhoneOS8.3.sdk - iOS 8.3 (iphoneos8.3)
SDKVersion: 8.3
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk
PlatformVersion: 8.3
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
ProductBuildVersion: 12F69
ProductCopyright: 1983-2015 Apple Inc.
ProductName: iPhone OS
ProductVersion: 8.3
iPhoneSimulator8.3.sdk - Simulator - iOS 8.3 (iphonesimulator8.3)
SDKVersion: 8.3
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk
PlatformVersion: 8.3
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
ProductBuildVersion: 12F69
ProductCopyright: 1983-2015 Apple Inc.
ProductName: iPhone OS
ProductVersion: 8.3
Xcode 6.3.1
Build version 6D1002
29.04.15 08:29:14: [DEBUG] Looking up developer disk image for iOS version 8.3 (12F70) in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
29.04.15 08:29:14: [ERROR] AppLauncher failed with an exception:
29.04.15 08:29:15: [ERROR] java.io.FileNotFoundException: No DeveloperDiskImage.dmg found in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport for iOS version 8.3 (12F70)
29.04.15 08:29:15: [ERROR] at org.robovm.libimobiledevice.util.AppLauncher.findDeveloperImage(AppLauncher.java:616)
29.04.15 08:29:15: [ERROR] at org.robovm.libimobiledevice.util.AppLauncher.mountDeveloperImage(AppLauncher.java:647)
29.04.15 08:29:15: [ERROR] at org.robovm.libimobiledevice.util.AppLauncher.launchInternal(AppLauncher.java:699)
29.04.15 08:29:15: [ERROR] at org.robovm.libimobiledevice.util.AppLauncher.launch(AppLauncher.java:1052)
29.04.15 08:29:15: [ERROR] at org.robovm.compiler.target.ios.AppLauncherProcess$1.run(AppLauncherProcess.java:67)