mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-08 22:33:26 +01:00
[Makefile]: use debug config since breakpoints are not resolving
This commit is contained in:
12
Makefile
12
Makefile
@@ -185,11 +185,13 @@ print_release_type:
|
|||||||
#
|
#
|
||||||
# However the scheme used is Debug Scheme, so it was deliberately
|
# However the scheme used is Debug Scheme, so it was deliberately
|
||||||
# using scheme = Debug and config = Release (so I have kept it as-is)
|
# using scheme = Debug and config = Release (so I have kept it as-is)
|
||||||
|
BUILD_CONFIG := "Debug" # switched to debug build-config to diagnose issue since debugger won't resolve breakpoints in release
|
||||||
|
# BUILD_CONFIG := "Release"
|
||||||
build: print_release_type
|
build: print_release_type
|
||||||
@xcodebuild -workspace AltStore.xcworkspace \
|
@xcodebuild -workspace AltStore.xcworkspace \
|
||||||
-scheme SideStore \
|
-scheme SideStore \
|
||||||
-sdk iphoneos \
|
-sdk iphoneos \
|
||||||
-configuration release \
|
-configuration $(BUILD_CONFIG) \
|
||||||
archive -archivePath ./SideStore \
|
archive -archivePath ./SideStore \
|
||||||
CODE_SIGNING_REQUIRED=NO \
|
CODE_SIGNING_REQUIRED=NO \
|
||||||
AD_HOC_CODE_SIGNING_ALLOWED=YES \
|
AD_HOC_CODE_SIGNING_ALLOWED=YES \
|
||||||
@@ -212,10 +214,10 @@ fakesign:
|
|||||||
rm -rf SideStore.xcarchive/Products/Applications/SideStore.app/Payload
|
rm -rf SideStore.xcarchive/Products/Applications/SideStore.app/Payload
|
||||||
|
|
||||||
ipa:
|
ipa:
|
||||||
mkdir Payload
|
mkdir -p Payload/SideStore.app
|
||||||
mkdir Payload/SideStore.app
|
|
||||||
cp -R SideStore.xcarchive/Products/Applications/SideStore.app/ Payload/SideStore.app/
|
cp -R SideStore.xcarchive/Products/Applications/SideStore.app/ Payload/SideStore.app/
|
||||||
zip -r SideStore.ipa Payload
|
zip -r SideStore.ipa Payload
|
||||||
|
rm -rf Payload*/
|
||||||
|
|
||||||
# Global Variables
|
# Global Variables
|
||||||
|
|
||||||
@@ -319,4 +321,6 @@ ipa-altbackup: checkPaths copy-altbackup
|
|||||||
clean:
|
clean:
|
||||||
@rm -rf *.xcarchive/
|
@rm -rf *.xcarchive/
|
||||||
@rm -rf *.dSYM/
|
@rm -rf *.dSYM/
|
||||||
@rm -rf build/
|
@rm -rf *.ipa/
|
||||||
|
@rm -rf build/
|
||||||
|
@rm -rf Payload/
|
||||||
|
|||||||
Reference in New Issue
Block a user