mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-08 22:33:26 +01:00
[dSYMs]: updated makefile to define configuration explicitly, renamed xcarhive and retain dSYMs at original location
This commit is contained in:
2
.github/workflows/rebase.yml
vendored
2
.github/workflows/rebase.yml
vendored
@@ -177,7 +177,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: SideStore-${{ steps.version.outputs.version }}-dSYM
|
||||
path: ./*.dSYM/
|
||||
path: ./SideStore.xcarchive/dSYMs/
|
||||
|
||||
- name: Get short commit hash
|
||||
run: |
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -12,7 +12,7 @@ Pods/
|
||||
build/
|
||||
DerivedData
|
||||
|
||||
archive.xcarchive
|
||||
SideStore.xcarchive
|
||||
## Various settings
|
||||
*.pbxuser
|
||||
!default.pbxuser
|
||||
|
||||
20
Makefile
20
Makefile
@@ -178,28 +178,36 @@ print_release_type:
|
||||
@echo ""
|
||||
|
||||
# Build target with the print_commit_id dependency
|
||||
|
||||
# NOTE: The build config was implicitly 'release' since it was set in AltStore.project
|
||||
# under "use "Release" configuration for commandline builds" setting
|
||||
# so I had just defined it explicitly.
|
||||
#
|
||||
# However the scheme used is Debug Scheme, so it was deliberately
|
||||
# using scheme = Debug and config = Release (so I have kept it as-is)
|
||||
build: print_release_type
|
||||
@xcodebuild -workspace AltStore.xcworkspace \
|
||||
-scheme SideStore \
|
||||
-sdk iphoneos \
|
||||
archive -archivePath ./archive \
|
||||
-configuration release \
|
||||
archive -archivePath ./SideStore \
|
||||
CODE_SIGNING_REQUIRED=NO \
|
||||
AD_HOC_CODE_SIGNING_ALLOWED=YES \
|
||||
CODE_SIGNING_ALLOWED=NO \
|
||||
DEVELOPMENT_TEAM=XYZ0123456 \
|
||||
ORG_IDENTIFIER=com.SideStore \
|
||||
DWARF_DSYM_FOLDER_PATH="." \
|
||||
BUILD_REVISION=$(ALPHA_COMMIT_ID)
|
||||
# DWARF_DSYM_FOLDER_PATH="."
|
||||
|
||||
fakesign:
|
||||
rm -rf archive.xcarchive/Products/Applications/SideStore.app/Frameworks/AltStoreCore.framework/Frameworks/
|
||||
ldid -SAltStore/Resources/ReleaseEntitlements.plist archive.xcarchive/Products/Applications/SideStore.app/SideStore
|
||||
ldid -SAltWidget/Resources/ReleaseEntitlements.plist archive.xcarchive/Products/Applications/SideStore.app/PlugIns/AltWidgetExtension.appex/AltWidgetExtension
|
||||
rm -rf SideStore.xcarchive/Products/Applications/SideStore.app/Frameworks/AltStoreCore.framework/Frameworks/
|
||||
ldid -SAltStore/Resources/ReleaseEntitlements.plist SideStore.xcarchive/Products/Applications/SideStore.app/SideStore
|
||||
ldid -SAltWidget/Resources/ReleaseEntitlements.plist SideStore.xcarchive/Products/Applications/SideStore.app/PlugIns/AltWidgetExtension.appex/AltWidgetExtension
|
||||
|
||||
ipa:
|
||||
mkdir Payload
|
||||
mkdir Payload/SideStore.app
|
||||
cp -R archive.xcarchive/Products/Applications/SideStore.app/ Payload/SideStore.app/
|
||||
cp -R SideStore.xcarchive/Products/Applications/SideStore.app/ Payload/SideStore.app/
|
||||
zip -r SideStore.ipa Payload
|
||||
|
||||
# Global Variables
|
||||
|
||||
Reference in New Issue
Block a user