Architecturally, how are iPhone applications installed from the AppStore? - iphone

When we hit that "install now" button via the AppStore, I am curious what is the process behind getting the app onto the iPhone?
Does it download a compressed zip? pkg? and does a XCOPY equivalent ?

It downloads an IPA file which is technically a zipped file that contains the app along with DRM signatures and other stuff. It deploys the app by copying the folder to /var/mobile/Applications/{GUID}/.

Related

How to get the downloaded zip file from iPhone app

Iam developing one application.In that iam downloading the zip file and unzip that one.When i connect my iphone to PC,is there any chance to user to get that downloaded file or that Unzip file from PC.
Yes, with software IExplorer you can retrieve (almost) any file from the iOS device.

Preparing .app for iTunes

I know this is a basic question, but the Apple Developer Guide just refers to it as "your binary."
I have built it in Xcode 4.2 and it runs fine on my device, I'm ready to upload it to iTunes but I can't figure out how to create my binary. How can I do this?
"your binary" is referring to your App file in iTunes Connect after you have uploaded it. To create this binary, all you need to do is upload a release build of your App to iTunes Connect, and then your "binary" will exists.
After you built your app for a release right-mouse-click on the product name then choose Show in Finder now zip does two files there and this is your binary that you will have to upload.

Format of applications submitted through Application Loader?

When I am using Application Loader to upload the app binary to the Apple do I submit a .zip file of my whole application or the .ipa file. I am confused about this process.
For iOS applications you just need to submit a zipped .app, the same .app generated by Xcode is enough, no need to put it into an IPA before archiving it.
For Mac OS X applications (Mac App Store), you need to submit the PKG generated by Xcode's Organizer Share/Save To Disk… command.
Alternatively, you can use the Build And Archive command and submit via the Xcode Organizer window… as another user points out.
If you have Xcode 3.2.5 then you can verify and upload your application through Organizer.
1.) Xcode -> Run -> Build and Archive
2.) Xcode -> Organizer -> Your Application (under Archives) -> Verify / Submit
Your app must already be setup and in waiting for upload mode in iTunes Connect.
I was able to create the archive in XCode 4, export as .ipa and upload that using Application Loader.
You have to submit a .zip file containing your Release build (the .app file inside the build/Release-iphoneos/ folder).
There are several options.
One that worked for me is to use the Finder to find and select the .app bundle, then use the Finder menu item to Compress this .app bundle. You can then select the resulting compressed file in the Application loader when your app is marked "Waiting for upload" in iTunes Connect.

iPhone / iPad enterprise distribution problem

I've just set up our iPhone / iPad Universal app to support Enterprise Distribution. I've hosted the provisioning profile, the plist file, and the application itself (the IPA file) on our private servers.
Users can go to Safari on their device and download the provisioning profile and it installs itself just fine. They can also view the plist file (we used this to test connectivity, etc).
However, no matter what we try the application file itself will not download. We navigate to our 'get' URL which sends back the manifest (plist) file, which in turn redirects to the application (IPA) file itself. Safari displays a 'Safari cannot download this file' error and we get a 'broken pipe' exception thrown on the server side.
I'm kinda stuck, so any help would be greatly appreciated!
Thanks in advance,
Ben
You shouldn't need anything but the plist and the IPA file, since nowadays the provisioning profile comes bundled in the IPA.
Did you create the plist yourself. or did you have XCode generate it for you with through the "Build and Archive" path in XCode?

How can I create a Installer package for iPhone?

How can I create a Installer package for iPhone ?
You should expose your question in a detailed and better way. Are you using xcode? It has everything you need to build your app for the iPhone.
You just code the app, and hit the button "build" or "build and run" and the .app file is automatically generated.
There is no such thing as an "installer package" for iPhone. As a developer, you create an app bundle, containing the executable and all resources, and just zip that and upload it to the App Store via iTunes Connect.
Detailed instructions for uploading an app to the App Store are available in the iPhone program portal.
Installation of an app on the device is handled by the iPhone OS and the App Store or iTunes (or by Xcode during development).