ipsw: ipsw download ipa is broken

What happened?

The ipa download function returns this (I am not sure how to get better debugging information, if there is a way I can please let me know!): ⨯ failed to download app Subway Surfers: no items found in download response

   • GET appstore Lookup (200):



{
 "resultCount":1,
 "results": [
{
"artworkUrl512":"https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/20/c3/e3/20c3e305-1a16-0c74-0f3c-d2a443f76299/AppIcon-0-0-1x_U007emarketing-0-8-0-85-220.png/512x512bb.jpg",
"screenshotUrls":[
"https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/e7/9c/44/e79c446a-6c74-3b8a-6b76-1e7b329bd97c/_U002fdata_U002fapp-store-connect-assets_U002fscreenshots_U002fen-US_U002f1_IPHONE_55.png/392x696bb.png",
"https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/3f/ed/61/3fed61e2-0ddf-7c62-13d8-7aebe85700ba/_U002fdata_U002fapp-store-connect-assets_U002fscreenshots_U002fen-US_U002f2_IPHONE_55.png/392x696bb.png",
"https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/d8/64/d7/d864d795-73d4-f219-1958-d7cfd85e97a0/_U002fdata_U002fapp-store-connect-assets_U002fscreenshots_U002fen-US_U002f3_IPHONE_55.png/392x696bb.png",
"https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/04/ed/df/04eddfc2-08c5-b7db-1751-205a49260c1d/_U002fdata_U002fapp-store-connect-assets_U002fscreenshots_U002fen-US_U002f4_IPHONE_55.png/392x696bb.png",
"https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/4a/2b/67/4a2b67e1-2062-b962-c4e8-ef4ddbc94353/_U002fdata_U002fapp-store-connect-assets_U002fscreenshots_U002fen-US_U002f5_IPHONE_55.png/392x696bb.png"],
"ipadScreenshotUrls":[
"https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/60/c6/88/60c688c3-86fa-a22a-6d08-2fa258d4c12d/_U002fdata_U002fapp-store-connect-assets_U002fscreenshots_U002fen-US_U002f1_IPAD_PRO_129.jpg/576x768bb.jpg",
"https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/14/cf/3a/14cf3ad2-6a26-a711-5ad3-f51291c04867/_U002fdata_U002fapp-store-connect-assets_U002fscreenshots_U002fen-US_U002f2_IPAD_PRO_129.jpg/576x768bb.jpg",
"https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/f3/55/db/f355dbbe-08f8-ebb0-78d0-2dce9a7fbaa1/_U002fdata_U002fapp-store-connect-assets_U002fscreenshots_U002fen-US_U002f3_IPAD_PRO_129.jpg/576x768bb.jpg",
"https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/93/2b/c5/932bc5a1-45ea-3c4e-551c-92a53cc80588/_U002fdata_U002fapp-store-connect-assets_U002fscreenshots_U002fen-US_U002f4_IPAD_PRO_129.jpg/576x768bb.jpg",
"https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/fa/be/91/fabe919d-7379-dadc-f2ec-ff9002eb72c3/_U002fdata_U002fapp-store-connect-assets_U002fscreenshots_U002fen-US_U002f5_IPAD_PRO_129.jpg/576x768bb.jpg"], "appletvScreenshotUrls":[], "isGameCenterEnabled":true,
"artworkUrl60":"https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/20/c3/e3/20c3e305-1a16-0c74-0f3c-d2a443f76299/AppIcon-0-0-1x_U007emarketing-0-8-0-85-220.png/60x60bb.jpg",
"artworkUrl100":"https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/20/c3/e3/20c3e305-1a16-0c74-0f3c-d2a443f76299/AppIcon-0-0-1x_U007emarketing-0-8-0-85-220.png/100x100bb.jpg", "artistViewUrl":"https://apps.apple.com/us/developer/sybo-games-aps/id471259040?uo=4", "features":["gameCenter", "iosUniversal"], "advisories":["Infrequent/Mild Cartoon or Fantasy Violence"],
"supportedDevices":["iPhone5s-iPhone5s", "iPadAir-iPadAir", "iPadAirCellular-iPadAirCellular", "iPadMiniRetina-iPadMiniRetina", "iPadMiniRetinaCellular-iPadMiniRetinaCellular", "iPhone6-iPhone6", "iPhone6Plus-iPhone6Plus", "iPadAir2-iPadAir2", "iPadAir2Cellular-iPadAir2Cellular", "iPadMini3-iPadMini3", "iPadMini3Cellular-iPadMini3Cellular", "iPodTouchSixthGen-iPodTouchSixthGen", "iPhone6s-iPhone6s", "iPhone6sPlus-iPhone6sPlus", "iPadMini4-iPadMini4", "iPadMini4Cellular-iPadMini4Cellular", "iPadPro-iPadPro", "iPadProCellular-iPadProCellular", "iPadPro97-iPadPro97", "iPadPro97Cellular-iPadPro97Cellular", "iPhoneSE-iPhoneSE", "iPhone7-iPhone7", "iPhone7Plus-iPhone7Plus", "iPad611-iPad611", "iPad612-iPad612", "iPad71-iPad71", "iPad72-iPad72", "iPad73-iPad73", "iPad74-iPad74", "iPhone8-iPhone8", "iPhone8Plus-iPhone8Plus", "iPhoneX-iPhoneX", "iPad75-iPad75", "iPad76-iPad76", "iPhoneXS-iPhoneXS", "iPhoneXSMax-iPhoneXSMax", "iPhoneXR-iPhoneXR", "iPad812-iPad812", "iPad834-iPad834", "iPad856-iPad856", "iPad878-iPad878", "iPadMini5-iPadMini5", "iPadMini5Cellular-iPadMini5Cellular", "iPadAir3-iPadAir3", "iPadAir3Cellular-iPadAir3Cellular", "iPodTouchSeventhGen-iPodTouchSeventhGen", "iPhone11-iPhone11", "iPhone11Pro-iPhone11Pro", "iPadSeventhGen-iPadSeventhGen", "iPadSeventhGenCellular-iPadSeventhGenCellular", "iPhone11ProMax-iPhone11ProMax", "iPhoneSESecondGen-iPhoneSESecondGen", "iPadProSecondGen-iPadProSecondGen", "iPadProSecondGenCellular-iPadProSecondGenCellular", "iPadProFourthGen-iPadProFourthGen", "iPadProFourthGenCellular-iPadProFourthGenCellular", "iPhone12Mini-iPhone12Mini", "iPhone12-iPhone12", "iPhone12Pro-iPhone12Pro", "iPhone12ProMax-iPhone12ProMax", "iPadAir4-iPadAir4", "iPadAir4Cellular-iPadAir4Cellular", "iPadEighthGen-iPadEighthGen", "iPadEighthGenCellular-iPadEighthGenCellular", "iPadProThirdGen-iPadProThirdGen", "iPadProThirdGenCellular-iPadProThirdGenCellular", "iPadProFifthGen-iPadProFifthGen", "iPadProFifthGenCellular-iPadProFifthGenCellular", "iPhone13Pro-iPhone13Pro", "iPhone13ProMax-iPhone13ProMax", "iPhone13Mini-iPhone13Mini", "iPhone13-iPhone13", "iPadMiniSixthGen-iPadMiniSixthGen", "iPadMiniSixthGenCellular-iPadMiniSixthGenCellular", "iPadNinthGen-iPadNinthGen", "iPadNinthGenCellular-iPadNinthGenCellular", "iPhoneSEThirdGen-iPhoneSEThirdGen", "iPadAirFifthGen-iPadAirFifthGen", "iPadAirFifthGenCellular-iPadAirFifthGenCellular", "iPhone14-iPhone14", "iPhone14Plus-iPhone14Plus", "iPhone14Pro-iPhone14Pro", "iPhone14ProMax-iPhone14ProMax", "iPadTenthGen-iPadTenthGen", "iPadTenthGenCellular-iPadTenthGenCellular", "iPadPro11FourthGen-iPadPro11FourthGen", "iPadPro11FourthGenCellular-iPadPro11FourthGenCellular", "iPadProSixthGen-iPadProSixthGen", "iPadProSixthGenCellular-iPadProSixthGenCellular", "iPhone15-iPhone15", "iPhone15Plus-iPhone15Plus", "iPhone15Pro-iPhone15Pro", "iPhone15ProMax-iPhone15ProMax", "iPadAir11M2-iPadAir11M2", "iPadAir11M2Cellular-iPadAir11M2Cellular", "iPadAir13M2-iPadAir13M2", "iPadAir13M2Cellular-iPadAir13M2Cellular", "iPadPro11M4-iPadPro11M4", "iPadPro11M4Cellular-iPadPro11M4Cellular", "iPadPro13M4-iPadPro13M4", "iPadPro13M4Cellular-iPadPro13M4Cellular", "iPhone16-iPhone16", "iPhone16Plus-iPhone16Plus", "iPhone16Pro-iPhone16Pro", "iPhone16ProMax-iPhone16ProMax", "iPadMiniA17Pro-iPadMiniA17Pro", "iPadMiniA17ProCellular-iPadMiniA17ProCellular", "iPhone16e-iPhone16e", "iPadA16-iPadA16", "iPadA16Cellular-iPadA16Cellular", "iPadAir11M3-iPadAir11M3", "iPadAir11M3Cellular-iPadAir11M3Cellular", "iPadAir13M3-iPadAir13M3", "iPadAir13M3Cellular-iPadAir13M3Cellular"], "kind":"software", "sellerUrl":"https://sybogames.com/", "languageCodesISO2A":["NL", "EN", "FR", "DE", "ID", "IT", "JA", "KO", "PT", "RU", "ZH", "ES", "ZH", "TR"], "fileSizeBytes":"293754880", "formattedPrice":"Free", "userRatingCountForCurrentVersion":3263346, "trackContentRating":"9+", "averageUserRatingForCurrentVersion":4.64848999999999978882669893209822475910186767578125, "contentAdvisoryRating":"9+", "trackCensoredName":"Subway Surfers", "trackViewUrl":"https://apps.apple.com/us/app/subway-surfers/id512939461?uo=4", "averageUserRating":4.64848999999999978882669893209822475910186767578125, "artistId":471259040, "artistName":"Sybo Games ApS", "genres":["Games", "Action", "Casual", "Entertainment"], "price":0.00, "primaryGenreName":"Games", "primaryGenreId":6014, "isVppDeviceBasedLicensingEnabled":true, "bundleId":"com.kiloo.subwaysurfers", "trackName":"Subway Surfers", "trackId":512939461, "releaseDate":"2012-05-24T07:00:00Z",
"releaseNotes":"- Join the Crew for a festive Holi celebration in Mumbai!\n- Rani and Rocky join the Crew! Unlock Rani by completing the Season Challenge, and get a super sweet deal on Rocky.\n- Meet Stella in her new Color Fever Outfit - unlock it in the Floor is Lava Challenge.\n- In addition to Holi, we are also celebrating St. Patrick’s Day and Eid with amazing rewards for you!\n- Get ready for a Season bursting with color, celebrations and epic rewards!", "genreIds":["6014", "7001", "7003", "6016"], "sellerName":"Sybo Games ApS", "currentVersionReleaseDate":"2025-03-20T11:24:32Z", "version":"3.43.3", "wrapperType":"software", "currency":"USD",
"description":"DASH as fast as you can!\nDODGE the oncoming trains!\n\nHelp Jake, Tricky & Fresh escape from the grumpy Inspector and his dog.\n\n- Grind trains with your cool crew!\n- Colorful and vivid HD graphics!\n- Hoverboard Surfing!\n- Paint powered jetpack!\n- Lightning fast swipe acrobatics!\n- Challenge and help your friends!\n\nJoin the App Store's most daring chase!\n\nA Universal App with HD optimized graphics for retina resolution.\nOriginally co-developed by SYBO and Kiloo.\n\nSubway Surfers is compatible with iPhone 4s, iPod 5, iPad 2 or newer.\n\niOS 8 or later OS version is required.", "minimumOsVersion":"13.0", "userRatingCount":3263346}]
}




   • POST Download: (200):
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<plist version="1.0">
<dict>
<key>pings</key>
<array></array>
<key>jingleDocType</key><string>purchaseSuccess</string>
<key>jingleAction</key><string>purchaseProduct</string>
<key>status</key><integer>0</integer>

