Установить только одну цель с помощью настроек ProvisionProfiles - не работает - PullRequest
0 голосов
/ 06 февраля 2020

У меня две цели в проекте. Я хочу сделать сборку только для одной цели - "com.ar.blu" => "BLU (Distribution)". Я установил в Fastfile

gym(
  scheme: ENV["SCHEME"],
  clean: true,
  output_directory: "build",
  export_options: {
    method: 'app-store',
    skip_profile_detection: true,
    signingStyle: "manual",
    provisioningProfiles: {
    "com.ar.blu" => "BLU (Distribution)"
    }

  }
)

Но во время сборки я вижу, что

[17:13:15]: $ xcodebuild -showBuildSettings -workspace ./BLU.xcworkspace -scheme BLUairspace
 [17:13:18]: Detected provisioning profile mapping: {:"com.ar.blu"=>"BLU (Distribution)", :"com.ar.rethin"=>"Minolta (Distribution)"}
 +-----------------------------------------------------------+-------------------------------------------------------+
 |                                              Summary for gym 2.141.0                                              |
 +-----------------------------------------------------------+-------------------------------------------------------+
 | scheme                                                    | BLUairspace                                           |
 | clean                                                     | true                                                  |
 | output_directory                                          | build                                                 |
 | export_options.method                                     | app-store                                             |
 | export_options.provisioningProfiles.com.ar.blu     | BLU (Distribution)                             |
 | export_options.provisioningProfiles.com.ar.rethin | Minolta (Distribution)                         |
 | workspace                                                 | ./BLU.xcworkspace                             |

и

*[17:14:52]: Generated plist file with the following values:
 [17:14:52]: ▸ -----------------------------------------
 [17:14:52]: ▸ {
 [17:14:52]: ▸   "method": "app-store",
 [17:14:52]: ▸   "provisioningProfiles": {
 [17:14:52]: ▸     "com.ar.realityblu": "BLU (Distribution)",
 [17:14:52]: ▸     "com.ar.rethinkreality": "Minolta (Distribution)"
 [17:14:52]: ▸   },
 [17:14:52]: ▸   "signingStyle": "manual"
 [17:14:52]: ▸ }
 [17:14:52]: ▸ -----------------------------------------*

Почему это происходит, если я устанавливаю профиль прямого предоставления?

...