有没有办法让 iOS 13 的新 TestFlight 截图测试版反馈到 Slack 中

Is there a way to get iOS 13's new TestFlight Screenshot beta feedback into Slack

屏幕截图反馈是一项很棒的新功能,可让测试版用户更轻松地报告问题(只需截取屏幕截图)

但是,报告的问题隐藏在 Appstore Connect 中并不是很明显。是否有 API(官方或非官方)以便它们可以自动重新发布到 slack。

无法以编程方式下载这些屏幕截图。如 WWDC session "What's new with App Store Connect" 所示,唯一的方法是通过 web 界面手动下载:https://developer.apple.com/videos/play/wwdc2019/301/

快车道[宇宙飞船]支持下载试飞反馈

有关示例,请参阅 https://github.com/fastlane/fastlane/pull/15793。 下载的反馈还包含屏幕截图 URL.

因此您可以使用 curl:

下载图像
curl https://tf-feedback.itunes.apple.com/bla

截图url格式为:

https://tf-feedback.itunes.apple.com/eimg/A1X/GXs/XoX/XgY/BXs/XxfKXX35jw4/original.jpg?i_for=123&AWSAccessKeyId=topsecret&Expires=1607040000&Signature=topSecretSignature

绝对可以下载。 但要小心: urls 在大约一天后失效 - 因此您应该立即下载图像

通过 fastlane 检索的应用商店连接反馈数据示例:

[21:32:34]: Driving the lane 'connect_feedback'
[21:32:42]:
[21:32:42]:comment: And more feedback
[21:32:42]:name: xxx yyy
[21:32:42]:email: xyz@xxyyx.com
[21:32:42]:build: 32123
[21:32:42]:
[21:32:42]:comment: This is feedback!
[21:32:42]:name: John Doe
[21:32:42]:email: email@email.com
[21:32:42]:build: 321234
[21:32:42]:     url: https://tf-feedback.itunes.apple.com/bla
[21:32:42]:     width: 3024
[21:32:42]:     height: 4032