在iOS设备上调试jfxmobile应用程序

时间:2019-05-23 11:33:17

标签: gluon gluon-mobile javafxports

我从一个简单的Gluon Mobile Single View应用程序开始。 在Android和iOS上启动应用程序已经很成功。

在下一步中,我要调试设备上运行的应用程序。在Android上,我已经成功了。

我现在尝试在iOS设备上调试,但是无法禁用调试和定义端口。

我有以下build.gradle文件。

    buildscript {
    repositories {
        jcenter()
        google()
        maven {
            url 'http://nexus.gluonhq.com/nexus/content/repositories/releases'
        }
    }
    dependencies {
        classpath 'org.javafxports:jfxmobile-plugin:2.0.30'
    }
}

apply plugin: 'org.javafxports.jfxmobile'

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

mainClassName = 'com.gk.software.GluonApplication'

sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
    if (JavaVersion.current() == JavaVersion.VERSION_1_9) {
        compile 'com.gluonhq:charm:5.0.0-jdk9'
        androidRuntime 'com.gluonhq:charm:5.0.2'
    } else {
        compile 'com.gluonhq:charm:5.0.2'
    }
}

jfxmobile {
    downConfig {
        version = '3.8.6'
        // Do not edit the line below. Use Gluon Mobile Settings in your project context menu instead
        plugins 'display', 'lifecycle', 'statusbar', 'storage'
    }
    android {
        manifest = 'src/android/AndroidManifest.xml'
    }
    ios {
        infoPList = file('src/ios/Default-Info.plist')
        debug = 'true'
        forceLinkClasses = [
                'com.gluonhq.**.*',
                'javax.annotations.**.*',
                'javax.inject.**.*',
                'javax.json.**.*',
                'org.glassfish.json.**.*'
        ]

    }
}

iOS扩展程序没有属性debug / debugPort。

您知道如何在iOS上调试应用程序吗?

0 个答案:

没有答案
相关问题