<key>authorized</key><false/><key>download-queue-item-count</key><integer>1</integer>
<key>songList</key>
<array>
</array>
<key>metrics</key>
<dict>

  <key>itemIds</key>
  <array>
    <integer>512939461</integer>
  </array>
  <key>price</key><real>0.00</real>
  <key>priceType</key><string>STDRDL</string>
  <key>productTypes</key>
  <array>
    <string>C</string>
  </array>
  <key>mtTopic</key><string>xp_its_main</string>
  <key>currency</key><string>USD</string>
</dict>
</dict>
</plist>

### How can we reproduce this?

My command: ipsw download ipa -V --search "Subway Surfers"
Select subway surfers and try to start the download

### ipsw version

```bash
Version: 3.1.587, BuildCommit: Homebrew

Search

  • I did search for other open and closed issues before opening this

Code of Conduct

  • I agree to follow this project’s Code of Conduct

Additional context

IPA downloads are broken on other projects as well, such as ipatool and iMazing.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 16 (10 by maintainers)

Commits related to this issue

Most upvoted comments

Nice try. LOL.

@claude do yo thang guuuuuuuurl

the Configurator seems to get the download link via https://downloaddispatch.itunes.apple.com/WebObjects/DownloadDispatch.woa/wa/ent/download?guid=<guid>.

I tried narrowing down the essential headers: X-Dsid = <dsid> User-Agent Configurator/2.18 (Macintosh; OS X 15.4.1; 24E263) AppleWebKit/0621.1.15.11.10, Accept / Content-Type application/x-www-form-urlencoded Cookie

The body has a the following plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>creditDisplay</key>
	<string></string>
	<key>guid</key>
	<string>{{guid}}</string>
	<key>kbsync</key>
	<string> **kbsync binary base64 encoded** </string>
	<key>salableAdamId</key>
	<string>**app id** </string>
	<key>serialNumber</key>
	<string>**phone serial number**</string>
</dict>
</plist>

Now back to the cookie: It contains these fields (all fields have some kind of a base64 encoded value except where specified)

mt-tkn-<dsid>
mz_mt0-<dsid>
mz_at0-<dsid>
vrep
fstv 
fspc
fsas
countryVerified (value 1)
mzf_in
X-Dsid
hsaccnt (value 1)
mz_at0_fr-<dsid>
mz_at0_fr
mz_at_ssl-<dsid>
pldfltcid
tc-pldfltcid
itspod (value 6)
wosid-lite

The key thing appears to be the kbsync itself, because the other stuff we already have or it’s fairly trivial to get. The good-ish news is that once you have captured a request, it all you need to do is change the selableid in the body and it downloads the app.

I was not yet able to proxy the actual gsa.apple.com requests because they use cert pinning, but I’ll give it another stab later.

It’s been confirmed over on the ipatool repo that Apple no longer returns ipa download links on most apps for some reason, nothing else so far unfortunately…