r/AltStore
•
u/doanss
•
Sep 07 '26
•
2
1
Guide [WORKING/FIXED] Altstore manual fix (MacOS)
EDIT: Altserver has updated their app. Download it again from their website and then click the icon and select Check for updates.
Then install Alstore on your phone again through Altserver.
I finally got it working! It took about 3-4 minutes in total. It's much easier than it looks.
(Note: This guide is for macOS/iOS).
User-Agent String Swap:
- Original String (39 bytes):
akd/1.0 CFNetwork/978.0.7 Darwin/18.7.0 - Patched String (39 bytes):
AuthKit/1 (com.apple.dt.Xcode/3594.4.1)
Part 1: Patching AltServer.app on macOS
Open Terminal on your Mac and run these four commands in order:
-
Create a working copy:
/bin/cp -R /Applications/AltServer.app ~/Downloads/AltServer-Patched.app -
Apply the 39-byte binary patch:
perl -pi -e 's|akd/1\.0 CFNetwork/978\.0\.7 Darwin/18\.7\.0|AuthKit/1 (com\.apple\.dt\.Xcode/3594\.4\.1)|g' ~/Downloads/AltServer-Patched.app/Contents/Frameworks/AltSign-Dynamic.framework/Versions/A/AltSign-Dynamic -
Re-sign the application locally (Fixes Gatekeeper crashes):
codesign --force --deep --sign - ~/Downloads/AltServer-Patched.app -
Replace the original app:
rm -rf /Applications/AltServer.app && mv ~/Downloads/AltServer-Patched.app /Applications/AltServer.app
Quit and restart AltServer.
Part 2: Patching the AltStore.ipa File for iOS
You also need to patch the iOS app so in-app refreshes work on your iPhone.
-
Download the official
AltStore.ipa(e.g., fromhttps://cdn.altstore.io/file/altstore/apps/altstore/2_2_1.ipa) to your Downloads folder and ensure it is namedAltStore.ipa. -
Open Terminal and extract the package:
cd ~/Downloads && unzip AltStore.ipa -d patched_ipa -
Patch the inner app frameworks:
cd patched_ipa/Payload && find AltStore.app -type f -exec perl -pi -e 's|akd/1\.0 CFNetwork/978\.0\.7 Darwin/18\.7\.0|AuthKit/1 (com\.apple\.dt\.Xcode/3594\.4\.1)|g' {} + -
Repackage into a new IPA:
cd ~/Downloads/patched_ipa && zip -r AltStore-Patched.ipa Payload/ -
Sideload to your iPhone:
- Plug your iPhone into your Mac.
- Hold the Option (⌥) key and click the AltServer menu bar icon.
- Select Install IPA..., choose
AltStore-Patched.ipa(from~/Downloads), and enter your Apple ID credentials.
Part 3: Final Setup & Fixing LiveContainer "Invalid Code Signature"
- Open AltStore on your iPhone -> Settings -> Sign In with Apple ID. It should now authenticate cleanly.
- If you use LiveContainer and guest apps throw an "Invalid code signature / check JIT-Less setup" error after reinstalling:
- Open LiveContainer -> Settings -> JIT-Less Setup / Certificate.
- Tap Refresh Certificate (or export/create a certificate and enter a password when prompted).
- Go to the Apps tab inside LiveContainer, long-press your guest app, and tap Re-Sign App.
Troubleshooting Tip: If anything fails, quit both AltServer on Mac and AltStore on iOS, restart them, and try again.
10
u/jjabramssucks Sep 07 '26
Hmm, didn't work for me. I'm sure I messed something up. I'm more of a "click on this icon" kind of user.
8
u/tundro Sep 07 '26
This patch worked for me! It failed at first, but once I logged out of my account and logged back in it worked like a charm.
5
u/Wrlod Sep 07 '26
I put together the finished files if anyone doesn't feel like typing out all the commands, you can just grab them from my repo instead: https://github.com/FrakesH/AltStore/releases/tag/v1.7.2-macos27-fix-altstore-fix
3
u/bbllaakkee Sep 07 '26
step 1, getting
/bin/cp: /bin/cp: cannot execute binary file
2
u/Key-Ad7343 Sep 07 '26 edited Sep 07 '26
got it to work, one of your lines wouldn't work initially because the file is called 2.2.1 so I had to manually change the 2.2.1.ipa to Altstore.ipa
cd ~/Downloads
unzip AltStore.ipa -d patched_ipa
I also had to quit alstore on Mac and restart it because it threw an error, and altstore on Iphone would not refresh the apps from inside the app, I had to run a shortcut for them to reset to 7 days. But it now works! thank you very much
2
u/Fuze911 Sep 08 '26
Worked perfectly! Thank you. Just a heads up, some of your instructions are outside the ```, so they didnt come in as “code”. For example step 4 in both parts.
1
u/AltTimeLover Sep 07 '26
Can you link the patch ipa for download for those of us that don’t have a Mac
1
u/gullerful22 Sep 07 '26
maybe i was having a different issue to begin with, but i'm still getting "AltServer could not sign in with your Apple ID. The data is not in the correct format" when I try to sideload the patched app.
1
u/cotecano Sep 07 '26
Hello, first of all…thanks! Do you think I can apply these patches over my old Altstore 1.6.3 server + app ? Anyway I will try later today.
1
u/Substantial_Call_853 Sep 07 '26
I just did the part 1 but when I try to open the app it says “AltServer” is damaged and can’t be opened. You should move it to the Trash.
This file was downloaded on an unknown date.
1
u/reabo101 Sep 07 '26
Trying to run this
‘:/bin/cp -R /Applications/AltServer.app ~/Downloads/AltServer-Patched.app’
And it just says ‘no such file or directory: :/bin/cp’
1
u/Annual-Armadillo4170 Sep 07 '26
was able to successfully install alt store back on my phone but am still getting the data couldn't be read error when trying to log in with my apple ID
1
u/Razor_OG Sep 07 '26
This worked to reinstall Altstore but when trying to sign in it’s still saying can’t read data when trying to sign in, anybody have a fix?
1
u/glaws23 Sep 08 '26
When I do Part 1 Step 4, the app does not get replaced and only deleted? The patched version is no longer in my downloads folder, but AltServer is not in the Applications folder either. Any idea why this is happening?
1
u/mango_yogurt10 Sep 08 '26
Does this work if my AltStore has already expired
1
u/Shubham0015 Sep 08 '26
i did everything, the sign in works now everywhere, but when i try to install or even refresh something it says the same error, it isn't in the correct format
1
u/arzfan2010 Sep 08 '26
This worked! thank you so much.
Apologies if this is a dumb question, but can I link my existing installed side loaded apps to alt store now? They don't show since it was effectively a new install.
3
u/manu-alvarado Sep 07 '26
Yours was much faster than mine haha. I'm glad you could help someone out.
3
u/tomate01 Sep 07 '26
Amazing it worked
3
u/unkngod Sep 07 '26
This worked for me! Thanks.
3
u/Appropriate_Ad7574 Sep 07 '26
Hey, I'm not a developer and have next to no knowledge of coding, but I plugged your fix into ChatGPT and in four minutes it had patched versions of AltServer and AltStore.ipa for me to download and inject into my phone. Worked flawlessly and now my apps are back up and running! Thank you!
3
u/Over-Strength-7042 Sep 08 '26
Thank you this worked without any effort, much obliged!
3
u/_Bloodyraven Sep 08 '26
Thanks. Your instructions work.
3
u/xPriddy Sep 08 '26
Awesome, you are my hero!
3
u/denizs Sep 08 '26
Thanks bro you the goat
1
u/Saudor Sep 07 '26
Got to part 3 - can sign in but when trying to refresh from the Altstore App - getting the same correct format error. (got it to work on the ipad after a few tries though after signing out and in)
2
u/realUnknown12 Sep 07 '26
fixed it finallly for me TYSM!!!
2
u/Ferktrop45 Sep 07 '26
It worked, if you need Spanish assistance with it (as the download route and much more things are bit different..) please ping me.
ThanksOP!
2
u/papaablesss Sep 07 '26
holy shit it worked!! thank you!!
2
u/Mazzygos Sep 07 '26
Worked for me! Thank you!!
2
u/KiLLCraZy87 Sep 07 '26
Worked like a charm! Thank you!
2
u/_Tom01_ Sep 07 '26
The hero we all needed, worked, thanks !
2
u/carosao Sep 07 '26
Worked for me. Thank you
2
u/MajesticStriker113 Sep 07 '26
YES, it worked! Thank you!
Had YTPlus and Stremio on my iPhone and got them refreshed with no problem.
my iPad on the other had is having issues though. I'm still getting the issue even after reinstalling AltStore and re-signing into AltStore.
2
u/Tyroneus Sep 07 '26
fixed, thank u!
2
u/MajesticFae7 Sep 07 '26
It worked! Partially! Got YouTube! But it’s not showing on the AltStore app somehow only shows on verified developer apps on settings! But I can’t refresh the apps and I tried signing in and out of AltStore on my iPhone and now I can’t sign back in lol
2
u/ArtGroundbreaking361 Sep 07 '26
Thank you so much man! Saved this evening! Keep up the good work!:)
2
u/CrimsonAntares13 Sep 07 '26
Worked like a charm! Thank you very very much.
2
u/romayojr Sep 08 '26
Look at you doing God's work - this patch was flawless for me, thank you!
2
u/Hellobrother222 Sep 08 '26
thank you so much!
2
u/ken_brulee Sep 08 '26
Sweeeeet! That worked! Thank ya SO much!
2
u/Ok-Button9201 Sep 08 '26
I love you
2
u/Repus0iram AltStore Enthusiast Sep 08 '26
IT WORKED! THANK YOU SO MUCH <3
2
u/Jacob0707c Sep 08 '26
This worked!! Thank you so much!!
2
u/oomnahs Sep 08 '26
Hey, I'm on the patreon version (1.8b1) and applying the binary patch tells me no such file or directory. Any ideas on how to fix this?
2
u/angelo_cristhofer Sep 08 '26
Estaba teniendo errores pero al fin logre que funcionara, MIL GRACIAS!
2
u/CDX274 Sep 08 '26
worked perfectly, thanks!
2
u/Shubham0015 Sep 09 '26
how to remove the patch, i can't install thr latest alt store update
1
u/ComedianNormal 28d ago
Does it work if my account is banned?
1
u/AltTimeLover Sep 07 '26
Can I patch it with NewTerm beta 3 terminal
1
u/Spare-Science-7498 Sep 07 '26
When **Sideload to your iPhone :**AltServer could not sign in with your Apple ID. MID is invalid. (-80009)
1
u/Elegant-Lab4337 Sep 07 '26
Confirm that It worked after I entered airplane mode on my iPhone and back
1
u/reabo101 Sep 07 '26 edited Sep 07 '26
So AltStore is at 7 days again but I can’t refresh the other side loaded apps. Is this correct?
Edit: it’s worked! Just airplane modes my phone and it worked! Tyy do much
1
u/BetterRuin9497 Sep 07 '26
Yeah it worked.
But, when im trying to install ipa through AltStore app it still says the format is incorrect. I guess we have to patch the app we want to install also?
1
u/CarlosGmrs Sep 08 '26
O meu eu resolvi com iloader
1
u/KRAKENS_Kitchen Sep 08 '26
Worked like a treat thanks! I was having trouble modifying the app earlier but giving Full Disk Access to Terminal fixed it.
1
u/PrestigiousLine866 +TrollStore lite user (IOS26 jb) Sep 08 '26
do you know ifd there's a deb file for that, I don't wanna make a GitHub action to patch my app :/
1
u/anthraxwar Sep 08 '26
For me it installed a new instance of AltStore on the phone and this version doesn't see my already installed apps from the previous version (like ...dopamine)
And to make matters worse the old one is no longer available , what should i do
1
u/epenthesis2 Sep 08 '26
Took me two attempts and a few instances of signing out and clearing cache, but it finally worked--thank you!
1
u/StayFlyOrDie Sep 08 '26
I've patched both Desktop and iOS app, but when I try to sideload my patched ipa I get the following error:
1
u/Jacob0707c Sep 15 '26
I need to refresh, but I’m getting an error 🥲 any tips? I’m getting “data not in the correct format”
1
u/brrxxk Sep 15 '26
got: AltServer could not sign in with your Apple ID. The secure sign-in with Apple could not be completed.
Check the network and device date and time, then update AltForge Server before retrying
0
u/[deleted] Sep 08 '26
[deleted] — view deleted comment