Difference between appName.app and appName.app.dsYM file of iOS - ios

Can anyone explain to me what is the difference between appName.app and appName.app.dsYM file and which file submit on the AppStore?
As I am checking it in my finder both file has a different size so I am confused which one will be used by Apple?
Thank you.

.app file is an iOS application and .dSYM is debug symbol file which is used to trace the crash log and used to convert the crash log to human readable form.
You need to submit .ipa file to App Store.
For that you need to do following....
Select "Generic iOS Device"
Change the app version or build number, if required
Go to Product -> Archive
Once successfully archived you will see the organiser window. You will see the Archive list.
You need to select the archive that you have just done.(by default it will be selected)
If you want upload iOS app directly via XCODE then select Distribute App -> App Store Connect-> Upload. and follow the instruction. The app will be uploaded on App Store connect.
If you want to manually upload app (like using Transporter App, etc.) the you need to select Distribute App -> App Store Connect-> Export option. The .ipa file will be exported after successful validation pass. That .ipa file you need to upload to App Store Connect.

Related

Generate .IPA with Xcode

I am trying to finalize my iOS application, the problem I encounter is that I can not generate file .IPA file export from the archive that is created.
When I deploy the application directly to a device, the application works, as well as in an emulator.
I do not have a distributor account on Apple, I use my iTunes account as a developer account.
Is there a way to generate the .IPA file so that I can share my application so that others can test it?
I thank you in advance :)
Edit your app Scheme, Go to Run
Select Info Tab and Change the build configuration from debug to release,
it will help you to encounter your issue.
Quick Solution, goto archive section and change configuration to debug. it will allow you to generate .IPA
For internal testing purpose, you can drag .app file from Products folder of XCode after running app on device as target & drop into iTunes Connect. Get .ipa file by Right Click on app icon in Apps section of iTunes .Select Show In Finder.

How will I able to upload *.app to Appstore not via Xcode?

I have application for iOS created on Go language, I compiled it to .app file. Can anyone tell me what should I do to:
Load application to my iPhone
Load application to iTunes connect (I loaded another via Xcode, but there are no objective c or swift code here to do so)
PS: I have valid developer account, able to create any certificates that will need. Versions: XCode 7.2, iOS 9.2
Thanks a lot for your help.
For submission part there is Apple tool called Application Loader. It is a part of Xcode, but I think can still be downloaded separately. It can deliver app to App Store without having to use Xcode Organiser interface.
You need to deliver your app as .ipa file. If your .app is properly signed and contains a valid .mobileprovision (which is a different question), all you need to do is to create a new folder named "Payload", put copy your .app into ito it. Then you can rename the .zip file to .ipa and upload it using Application loader.

How to get the dSYM file from the ipa file available on App Store

There is a way to get a dSYM file from the ipa file that is available in App Store?
I've lost my archives that had that dSYM particularly.
Can I do that? I need the dSYM to upload to Crittercism.
Thanks in advance.
Assuming you still have access to the app in iTunes Connect, it's now possible to download the dSYM from iTunes Connect, too. Login, go to My Apps, select your app, then tap on the Activity tab at the top. Tap on the relevant build, and, assuming the app was submitted with symbols in the first place, you should see the option to "Download dSYM."
The file you get is called dSYMs (without an extension) but it is in fact a zip file. Add the .zip extension, unzip, and you'll find your dSYM(s) inside.
(I needed to do this this week since Crashlytics was complaining about a missing dSYM: https://stackoverflow.com/a/35374388/2397068.)
Unfortunately, the dSYM is included within the app archive but not within the .ipa file, so it is not possible to get it from downloading the app from the App Store.
This is for security reasons too- having the dSYM within the .ipa file would mean anyone could download it, potentially making it easier to hack/crack/reverse engineer your app.

iOS App loader - what file type should be uploaded

I have always been uploading iOS apps to appstore from XCode Organizer. That is pretty simple process. And we do not see any IPA or APP file is created. Now my client is trying himself to upload the app using app loader and is continuously asking for an IPA file. Now I have some specific questions -
Does app loader exist now-a-days ? Is it a different program out of XCode?
If it does, what file it takes from me to upload to appstore? An IPA?
How do I create the file for appstore? Note that I have the distribution certificate and appstore provisioning files installed and set in my release configuration. And I am sure if I have tried with XCode it would upload already. But, client not allowing me to do that. He will do it using app loader.
Special Notes -
1. Please do not give me links to an apple documentation, they do not talk about file type and how to create that. They always say "binary". Their doc titles does not reflect the content.
2. Please do not show me the Ad Hoc build process, that is not what I am asking.
3. Please only reply if you have used app loader before.
Application Loader is present in the Utilties folder.
For XCode 4.5 go to
XCode -> Right Click and select Show Package Contents
then go to Contents -> Applications -> Application Loader.
When you just do a build from Xcode, you get .app file.
To create .ipa from it follow below process:
On "/" create a folder named Payload
Copy your .app and .mobileprovision files in this folder.
Open terminal, go to / and run following command
zip -9 -y -r appName.ipa Payload/
This will create file "appName.ipa" on /
Yes and Yes.
As far as I know, it takes a compressed .app file.
In Xcode go to Products and select "show in finder". Then compress the file with a right click. The result should be uploaded with application loader. The result is located in the Library directory. Depending on your settings this can be hidden from application loader. Therefore you should copy the compressed file to a directory which is accessible from any program (like the desktop).

iTunes Connect Upload: which files to upload

I've added my iOS app to iTunes Connect and is currently trying to upload the binary using Application Loader. In the iTunes Connect Developer Guide is seems that they are uploading a zip file. Should I just make a zip of my complete project or what are they excepting?
You should upload the binary through Xcode.
It's a good idea to do a clean build first (Clean All Targets), and I usually delete my Build/ directory as well. Then do Build/Build and Archive. Make sure you have a device connected when you do this, and that the app is not in debug mode. Then open the Xcode organizer and select the binary to upload. That's all there is to it. You do not have to zip the files manually.
Here is step by step procedure to submit directly from xcode,
Just goto edit scheme > Archive > select Release.
Change your profiles to distribution (ios app store).
Select ios Device.
Goto Product> Archive
After completion goto Organizer
Select the Archive and click Distribute
Select Submit to iOS AppStore
Login
Select app, it will be showing app that has ready for upload status
Select profile.
Here you go.
Cheers
You should zip your *.app file.

Resources