При заливке в TestFlight Fastlane выдает следующее:
[Transporter Error Output]: ERROR ITMS-90717: "Invalid App Store Icon. The App Store Icon in the asset catalog in 'your_app.app' can't be transparent nor contain an alpha channel." Transporter transfer failed. ERROR ITMS-90717: "Invalid App Store Icon. The App Store Icon in the asset catalog in 'your_app.app' can't be transparent nor contain an alpha channel." [iTMSTransporter] DBG-X: parameter ErrorCode = 1102 [iTMSTransporter] DBG-X: parameter ErrorMessage = ERROR ITMS-90717: "Invalid App Store Icon. The App Store Icon in the asset catalog in 'your_app.app' can't be transparent nor contain an alpha channel. [iTMSTransporter] (1102) [iTMSTransporter] ERROR: ERROR ITMS-90717: "Invalid App Store Icon. The App Store Icon in the asset catalog in 'your_app.app' can't be transparent nor contain an alpha channel." [iTMSTransporter] DBG-X: The error code is: 1102 [iTMSTransporter] INFO: Done performing authentication.
Устанавливаем imagemagick:
brew install imagemagick
Удалим альфа канал с иконок приложения:
find ./ios/your_app/Images.xcassets/AppIcon.appiconset/ -name "*.png" -exec convert "{}" -alpha off "{}" \;
Строка для Jenkins'а с экранированием:
sh "find ./ios/your_app/Images.xcassets/AppIcon.appiconset/ -name \"*.png\" -exec convert \"{}\" -alpha off \"{}\" \\;"