Error uploading to Testflight Unexpected Error parsing IPA - objective-c

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.

Related

How to fix optimazition error publish in play store

my apk is 1.4MB but error is "This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App Bundle. By not optimizing your app for device configurations, your app is larger to download and install on users' devices than it needs to be. Larger apps see lower install success rates and take up storage on users' devices."
how to fix this error
It's only a warning, not an error.
For an app that small I wouldn't worry.
It's not something that's made its way into the Ionic ecosystem yet but I heard that if you open up your project in Android Studio and then do the build through there you can create an app bundle.
I'm not totally sure that its fully tested for Ionic so you might have issues with this, but Android have published a full guide:
https://developer.android.com/guide/app-bundle#get_started
This is what they say:
Download Android Studio 3.2 or higher—it's the easiest way
to add dynamic feature modules and build app bundles.
Add support for Dynamic Delivery
by including a base module, organizing code and resources for configuration
APKs, and, optionally, adding dynamic feature modules.
Build an Android App Bundle using Android Studio.
If you're not using the IDE, you can instead build an app bundle from the
command line.
Test your Android App Bundle by using it to generate APKs that
you deploy to a device.
Enroll into app signing by Google Play.
Otherwise, you can't upload your app bundle to the Play Console.
Publish your app bundle to Google Play.

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

Upload a prebuilt file to Crashlytics

I am trying to automate our build/release process. I am specifically concerned with the Android app at the moment, but I may also need to extend similar support for our iOs app.
Until now, all uploads to Crashlytics have been triggered with crashlyticsUploadDistributionRelease. However we are now building and testing the apk first, then looking to upload that same pre-built apk to Crashlytics. The new process means we need a way of uploading the apk to Crashlytics directly, without having any dependencies on rebuilding or being within the project's directory.
I can see that I can do this through Android Studio by dragging and dropping the apk. Is there a command line tool or script that I can use to automate something similar from our build machine?
This operation is not currently supported. See my comment above for the response from the Crashlytics team

Unable to download application OTA iOS

I'm trying to distribute a beta version of an app OTA. I'm using team provisioning profile and through Xcode it runs fine on my iPhone. When I click the download link it shows me the usual popup and the app starts downloading but before the progress bar makes any progress I get "Unable to download application at this time". Console shows absolutely nothing.
Verify that the bundle-identifier key is the same as the one which you have used to build the ipa file. Also bundle-version key should be the same as the one in the ipa

Can I download my own binaries from iTunes 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