title: How can I use flutter's "--obfuscate" flag with fastlane on iOS
body: <p>I have a fastlane lane that builds the app using <code>gym</code> or <code>build_app</code> but I also want to use <code>flutter build</code>'s <code>--obfuscate</code> flag.</p>
  <pre class="lang-rb prettyprint-override"><code>  desc &quot;Build - Enterprise&quot;
    lane :build_enterprise do |options|
      bundle_id = options[:bundle_id]
  
      sync_certificates_and_provisioning_profiles(
        type: &quot;enterprise&quot;,
        bundle_id: bundle_id,
      )
      cleanup
      gym(
        scheme: get_scheme(bundle_id),
        export_method: &quot;enterprise&quot;,
        clean: true,
        include_bitcode: false,
        include_symbols: true,
        export_options: {
          signingStyle: &quot;manual&quot;,
          provisioningProfiles: generate_enterprise_profiles(bundle_id)
        }
      )
    end
  </code></pre>
  <p>As I understand, I can replace <code>gym</code> with <code>flutter build ios --obfuscate</code> but then how can I make use of other parameters that <code>gym</code> provides. Such as: <code>export_method</code>, <code>export_options</code>, <code>include_bitcode</code>, <code>include_symbols</code>? I have multiple flavors in the app and using these parameters based on debug/release app or staging/production app is quite useful.</p>