Libgdx IOS不工作?

前端之家收集整理的这篇文章主要介绍了Libgdx IOS不工作?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我最近完成了一个用于 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应用程序,它仍然没有工作.

解决方法

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

先决条件:

为了使用RoboVM,需要以下内容

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

我猜这是不行的,因为你有Xcode 5

原文链接:https://www.f2er.com/iOS/336411.html

猜你在找的iOS相关文章