diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 138f04ea..3707c141 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -26,6 +26,8 @@ jobs:
uses: actions/checkout@v2
with:
submodules: recursive
+ - name: Install dependencies
+ run: brew install ldid
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1.4.1
with:
@@ -33,8 +35,12 @@ jobs:
- name: Build SideStore
run: |
rm -rf ~/Library/Developer/Xcode/DerivedData/
- rm ./AltStore.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
- xcodebuild -project AltStore.xcodeproj -scheme AltStore -sdk iphoneos archive -archivePath ./archive CODE_SIGNING_REQUIRED=NO AD_HOC_CODE_SIGNING_ALLOWED=YES CODE_SIGNING_ALLOWED=NO | xcpretty && exit ${PIPESTATUS[0]}
+ rm ./AltStore.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
+ xcodebuild -project AltStore.xcodeproj -scheme AltStore -sdk iphoneos archive -archivePath ./archive CODE_SIGNING_REQUIRED=NO AD_HOC_CODE_SIGNING_ALLOWED=YES CODE_SIGNING_ALLOWED=NO DEVELOPMENT_TEAM=XYZ0123456 ORG_IDENTIFIER=com.SideStore | xcpretty && exit ${PIPESTATUS[0]}
+ - name: Fakesign app
+ run: |
+ rm -rf archive.xcarchive/Products/Applications/AltStore.app/Frameworks/AltStoreCore.framework/Frameworks/
+ ldid -SAltStore/Resources/tempEnt.plist archive.xcarchive/Products/Applications/AltStore.app/AltStore
- name: Convert to IPA
run: |
mkdir Payload
diff --git a/.gitignore b/.gitignore
index d9f6be2f..d750188a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,7 +8,7 @@
## Build generated
build/
DerivedData
-
+archive.xcarchive
## Various settings
*.pbxuser
!default.pbxuser
diff --git a/AltStore.xcodeproj/project.pbxproj b/AltStore.xcodeproj/project.pbxproj
index 96643a62..1ecf19f9 100644
--- a/AltStore.xcodeproj/project.pbxproj
+++ b/AltStore.xcodeproj/project.pbxproj
@@ -3272,6 +3272,7 @@
);
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx";
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG BETA";
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SYSTEM_HEADER_SEARCH_PATHS = "\"$(SRCROOT)/Dependencies/AltSign/Dependencies\"";
diff --git a/AltStore/Info.plist b/AltStore/Info.plist
index a35b771d..96e4d1ec 100644
--- a/AltStore/Info.plist
+++ b/AltStore/Info.plist
@@ -8,7 +8,7 @@
group.com.rileytestut.AltStore
ALTDeviceID
- 00008110-000A68390A82801E
+ 00008101-000129D63698001E
ALTServerID
1F7D5B55-79CE-4546-A029-D4DDC4AF3B6D
CFBundleDevelopmentRegion
diff --git a/AltStore/Resources/tempEnt.plist b/AltStore/Resources/tempEnt.plist
new file mode 100644
index 00000000..2ae02803
--- /dev/null
+++ b/AltStore/Resources/tempEnt.plist
@@ -0,0 +1,20 @@
+
+
+
+
+ application-identifier
+ A72ZC8AJ5X.com.SideStore.AltStore
+ aps-environment
+ development
+ com.apple.developer.siri
+
+ com.apple.developer.team-identifier
+ A72ZC8AJ5X
+ com.apple.security.application-groups
+
+ group.com.SideStore.AltStore
+
+ get-task-allow
+
+
+
\ No newline at end of file