Skip to content

Cannot use Multi Value keys #29

@ghost

Description

# to the specified value. Only valid for title items. Raises

Any support for multi-value keys?

Root.plist:

  <dict>

    <key>Type</key>

    <string>PSMultiValueSpecifier</string>

    <key>Title</key>

    <string>Environments</string>

    <key>Key</key>

    <string>app_environment</string>

    <key>Titles</key>

    <array>

      <string>localhost</string>

      <string>prd</string>

    </array>

    <key>Values</key>

    <array>

      <string>localhost</string>

      <string>prd</string>

    </array>

  </dict>

Fastfile:

  lane :change_env_settings do |options|
    update_settings_bundle(
      key: "app_environment",
      value: options[:value]
    )
  end

Error:
[!] preference for key app_environment must be of type title

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions