简体   繁体   English

Libgdx和RoboVM到应用程序商店

[英]Libgdx & RoboVM to app store

I can compile and run my game using LibGDX 0.9.9 and RoboVM 0.0.7 我可以使用LibGDX 0.9.9和RoboVM 0.0.7编译和运行我的游戏

I have been able to build an ipa for app store submission. 我已经能够为应用程序商店提交构建ipa Uploading my app with Application Loader, I get an error saying: This bundle is invalid. Apple is currently not accepting applications built with this version of Xcode. 使用Application Loader上传我的应用程序,我收到一条错误消息: This bundle is invalid. Apple is currently not accepting applications built with this version of Xcode. This bundle is invalid. Apple is currently not accepting applications built with this version of Xcode.

Adding 添加

<key>DTXcode</key>
<string>0502</string>

<key>DTXcodeBuild</key>
<string>5A3005</string>

to my info.plist, I get the same app store submission error. 到我的info.plist,我得到相同的应用商店提交错误。

I have tried compiling my project with every combination of the following libraries 我尝试使用以下库的每个组合编译我的项目

LibGDX 0.9.9
LibGDX Nightly - 02/13/14

RoboVM 0.0.8
RoboVM 0.0.9
RoboVM 0.0.10-SNAPSHOT

With any version of RoboVM greater than 0.0.7, I get the following error: 任何版本的RoboVM都大于0.0.7,我收到以下错误:

java.lang.IllegalArgumentException: No @Marshaler found for parameter 1 of @Callback method <com.badlogic.gdx.backends.iosrobovm.objectal.AVAudioPlayerDelegate$Callbacks: void didFinishPlaying(com.badlogic.gdx.backends.iosrobovm.objectal.AVAudioPlayerDelegate,org.robovm.objc.Selector,org.robovm.cocoatouch.foundation.NSObject,boolean)>
    at org.robovm.compiler.MarshalerLookup.findMarshalerMethod(MarshalerLookup.java:167)
    at org.robovm.compiler.BroMethodCompiler.getParameterType(BroMethodCompiler.java:492)
    at org.robovm.compiler.BroMethodCompiler.getBridgeOrCallbackFunctionType(BroMethodCompiler.java:513)
    at org.robovm.compiler.BroMethodCompiler.getCallbackFunctionType(BroMethodCompiler.java:505)
    at org.robovm.compiler.CallbackMethodCompiler.callback(CallbackMethodCompiler.java:78)
    at org.robovm.compiler.CallbackMethodCompiler.compileCallback(CallbackMethodCompiler.java:107)
    at org.robovm.compiler.CallbackMethodCompiler.doCompile(CallbackMethodCompiler.java:74)
    at org.robovm.compiler.AbstractMethodCompiler.compile(AbstractMethodCompiler.java:74)
    at org.robovm.compiler.ClassCompiler.callbackMethod(ClassCompiler.java:1070)
    at org.robovm.compiler.ClassCompiler.compile(ClassCompiler.java:566)
    at org.robovm.compiler.ClassCompiler.compile(ClassCompiler.java:283)
    at org.robovm.compiler.AppCompiler.compile(AppCompiler.java:198)
    at org.robovm.compiler.AppCompiler.compile(AppCompiler.java:216)
    at org.robovm.compiler.AppCompiler.main(AppCompiler.java:438)

I'm at a loss. 我不知所措。 I just want to submit my app to the Apple App Store. 我只想将我的应用程序提交到Apple App Store。 RoboVM 0.0.7 doesn't seem to work and I can't compile my project with any newer version of RoboVM. RoboVM 0.0.7似乎不起作用,我无法使用任何较新版本的RoboVM编译我的项目。 Let me know if you need any more information. 如果您需要更多信息,请与我们联系。

How can I submit my app using RoboVM 0.0.7 (emulate Xcode 5.2)? 如何使用RoboVM 0.0.7(模拟Xcode 5.2)提交我的应用程序?

or 要么

How can I fix my error and compile with >0.0.7? 如何修复错误并使用> 0.0.7进行编译?

The bundle is invalid problem was fixed in RoboVM 0.0.9 so you must use at least that version. bundle is invalid问题已在RoboVM 0.0.9中修复,因此您必须至少使用该版本。 The cause of the No @Marshaler found error is probably because you have an old version of robovm-cocoatouch.jar in your classpath somewhere. No @Marshaler found错误的原因可能是因为你的类路径中有一个旧版本的robovm-cocoatouch.jar Make sure you only have jars from RoboVM 0.0.9 in your Eclipse classpath. 确保您的Eclipse类路径中只有来自RoboVM 0.0.9的jar。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM