Skip to content

Commit

Permalink
[README] Update build-script to work with Apple Silicon machines
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeehut committed Apr 11, 2022
1 parent 786bd02 commit 1ef790a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ef790a

Please sign in to comment.