Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Updated the build ipa command
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinAlavik committed Mar 10, 2023
1 parent 3a72359 commit f6040a6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions app/build.command
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ set -e
cd "$(dirname "$0")"

WORKING_LOCATION="$(pwd)"
APPLICATION_NAME=app
PROJ_NAME=app
APPLICATION_NAME=Scylla
CONFIGURATION=Debug


if [ ! -d "build" ]; then
mkdir build
fi
Expand All @@ -17,16 +19,16 @@ rm $APPLICATION_NAME.ipa
fi

# Build .app
xcodebuild -project "$WORKING_LOCATION/$APPLICATION_NAME.xcodeproj" \
-scheme $APPLICATION_NAME \
xcodebuild -project "$WORKING_LOCATION/$PROJ_NAME.xcodeproj" \
-scheme $PROJ_NAME \
-configuration Debug \
-derivedDataPath "$WORKING_LOCATION/build/DerivedData" \
-destination 'generic/platform=iOS' \
ONLY_ACTIVE_ARCH="NO" \
CODE_SIGNING_ALLOWED="NO" \

DD_APP_PATH="$WORKING_LOCATION/build/DerivedData/Build/Products/$CONFIGURATION-iphoneos/$APPLICATION_NAME.app"
TARGET_APP="$WORKING_LOCATION/build/$APPLICATION_NAME.app"
DD_APP_PATH="$WORKING_LOCATION/build/DerivedData/Build/Products/$CONFIGURATION-iphoneos/$PROJ_NAME.app"
TARGET_APP="$WORKING_LOCATION/build/$PROJ_NAME.app"
cp -r "$DD_APP_PATH" "$TARGET_APP"

# Remove signature
Expand Down

0 comments on commit f6040a6

Please sign in to comment.