The mac where I wrote my app is broken and so I cant access the code any more.
I uploaded it to my iTunes Connect account already. Is there a way to download the binaries from my account again?
It's neither possible through App Store Connect nor the App Store Connect API. no, We can download . IPA file from Appstore.
iTunes Connect is now intended to be used by content creators and distributors to manage media distributed via iTunes Store such as music, films, TV programmes and books, while App Store Connect is intended solely to manage app distribution for iOS (and by extension watchOS and tvOS) and macOS.
From Users and Access, click Keys. The page opens with App Store Connect API selected. Navigate to an API key under the Active section, then click Download API Key for the key you want to download. In the dialog, click Download.
Edit
iTunes for Mac version 12.7 removes the option to sync apps between your iOS devices and your Mac, and Apple has further removed the option to download iOS apps altogether from iTunes for Mac.
Consequently, the answer below no longer works... Bummer.
Outdated answer
As far as I know, there isn't a way to download the ipa
(which is what's submitted to Apple) via iTunesConnect
. However, it is possible to download the .ipa
using iTunes
.
Note, however, that the ipa
will include resources (images, sound assets, etc), but the source code (.h
, .m.
, etc) will be in a compiled format. Unfortunately, AFAIK, there is no way to download the source code in a non-compiled format via either iTunes
or iTunesConnect
.
Still, the assets alone may be useful in recreating a project. To download the ipa
, try this:
Find and download your app using iTunes on your Mac. This will download the .ipa
that you uploaded.
Open Finder > Goto Music > iTunes > iTunes Media > Mobile Applications (under Mac OSX 10.8.2, possibly within another directory under different versions of OSX)
Copy and paste your .ipa
to another location, such as the Desktop (so it doesn't confuse iTunes)
Unzip the .ipa
(Right click on the .ipa
> Open With > Archive Utility/The Unarchiver/similar unzip program)
In the unzipped directory, you'll find your app under "Payload" > Your_App_Name.app
Right click on your .app
file > Show Package Contents
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With