Reputation: 16159
In Xcode 11, I created a xctestplan for exporting localized screenshots, but I can't select "Include screenshots" option. Like this image, the warning message is "Screenshot for localization issue."
If I check the report of the UI test, then I can see the screenshots files are there, and I can save them.
If I export it, in the "Notes" folder no screenshots, any help?
In the configurations of xctestplan, I set
Automatic Screenshots
-> On, and keep all
, Localization Screenshots
-> On
Upvotes: 2
Views: 744
Reputation: 19
I had a similar issue. Spoke to an engineer at WWDC20. In the xctestplan, it turns out that if you don't set the Application Region from System Region to a specific region for the different variants, the files generated end up missing information. Then a quick deletion of the app's folder in DerivedData fixed the issue.
Upvotes: 1