robovm / robovm-gradle-plugin

RoboVM Gradle plugin
45 stars 24 forks source link

Launch on simulator fails with Xcode 6 #28

Closed ntherning closed 9 years ago

ntherning commented 9 years ago

Latest snapshots of LibGDX and RoboVM/Gradle Plugin as of 2014-10-04 gives the following output when I ./gradlew launchIPhoneSimulator:

:ios:launchIPhoneSimulator ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in _[j]com.android.okhttp.Address[checkcast] from /Users/crjohns/Documents/workspace/CoreGame/ios/build/robovm/ios/x86/linker.o. To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie Session could not be started: Error Domain=FBSOpenApplicationErrorDomain Code=6 "Unable to run app in Simulator" UserInfo=0x7ff288620b80 {NSUnderlyingError=0x7ff28aa6a710 "The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 6.)", NSLocalizedFailureReason=An error was encountered while running (Domain = FBSOpenApplicationErrorDomain, Code = 6), NSLocalizedDescription=Unable to run app in Simulator}

BUILD SUCCESSFUL```

Is this a known issue, and is there a solution?

muja commented 9 years ago

This didn't solve it for me.