Cordova Build.json中的多个构建定义

时间:2018-12-22 14:50:16

标签: ios cordova

在Cordova build.json文件中是否可以有多个类似下面的构建定义?我看到大多数示例只有“ debug”和“ release”选项。我们想基于具有不同APP ID的不同测试环境生成IPA文件。

  {
      "ios": {
        "debug": {
          "codeSignIdentity": "iPhone Distribution",
          "provisioningProfile": "12367474-f77346-f54656-gfgfg-cffsfsff",
          "developmentTeam": "ABCDEFGHIJK",
          "packageType": "app-store"
        },
        "Alpha": {
          "codeSignIdentity": "iPhone Distribution",
          "provisioningProfile": "45667474-f77346-f54656-gfgfg-cffsfsff",
          "developmentTeam": "ABCDEFGHIJK",
          "packageType": "app-store"
        },
        "Beta": {
          "codeSignIdentity": "iPhone Distribution",
          "provisioningProfile": "78967474-f77346-f54656-gfgfg-cffsfsff",
          "developmentTeam": "ABCDEFGHIJK",
          "packageType": "app-store"
        }
      }

0 个答案:

没有答案