App Store ConnectではiPhone XS Maxおよび、iPad Pro 3rd Generationのストアスクリーンショットが必須になった。
(いわゆるベゼルレス筐体)
Upcoming App Store Submission Requirements - News - Apple Developer
Starting March 27, 2019, all new apps and app updates for iPhone or iPad, including universal apps, must be built with the iOS 12.1 SDK or later and support iPhone XS Max or the 12.9-inch iPad Pro (3rd generation). Screenshots for these devices will also be required.
ところで、fastlane deliver では、アップロードするストアスクリーンショットの種別判別に、画像の解像度 (resolution) に基づいて、振り分けを行っている。
そして、12.9-inch iPad Pro (2nd generation)と12.9-inch iPad Pro (3rd generation)は、同じ 2,732 x 2,048ピクセル解像度、264ppi
...
勘のいい皆さんはお気づきでしょう、この状態でアップロードすると、2nd generationのトラックに3rdの分で用意したスクリーンショット画像もアップロードされていた。
-> [deliver] Cannot upload iPad 3rd generation screenshots · Issue #14116 · fastlane/fastlane · GitHub
3rd分だけ手でアップロードするしかなかったし、Appleのレビューはユーザーが使用している端末と違う筐体型のデバイスが写っているスクリーンショットを当て込んでいると、metadata rejectしてくる。
本日、12.9-inch iPad Pro (3rd generation)も区別してアップロードできるようになった fastlane 2.121.0
がリリースされた🎉
https://github.com/fastlane/fastlane/releases/tag/2.121.0
さて、どのように実現されているかを見てみる。
https://github.com/fastlane/fastlane/commit/15c80c227bf249e913a8429520496d3e5ad95a69
To solve this issue 3rd generation screenshots must contain
(3rd generation)
part in the name of screenshot. *1
...
......
.........
現場からは以上です。
追記
バグ見つけたけど、これ`deliver download_screenshots`したときにファイル名に(3rd Generation)入らないね 😅
— giginet (@giginet) April 23, 2019
そういえば2.121.1で直ってた
— giginet (@giginet) April 25, 2019
追記2
2.121.1 を使いましょう。
あっ、2.121.1凶悪で、.0と非互換がしれっと入ってるので、使わないでって記事に書いた方が良いかも。記事に書いてある内容も2.121.1で変わってしまった 😭https://t.co/zqKF0H2BVx
— giginet (@giginet) April 25, 2019
スクリーンショットの命名規則が変わって、(3rd Generation)だとうごかなくなった。マジでって感じだが……
— giginet (@giginet) April 25, 2019