Skip to content

set_pod_key

Community Action Reference: Inspected directly from Fastlane core ruby gem definitions.

Supported Platforms: ios, mac

Sets a value for a key with cocoapods-keys

Details

Adds a key to cocoapods-keys

Parameters & Options

Total options available: 4

Key Type Env Variable Default Required Description
use_bundle_exec Fastlane::Boolean FL_SET_POD_KEY_USE_BUNDLE_EXEC true Yes Use bundle exec when there is a Gemfile presented
key String FL_SET_POD_KEY_ITEM_KEY - Yes The key to be saved with cocoapods-keys
value String FL_SET_POD_KEY_ITEM_VALUE - Yes The value to be saved with cocoapods-keys
project String FL_SET_POD_KEY_PROJECT - No The project name

Examples

set_pod_key(
key: "APIToken",
value: "1234",
project: "MyProject"
)

Source & Upstream