Can I download my own binaries from iTunes Connect? - app-store-connect

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?

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

Related

How to extract ipa file from jail broken device

I have a jailbroken iPhone 5s, and want to extract the .ipa file of one application that I have installed on that device. Is this possible, and if so, how?
Is it possible to extract the .ipa file from the iPhone without jailbreaking it? My intention is to perform static analysis of the application.
Since you have a jailbroken iOS device, try installing ipainstaller from Cydia and then use ipainstaller to extract the app to an .ipa file.
I use ipainstaller -l to list all the apps installed on my jailbroken device and grab the bundle id of that app you wish to extract. Extract it using ipainstaller -b <app_bundle>.
It appears that IPA Installer from Cydia has not been updated since July 2016. That last version, 3.4.1-1, only supports up to iOS 9.
However, with iMazing, you can get something close. If you have previously "purchased"/downloaded an app from the Appstore, then are using the same Apple ID logged in to the Appstore, you can download it again. It appears that iMazing may be using the same Appstore API, so once you are logged in to the same Apple ID, you can download the ipa again. Except, this time, it would be downloaded to your Mac as an ipa, rather than iOS device. So it is technically not retrieving the ipa from the iOS device (it no longer exists in the device as an ipa anyway), but getting it from the Appstore. Then you can proceed with your static analysis.

xcode uploading issue when build is prepare for itune store

i have an app having no issue when run on iphone simulator but when upload to the itune store it have validate and upload to the app store button disabled as shown in image
Probably it could be related to how you signed the IPA.
Check you provisioning profiles and certificate in your release configuration.
You can export your package as save for iOS app store deployment,
and upload with application loader.
application loadercan be open in XCode -> open developer tool.
The type of your archive Generic Xcode Archiveis incorrect.
To debug :
Try opening it (right Click > Show In finder > Right Click > Show package content...) to see what is in there appart from your app
Look in your project Build Phases what are the Target Dependencies
source: Cannot generate iOS App archive in xcode
source: Application Archiving in Xcode

Error uploading to Testflight Unexpected Error parsing IPA

I am trying to upload my app to test flight. When I use the web interface, I get the error
Unexpected error parsing the IPA, TestFlight support has been notified.
And when I try to upload using the desktop app, it tells me that dSYM is not found, lets me go through the whole process, then give the same error at the end.
Built in XCode 4.5 for deployment target 5.0.
I have looked at Error Upload TestFlight : Invalid IPA / dSYM not found and as far as I can see, all my build settings are set to armv7.
Is there anything obvious that I should check/could be missing?
The only 2 external libraries in the project are test flight sdk and flurry.
I've had the same problem when trying to upload .ipa files. The problem is, that .ipa files don't contain the symbolication information anymore.
Try exporting your app as Xcode Archive instead of building the .ipa for distribution (thats one of the options when you choose 'Distribute...' in the Xcode organizer). This archive contains the necessary dSYM files (if not, you have to check your build settings). If you drop this .xcarchive into the TestFlight desktop client, TestFlight will build the .ipa for you and the upload it.
Make sure to use the same Provisioning Profiles for signing the .ipa in the TestFlight client that you have used when building the archive in Xcode!
Or you can just choose to Show the TestFlight Co-pilot in the menu bar (activate in the settings), the it will automatically detect your Archive.

Install an IPA through USB?

After using the "iPhone Configuration Utility" program to install IPA applications to my iPhone on the go, I wondered how this process worked. Within a few Google searches, I found out about "MobileDevice.framework" and the "MobileDevice Library" connected to it. After reading an article of all the Known Functions in the library, I found one called "AMDeviceInstallApplication". I thought this would work once I saw install, but I'm currently perplexed on how to use it.
TL;DR I have IPA files and I want to make an Xcode program (for Mac) that installs the IPA's application to a connected iOS device when a button is pressed.
Also, don't worry about the application not being signed correctly. It is signed with a provisioning profile installed on devices [the application] will be used with.
If you're still interested in this problem I've written a blog entry on how to install apps on a connected iPad / iPhone without using Xcode or iTunes.
This method allows you to run a Terminal command to install an iPA file.
http://pervasivecode.blogspot.co.uk/2012/06/install-ios-app-ipa-file-without-xcode.html
I suppose you could bundle up the terminal commands in your application and use it that way?
I found a simple way to install iPa file to real iPhone or iPad:
Connect iPhone to Mac via USB and follow the below steps:
Steps to follow:
Open Xcode
Click on Window
Select Devices and Simulators
Drag and drop the IPA files into it
App got installed on the iPad

How to write a cydia app

I was wondering about to create a cydia tweak running on iphone startup and hooking some iphone feature as sms or call.
So I wanted to know where should I start:
How to write a cydia application (xCode? Toolchain? which toolchain? how to install it?)
Where can I found documentation about the hooking methods of the mobile substrate?
How can I star my application on iPhone startup?
I'd be glad if someone can link me THE VERY NOOB guide on how to start jb developpement (I juste develop "officially")
Thanks everybody
I know there are other ways of doing this, but if your a licensed iOS Developer you can simply sign the code in your App and put it on to one of your registered testing Devices that's jailbroken and follow the step by step instructions below:
Download iFile from the Cydia Store. I would suggest paying for it, but you can find other sources where you can get a cracked version. Then use iFile on the device and go into the following directory:
var/mobile/Applications/YourAppName
Select YourAppName.app folder
Tap the zip file button, (between + and trash buttons at bottom of display)
You will be prompted to name the zip file and hit create.
That's the zip file you submit to Cydia, you can email it to yourself from within iFile, or if you want use a program like DiskAid to pull it from your Device. DONE!
TESTING
To test you need to copy the .app file into the following directory:
var/stash/Applications
Exit iFile and Delete your app from the devise. Respring, Reboot, or Restart.
The icon will then be on your desktop.
HOPE THIS HELPS SOMEONE!!!
Note: This is against Apple policy, but if you don't tell I won't ;)