forked from coolstar/Chimera13
-
Notifications
You must be signed in to change notification settings - Fork 75
/
Makefile
19 lines (16 loc) · 872 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BUNDLE := org.coolstar.odyssey
.PHONY: all clean
all: clean
$(MAKE) -C amfidebilitate clean all
cd Odyssey/resources && tar -xf basebinaries.tar
rm -f Odyssey/resources/{amfidebilitate,basebinaries.tar}
cp amfidebilitate/bin/* Odyssey/resources
cd Odyssey/resources && tar -cf basebinaries.tar amfidebilitate jailbreakd jbexec launchjailbreak pspawn_payload-stg2.dylib pspawn_payload.dylib
rm -f Odyssey/resources/{amfidebilitate,jailbreakd,jbexec,launchjailbreak,*.dylib}
xcodebuild clean build CODE_SIGNING_ALLOWED=NO ONLY_ACTIVE_ARCH=NO PRODUCT_BUNDLE_IDENTIFIER="$(BUNDLE)" -sdk iphoneos -scheme Odyssey -configuration Release -derivedDataPath build
ln -sf build/Build/Products/Release-iphoneos Payload
rm -rf Payload/Odyssey.app/Frameworks
zip -r9 Odyssey.ipa Payload/Odyssey.app
clean:
rm -rf build Payload Odyssey.ipa
$(MAKE) -C amfidebilitate clean