From 1ef790a52b8f40bade22fd54b0dca9c825634eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20G=C3=BCnd=C3=BCz?= Date: Mon, 11 Apr 2022 19:31:03 +0200 Subject: [PATCH] [README] Update build-script to work with Apple Silicon machines --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 40f5d31..b324ef3 100644 --- a/README.md +++ b/README.md @@ -355,6 +355,8 @@ NOTE: As of version 4.x of BartyCrouch *formatted* localized Strings are not sup In order to truly profit from BartyCrouch's ability to update & lint your `.strings` files you can make it a natural part of your development workflow within Xcode. In order to do this select your target, choose the `Build Phases` tab and click the + button on the top left corner of that pane. Select `New Run Script Phase` and copy the following into the text box below the `Shell: /bin/sh` of your new run script phase: ```shell +export PATH="$PATH:/opt/homebrew/bin" + if which bartycrouch > /dev/null; then bartycrouch update -x bartycrouch lint -x