我最近完成了一个用于 android 的 libgdx 应用程序,我目前正在尝试将它移植到 ios。我安装了 eclipse kepler,上面有 robovm 插件。我的 Mac 也在运行 osx 小牛。现在解决实际问题 - 每当我尝试将我的应用程序作为 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 应用程序运行它,但它仍然无法正常工作。