Skip to content

Commit ff3aa3b

Browse files
committed
Run prebuild scripts on iOS
1 parent 977b042 commit ff3aa3b

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

ios/deploy_ios.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ set -eu -o pipefail
44
## Builds an ipa file for iOS. Should be run from the repo-root
55

66
# Create Xcode file and build
7-
qmake -spec macx-xcode Jamulus.pro
8-
/usr/bin/xcodebuild -project Jamulus.xcodeproj -scheme Jamulus -configuration Release clean archive -archivePath "build/Jamulus.xcarchive" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO CODE_SIGN_ENTITLEMENTS=""
7+
qmake Jamulus.pro -spec macx-xcode
8+
9+
echo "Running preparation scripts..."
10+
make -f Jamulus.xcodeproj/qt_makeqmake.mak
11+
make -f Jamulus.xcodeproj/qt_preprocess.mak
12+
13+
/usr/bin/xcodebuild -destination generic/platform=iOS -project Jamulus.xcodeproj -scheme Jamulus -configuration Release clean archive -archivePath "build/Jamulus.xcarchive" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO CODE_SIGN_ENTITLEMENTS=""
914

1015
# Generate ipa by copying the .app file from the xcarchive directory
1116
mkdir build/Payload
@@ -15,4 +20,4 @@ zip -0 -y -r Jamulus.ipa Payload/
1520

1621
# Make a deploy folder and copy file
1722
mkdir ../deploy
18-
mv Jamulus.ipa ../deploy
23+
mv Jamulus.ipa ../deploy

0 commit comments

Comments
 (0)