title: How to modify iOS App Icon with fastlane action?
body: <p><a href="https://i.stack.imgur.com/9oa9K.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9oa9K.jpg" alt="enter image description here"></a></p>
  
  <p>I use the Fastlane action to upload the app to TestFlight, and I want to modify the app icon. In Xcode, this "Asset Catalog App Icon Set Name" option in the Build Settings of Targets can modify the app icon, but I can't find the action of Fastlane to modify the app icon, and I used the two actions of badge and app_icon below but it didn't work.</p>
  
  <p>the Fastlane file as below:</p>
  
  <pre><code>lane :beta do |values|
  badge(custom: './Assets.xcassets/AppIconBeta.appiconset/IconBeta-1024.png')
  #badge(path: './Assets.xcassets/AppIconBeta.appiconset/IconBeta-1024.png')
  #app_icon('./Assets.xcassets/AppIconBeta.appiconset/IconBeta-1024.png')
  
  match(type: 'appstore',readonly: false,app_identifier:'com.health-beta',force_for_new_devices: false,force: true)
  gym(scheme: 'Health - PROD', export_method: 'app-store')
  pilot
  end
  </code></pre>