forked from SerotoninApp/Serotonin
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·18 lines (18 loc) · 806 Bytes
/
Copy pathbuild.sh
File metadata and controls
executable file
·18 lines (18 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
set -e # why wasn't this there earlier – bomberfish
echo "Building IPA"
xcodebuild clean build -sdk iphoneos -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED="NO"
echo "done building"
cd RootHelperSample
ldid -Sentitlements.plist -Cadhoc ../usprebooter/ldid
ldid -Sentitlements.plist -Cadhoc ../usprebooter/fastPathSign
gmake -j$(sysctl -n hw.ncpu)
ldid -Sentitlements.plist -Cadhoc .theos/obj/debug/arm64/trolltoolsroothelper
mv .theos/obj/debug/arm64/trolltoolsroothelper ../build/Release-iphoneos/usprebooter.app/trolltoolsroothelper
cd ../build/Release-iphoneos
rm -rf Payload
rm -rf FUCK.tipa
mkdir Payload
cp -r usprebooter.app Payload
ldid -S../../ent.plist -Cadhoc Payload/usprebooter.app/usprebooter
zip -vr FUCK.tipa Payload/ -x "*.DS_Store"