Thursday, April 5, 2012

Share IPA on private server using save as distribution option OR Create IPA using Enterprise Distribution Program (INHOUSE DISTRIBUTION)


    First you have to apply for iOS Developer Enterprise Program Click here
    Complete reference for enterprise distribution guide Click here
    OR After registration follow below steps


After done with Inhouse Distribution Certificate (as Shown in above figure) and app id creation process using Enterprise Distribution Credentials of your app on Apple Member Center.
Now you have to create IPA file with Enterprise Distribution option in  xcode (as shown in below picture).
But you have to fill  2 required field for creating ipa file with distribution option (as shown in below picture).

    1. Application URL: Fully qualified HTTP or HTTPS URL of the app(.ipa) file eg. http://example-domain.com/installer/your-ipa-file-name.ipa
   3. Title:
Name of app

After filling these details, it create manifest file (xml format .plist file) along with IPA file. Now check apple instruction.


Apple Instruction:
Constructing your website

Upload these items to an area of your website that your authenticated users can access:


  • The app (.ipa) file
  • The manifest (.plist) file

Your website design can be as simple as a single page that links to the manifest file. When a user taps a web link, the manifest file is downloaded, which triggers the downloading and installation of the apps it describes.

Here’s a sample link:
 
<html>
<body>

<h1>Download IPA</h1>

<a href="itms-services://?action=download-manifest&url=http://example.com/
manifest.plist">Install App</a>

</body>
</html>
NOTE: Please dont change highlighted yellow text in above url. 
Don’t add a web link to the archived app (.ipa). It’s downloaded by the device when the manifest file is loaded. Although the protocol portion of the URL is itms-services, the iTunes Store isn’t involved in this process.

Setting server MIME types

You may need to configure your web server so that the manifest file and app file are transmitted correctly.

For Mac OS X Server, use Server Admin to add the following MIME types to the MIME Types settings:

application/octet-stream ipa

text/xml plist

For IIS, use IIS Manager to add the MIME type in the Properties page of the server:

.ipa application/octet-stream

.plist text/xml

Sunday, March 25, 2012

iOS UI Elements Size Guidelines


Description
Size for iPhone and iPod touch (in pixels)
Size for high-resolution iPhone and iPod touch (in pixels)
Size for iPad (in pixels)
Size for high-resolution iPad (in pixels)
Guidelines
Application icon (requiredfor all apps)57 x 57114 x 11472 x 72144 x 144“Application Icons”
App icon for the App Store (required for all apps)512 x 5121024 x 1024512 x 5121024 x 1024“Application Icons”
Launch image (required for all apps)320 x 480640 x 960768 x 1004 (portrait)
1024 x 748 (landscape)
1536 x 2008 (portrait)
2048 x 1496 (landscape)
“Launch Images”
Small icon for Spotlight search results and Settings (recommended)29 x 2958 x 5850 x 50 (Spotlight search results)
29 x 29 (Settings)
100 x 100 (Spotlight search results)
58 x 58 (Settings)
“Small Icons”
Document icon (if necessary for custom document types)22 x 2944 x 5864 x 64
320 x 320
128 x 128
640 x 640
“Document Icons”
Web clip icon (recommended for web apps and websites)57 x 57114 x 11472 x 72144 x 144“Web Clip Icons”
Toolbar and navigation bar icon (optional)Approximately 20 x 20Approximately 40 x 40Approximately 20 x 20Approximately 40 x 40“Icons for Navigation Bars, Toolbars, and Tab Bars”
Tab bar icon (optional)Approximately 30 x 30Approximately 60 x 60Approximately 30 x 30Approximately 60 x 60“Icons for Navigation Bars, Toolbars, and Tab Bars”
Default Newsstand cover icon for the App Store (required for Newsstand apps)At least 512 pixels on the longest edgeAt least 1024 pixels on the longest edgeAt least 512 pixels on the longest edgeAt least 1024 pixels on the longest edge“Newsstand Icons”