Fastlane for iOS · Deliver | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/1259223-fastlane-for-ios/lessons/33

Hi, I’m having problem with deliver. I’m unable to attach release notes dynamically in lane. I’m using this syntax.

deliver(
      ipa: lane_context[SharedValues::IPA_OUTPUT_PATH],
      release_notes({
        "en-US" => "There are new release notes"
      })
)

It gives me error “Could not find action, lane or variable ‘release_notes’”. I checked in docs and i’m using same name as it available in deliver docs.

Could you please help me to resolve this issue?

It is fixed. I think i’m using wrong format.

deliver(
      ipa: lane_context[SharedValues::IPA_OUTPUT_PATH],
      release_notes: {
        "en-US" => "There are new release notes"
      }
)

It resolves by using this format.

Nice job solving your own problem! It might be helpful to note that the syntax here is similar to Swift (with the obvious syntactical difference in how Swift and Ruby release_note key/value pairs in dicts/hashes). so…

deliver(ipa: val, release_notes: {key => val, key => val})

Hope that helps…