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
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: SideStore-${{ steps.version.outputs.version }}-dSYM
|
name: SideStore-${{ steps.version.outputs.version }}-dSYM
|
||||||
path: ./*.dSYM/
|
path: ./SideStore.xcarchive/dSYMs/
|
||||||
|
|
||||||
- name: Get short commit hash
|
- name: Get short commit hash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -12,7 +12,7 @@ Pods/
|
|||||||
build/
|
build/
|
||||||
DerivedData
|
DerivedData
|
||||||
|
|
||||||
archive.xcarchive
|
SideStore.xcarchive
|
||||||
## Various settings
|
## Various settings
|
||||||
*.pbxuser
|
*.pbxuser
|
||||||
!default.pbxuser
|
!default.pbxuser
|
||||||
|
|||||||
20
Makefile
20
Makefile
@@ -178,28 +178,36 @@ print_release_type:
|
|||||||
@echo ""
|
@echo ""
|
||||||
|
|
||||||
# Build target with the print_commit_id dependency
|
# 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
|
build: print_release_type
|
||||||
@xcodebuild -workspace AltStore.xcworkspace \
|
@xcodebuild -workspace AltStore.xcworkspace \
|
||||||
-scheme SideStore \
|
-scheme SideStore \
|
||||||
-sdk iphoneos \
|
-sdk iphoneos \
|
||||||
archive -archivePath ./archive \
|
-configuration release \
|
||||||
|
archive -archivePath ./SideStore \
|
||||||
CODE_SIGNING_REQUIRED=NO \
|
CODE_SIGNING_REQUIRED=NO \
|
||||||
AD_HOC_CODE_SIGNING_ALLOWED=YES \
|
AD_HOC_CODE_SIGNING_ALLOWED=YES \
|
||||||
CODE_SIGNING_ALLOWED=NO \
|
CODE_SIGNING_ALLOWED=NO \
|
||||||
DEVELOPMENT_TEAM=XYZ0123456 \
|
DEVELOPMENT_TEAM=XYZ0123456 \
|
||||||
ORG_IDENTIFIER=com.SideStore \
|
ORG_IDENTIFIER=com.SideStore \
|
||||||
DWARF_DSYM_FOLDER_PATH="." \
|
|
||||||
BUILD_REVISION=$(ALPHA_COMMIT_ID)
|
BUILD_REVISION=$(ALPHA_COMMIT_ID)
|
||||||
|
# DWARF_DSYM_FOLDER_PATH="."
|
||||||
|
|
||||||
fakesign:
|
fakesign:
|
||||||
rm -rf archive.xcarchive/Products/Applications/SideStore.app/Frameworks/AltStoreCore.framework/Frameworks/
|
rm -rf SideStore.xcarchive/Products/Applications/SideStore.app/Frameworks/AltStoreCore.framework/Frameworks/
|
||||||
ldid -SAltStore/Resources/ReleaseEntitlements.plist archive.xcarchive/Products/Applications/SideStore.app/SideStore
|
ldid -SAltStore/Resources/ReleaseEntitlements.plist SideStore.xcarchive/Products/Applications/SideStore.app/SideStore
|
||||||
ldid -SAltWidget/Resources/ReleaseEntitlements.plist archive.xcarchive/Products/Applications/SideStore.app/PlugIns/AltWidgetExtension.appex/AltWidgetExtension
|
ldid -SAltWidget/Resources/ReleaseEntitlements.plist SideStore.xcarchive/Products/Applications/SideStore.app/PlugIns/AltWidgetExtension.appex/AltWidgetExtension
|
||||||
|
|
||||||
ipa:
|
ipa:
|
||||||
mkdir Payload
|
mkdir Payload
|
||||||
mkdir Payload/SideStore.app
|
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
|
zip -r SideStore.ipa Payload
|
||||||
|
|
||||||
# Global Variables
|
# Global Variables
|
||||||
|
|||||||
Reference in New Issue
Block a user