Merge pull request #285 from horizontalsystems/fix-build-for-apple-m1

Fix build for Apple Silicon (M1)
This commit is contained in:
Francisco Gindre 2021-05-26 16:24:31 -03:00 committed by GitHub
commit 764f943305
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
#!/bin/sh
if [[ "$(uname -m)" == "arm64" ]]; then
export PATH="/opt/homebrew/bin:${PATH}"
fi
SCRIPT_COMMONS="${PODS_TARGET_SRCROOT}/Scripts/script_commons.sh"
if [ -f $SCRIPT_COMMONS ]; then
source $SCRIPT_COMMONS