Libgdx IOS不工作?

时间:2014-03-29 02:07:29

标签: ios eclipse xcode libgdx robovm

我最近完成了为android创建一个libgdx应用程序,我目前正在尝试将其移植到ios。我安装了eclipse kepler,其上面有robovm插件。我的mac也在运行osx mavericks。现在针对实际问题 - 每当我尝试将我的应用程序作为iOS项目运行时,它就会出现错误。这是控制台中出现的内容 -

3/28/14 8:54:34 PM: [ERROR] ld: framework not found UIKit
3/28/14 8:54:34 PM: [ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)
3/28/14 8:54:35 PM: [ERROR] Build failed

这就是我在错误细节中得到的结果 -

Build failed. Check the RoboVM console for more information.

命令:

clang++ -o "/Users/akudva/workspace/.metadata/.plugins/org.robovm.eclipse.ui/build/BulletTest-robovm/RobovmLauncher (2)/macosx/x86/com.ashwin.BulletTest.RobovmLauncher/BulletTest" -g -arch i386 "-Wl,-filelist,/Users/akudva/workspace/.metadata/.plugins/org.robovm.eclipse.ui/build/BulletTest-robovm/RobovmLauncher (2)/macosx/x86/com.ashwin.BulletTest.RobovmLauncher/objects" -L /Users/akudva/workspace/.metadata/.plugins/org.robovm.eclipse.ui/robovm-0.0.10/lib/vm/macosx/x86 -ObjC -exported_symbols_list "/Users/akudva/workspace/.metadata/.plugins/org.robovm.eclipse.ui/build/BulletTest-robovm/RobovmLauncher (2)/macosx/x86/com.ashwin.BulletTest.RobovmLauncher/exported_symbols" -Wl,-no_implicit_dylibs -Wl,-dead_strip -mmacosx-version-min=10.6 -lrobovm-bc -force_load /Users/akudva/workspace/.metadata/.plugins/org.robovm.eclipse.ui/robovm-0.0.10/lib/vm/macosx/x86/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/akudva/Desktop/Eclipse Libgdx Mac Projects/BulletTestProject/BulletTest-robovm/libs/ios/libgdx.a" -force_load "/Users/akudva/Desktop/Eclipse Libgdx Mac Projects/BulletTestProject/BulletTest-robovm/libs/ios/libObjectAL.a" failed (Exit value: 1)

有什么想法吗?我真的可以在这里使用一些帮助,因为我甚至尝试使用默认的libgdx应用程序来运行它,但它仍然没有用。

1 个答案:

答案 0 :(得分:1)

我不熟悉RoboVM,但看着他们所说的docs

先决条件:

要使用RoboVM,需要以下内容:

  • 运行Mac OS X 10.9或更高版本的Mac
  • Oracle的Java SE JDK 7或更高版本
  • Mac App Store中的Xcode 6.x

我猜它不起作用,因为你有Xcode 5