Gluon iOS 应用程序交付错误

Gluon iOS Application delivery Errors

您好,我正在使用应用程序加载器将我的应用程序加载到 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 中添加设置最低 OS 版本,但它告诉我它是 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 -info.plist。 - 这不是在 Xcode 项目中可以完成的事情,但我认为从我一直以来所做的事情来看,这在胶子项目中是必要的。使用推荐的 LSMinimum 选项或 MinimumSystemVersion 会导致另一个错误。

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

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