ios - Gluon iOS 应用程序交付错误

标签 ios iphone javafxports gluon-mobile

您好,我正在使用应用程序加载器将我的应用程序加载到 TestFlight 中,但我不断收到 3 个错误,我不知道如何处理它们。

Error ITMS-90096 Your binary is not optimised for iPhone 5 - new apps must include support for a 4inch display and must include a launch image with a -568h size modifier. (Paraphrased)

Error ITMS-90475 Invalid Bundle. iPad multitasking support requires a launch story board in bundle.

Error ITMS-90208 Invalid Bundle. The bundle does not support the minimum OS version specified in the info.plist.

我尝试在 plist 中添加最低操作系统版本设置,但它告诉我它是 pkg 或 mpkg 而不是 ipa 文件,即使文件扩展名为 .ipa。我不知道如何修复其他的。

buildscript {
repositories {
    jcenter()
}
dependencies {
    classpath 'org.javafxports:jfxmobile-plugin:1.3.6'
    
}
}

apply plugin: 'org.javafxports.jfxmobile'

repositories {
jcenter()
maven {
    url     'http://nexus.gluonhq.com/nexus/content/repositories/releases'
    
}

}

mainClassName = 'com.nopanicsselfhelper.NoPanicsSelfHelper'

dependencies {
compile 'com.gluonhq:charm:4.3.2'

}

jfxmobile {

downConfig {
    
    version = '3.2.4'
    // Do not edit the line below. Use Gluon Mobile Settings in your project context menu instead
    plugins 'display', 'lifecycle', 'statusbar', 'storage'
}

android {
    signingConfig {
        storeFile file("x")
        storePassword 'x'
        keyAlias 'x'
        keyPassword 'x'
    }        
    applicationPackage = 'com.nopanicsselfhelper.NoPanicsSelfHelper.java'
    manifest = 'src/android/AndroidManifest.xml'
    resDirectory = 'src/android/res'
}
ios {
    
    infoPList = file('src/ios/Default-Info.plist')
    forceLinkClasses = [
            'com.gluonhq.**.*',
            'javax.annotations.**.*',
            'javax.inject.**.*',
            'javax.json.**.*',
            'org.glassfish.json.**.*'
    ]
    iosSignIdentity = "x"
    iosProvisioningProfile = "x"
    arch = "arm64"
    }
}

default-info.plist

最佳答案

通过将 MInimumOSVersion 添加到我的默认值来解决错误 90208 -信息.plist。 - 这不是在 Xcode 项目中可以完成的事情,但我认为从我一直以来所做的事情来看,这在 gluon 项目中是必要的。使用推荐的 LSMinimum 选项或 MaximumSystemVersion 将导致另一个错误。

通过将带有字符串 YES 的 UIRequiresFullScreen 添加到 plist 来要求全屏,解决了错误 90475。

错误 90096 已通过添加回 Gluon 提供的以名称 default 开头的各种必需文件来解决。

关于ios - Gluon iOS 应用程序交付错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45061343/

相关文章:

mobile - Gluon Mobile 信息消息,如 Android Toast

java - 在 NetBeans 中向 JavaFXPorts 项目添加单元测试 - Retrolambda 的问题

ios - Ionic 3 IOS App 不适用于首次启动,但在强制终止并启动后可以运行

ios - videoZoomFactor 不适用于 AVCaptureSession

ios - 如何检查 key 对中的 key 是否可用?

ios - `SecKey` RSA 对象创建失败,错误域代码=-50“从数据创建 RSA 私钥失败 swift-iOS

iphone - 在 iOS 上,如何检测我调用的号码是否占线?

ios - 当我试图让用户创建他们自己的 uicollectionviewcell 时,iOS 模拟器中没有出现任何内容

ios - 如何在ios中制作文字阴影

java - 从 Gluon Charm Down 读取屏幕方向的空指针