Finishing an app - getting the binary file? - iphone

I've finished developing my app and I want to release it. What is the binary file that apple is looking for in the submission for in iTunes connect?

Zip the app bundle, or better yet, use the Organizer to upload.

Check in the Build directory inside your project folder. There should be a folder in there called "Release". Inside that folder is YourApp.app. Zip it up and send it in.

You need to visit apple provisioning portal to generate a distribution certificate for your app, then download it to your machine and in the end you have to build it up it with this certificate in xCode.
There some tutorials on the provisioning page. So I hope you can make it.
https://developer.apple.com/iphone/manage/overview/index.action

Related

How to build signed Phonegap2.9 project for iOS

This is a project which use phonegap 2.9 for iPhone app. Now I use phonegap's build tool to build an .app file, But this .app file is not signed. What I want to know is:
Can I use phonegap's build tool to build a signed .app file?
More about my project:
I have to use command line to build my project.
I have tried to use xcodebuild with param CODE_SIGN_IDENTITY to build it, but is failed with <Cordova/CDVViewController.h> file not found message.
I need you help. Thansk a lot!
To publish the in apple store at first you need to build an ipa file.
To build ipa file you need to archive the project.
Archive can be found here:
Project>Archive. (Be sure to choose iOS device in Run option).
To carry out all these task you will need provision file from your developer account.
For more detail you can go through these links:
How to get ipa file from Xcode to run an iPhone app in real device?
Deploy .ipa file in App store generated by Phonegap?
Publish Phonegap Build App at Apple's App Store - Experiences?

From where to upload app binary file on App store

I have followed all the steps to upload my first application on "https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa"
at last i had uploaded the Large image & Screenshots.
I had not an option to upload the Binary file.
Now application status is "Waiting For Upload".
I am right now confuse about to upload my binary file, from where & how i can upload it?
is appliacation under review? is everything ok? or I will have to do any change?
Please, help me out, i am new to upload application.
All related helps are appreciated & thanks in advance.
Once you installed the appropiate certificate and distribution profile you're ready to go.
Open XCode -> select your distribution certificate within Build Settings -> code signing
Then click on 'Product' button within the topbar -> Archive -> choose upload to Appstore
When you follow these steps your App should be submitted the right way.
please download a app called "Application Loader" on mac . and compile your code with the provisioning profile.
put login id and password of your itunes connect in Application Loader application.
it will automatically ask for the .zip file of your first application Binary.
complete all formalities from itune connect.

How to create the IPAs only without connecting a device?

I don't have a device but my manager ask to upload a build on testflightapp Is there anyway so that I can create IPA and upload my build without having real device?
thanks
Yes.. you can do that..but you will need a developer account to deploy apps for Ad-hoc or App store Distribution ..
Edit : To upload the build ...just Archive the app with the provisioning profile..and upload the ipa to testfilght.
If you click on "Upload build" in TestFlight there's a link to a help page which answers your question: http://help.testflightapp.com/customer/portal/articles/402782-how-to-create-an-ipa-xcode-4
Otherwise, for the first part of the tutorial, if you're in an Xcode version in which you don't have the Entitlements option, you can safely skip that part of the tutorial.
off-course you can do that, make your adhoc certificate then follow the procedure mentioned in your developer account. For uploading on testflight build the binary and put in Payload folder and then compress that folder and rename that compress file to appName.ipaIf you have any query I will be happy to help.
Have a look at this from Apple. It should explain everything you need to know about code signing, certificates and making the IPA file for Ad Hoc distribution.

Ad hoc distribution: App failed to install

I have created an ad hoc archive and a .ipa file for the application I am trying to distribute. I have also created a distributing provisioning profile with the UDIDs of the devices that I plan on distributing my application to. When I drag the .ipa and .mobileprovision files into iTunes and try to sync the application to the device, an error message on the phone pops up reading "'myapp' failed to install". By the way, I have a standard iOS developer's license ($99 per year) and am using Xcode version 4.2.1. I am pretty new to the developer program, so please try to keep your answers as simple as possible. Let me know if you need any extra information. Thank you!
I had the exact same issue. My issue was simple to fix. Check your Code Signing Identities for Project & Target in your project Build Settings. Mine were pointing to my Development Profile.
The Code Signing Identities need to point to the Ad hoc Distribution Profile that you created.
Make this change and then recreate the Archive and .ipa file. I then deleted the old App in iTunes, and then dragged the .ipa file onto the iTunes icon (Windows). Then I was able to use iTunes to install the App successfully.
My problem seemed to be Xcode. I had multiple copies of the Ad_Hoc profile with different expirations (all valid) and a few with different names from the days. I deleted them all and the app still failed to install, but I noticed all the Ad_Hoc profiles had been resurrected by iTunes. Tried it several times and including deleting them from the Organizer, but they always resurrected (reappeared installed on the device). Finally I drug out a copy of the supposedly extinct iPhone Configuration utility and used it to delete the app and all Ad_Hoc profiles. Then tried to install just the profile. That got it down to 2. Finally got all deleted and got iTunes to install the right profile. Still took 2 more attempts for iTunes to finally install my archive file!
Check this .
Don't need to drag both .ipa and Provisioning Profile.
Just Drag the .IPA File Follow Further steps as you.
Set install owner param in Xcode project / Deployment to the name you specified in apple dev license. I set both install owner and alternative install owner and Install Group and Alternative Install Group to my name which the 100% exactly as in my apple development license.
And the error was gone.
I was having a similar issue where my project was stored on a secondary NTFS drive. After moving the project over to my desktop [aka MacOS Extended (Journaled) drive], I was able to load the ipa file via itunes.
Another point: If the store version of the app installed on your device (or a version deployed another provision), you have to remove it from your device before installing the ad-hoc version.
I solved the issue by not trying to sync with iTunes but instead to sync it within Xcode (from the window->devices menu)

How to show iPhone app to the client without submitting to the app store (ad-hoc distribution)

I want to show my app to the client without submitting to the app store. I was following the below instructions. But my app doesn't display in iTunes. Could you please help me?
Login to the iPhone developer portal website.
Add their iPhone UDID to the list of devices. Generate a provisioning profile that includes your own test phone and theirs. Download the file (ends with .mobileprovision).
Double-click it to install it on your development machine. Quit and restart Xcode, then set your code signing identity to the name of this profile. Build the binary.
In the left side of Xcode "Groups & Files" bar look for Products (may need to expand the folder).
Select {yourapp}.app. Right click and choose 'Reveal in Finder.' Now take that .app file and the .mobileprovision file you downloaded, zip them both up and send it to the client.
They will need to unzip the archive, then drag-drop the .app and .mobileprovision onto their iTunes and sync the phone. Your app should show up and run.
The portal site has more detailed instructions, but this is basically it in a nutshell.
TestFlight is a great free service to do most of the hard work here for you. Follow these instructions for generating an IPA file and distribute it to whomever you like, without having to go through iTunes.
You still have to follow steps 1, 2 and 3 from your existing instructions.
First create distribution profile using apple developer portal you can follow this tutorial.
http://www.manyfriends.com/wiki/iphone/index.php/Create_an_ad-hoc_provisioning_profile
After installing profile follow this to create a binary that you will send to you client.
http://diaryofacodemonkey.ruprect.com/2011/03/18/ad-hoc-app-distribution-with-xcode-4/