From 82269c0409ad6a1eb7a0279896cb34ed5dc17122 Mon Sep 17 00:00:00 2001 From: CMK Date: Tue, 29 Mar 2022 09:10:39 +0800 Subject: [PATCH] chore: fix typo --- Documentation/Snapshot.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/Snapshot.md b/Documentation/Snapshot.md index 10fececc..7140f7a0 100644 --- a/Documentation/Snapshot.md +++ b/Documentation/Snapshot.md @@ -11,7 +11,7 @@ brew install chargepoint/xcparse/xcparse ## How it works We use `xcodebuild` CLI tool to trigger UITest. -Set the `name` in `-destinatio` option to add device for snapshot. For example: +Set the `name` in `-destination` option to add device for snapshot. For example: `-destination 'platform=iOS Simulator,name=iPad Pro (12.9-inch) (5th generation)' \` You can list the avaiable simulator: @@ -128,6 +128,7 @@ xcparse screenshots '' ~/Downloads/MastodonBuild/Screenshots/ 🎊 Export complete! 🎊 # group +cd ~/Downloads/MastodonBuild/Screenshots/ mkdir 'iPhone 8 Plus' 'iPhone 13 Pro Max' 'iPad Pro (12.9-inch) (5th generation)' find . -name "*iPad*" -type file -print0 | xargs -0 -I {} mv {} './iPad Pro (12.9-inch) (5th generation)' find . -name "*iPhone 8*" -type file -print0 | xargs -0 -I {} mv {} './iPhone 8 Plus'