【问题标题】:Error when building for IOS为 IOS 构建时出错
【发布时间】:2014-06-28 01:35:33
【问题描述】:

在为 ios 构建时遇到以下错误

ld: file too small (length=0) file '/Users/………./.robovm/cache/ios/x86/default/Users/    ……/.m2/repository/org/robovm/robovm-dist/0.0.13/unpacked/robovm-0.0.13/lib/robovm-   rt.jar/java/nio/PipeImpl$PipeSinkChannel.class.o' for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
:ios:launchIPhoneSimulator FAILED
FAILURE: Build failed with an exception.

有什么想法吗?桌面配置正在运行。 JDK是1.7+

我已经为 libgdx 安装了最新的 gradle 设置

谢谢

【问题讨论】:

    标签: libgdx robovm


    【解决方案1】:

    在此处查看解决方案:https://github.com/robovm/robovm/issues/238

    您需要从缓存中删除零长度类并再次运行构建。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-01-10
      • 2021-02-09
      • 2017-10-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多