Monday, August 22, 2011

Nightmare on Distribution Street

Unable to build distribution on Xcode 4.1

Settings:

X Code Version: 4.1

OS Version: Mac OS X 10.7 (Lion)


Sunday, August 21, 2011

Application Launch Images




.png

The portion of the filename is either the string Default or a custom string that you specify using the UILaunchImageFile key in your application’s Info.plist file. The portion is the optional string @2x and should be included only for images intended for use on Retina displays. Other optional modifiers may also be included in the name, and several standard modifiers are discussed in the sections that follow.

Device

Portrait

Landscape

iPhone and iPod touch

320 x 480 pixels
640 x 960 pixels (high resolution)

Not supported

iPad

768 x 1004 pixels

1024 x 748 pixels




Modifier

Description

-PortraitUpsideDown 

Specifies an upside-down portrait version of the launch image. A file with this modifier takes precedence over a file with the -Portrait modifier for this specific orientation.

-LandscapeLeft 

Specifies a left-oriented landscape version of the launch image. A file with this modifier takes precedence over a file with the -Landscape modifier for this specific orientation.

-LandscapeRight 

Specifies a right-oriented landscape version of the launch image. A file with this modifier takes precedence over a file with the -Landscape modifier for this specific orientation.

-Portrait

Specifies the generic portrait version of the launch image. This image is used for right-side up portrait orientations and takes precedence over the Default.png image file (or your custom-named replacement for that file). If a file with the -PortraitUpsideDown modifier is not specified, this file is also used for upside-down portrait orientations as well.

-Landscape

Specifies the generic landscape version of the launch image. If a file with the -LandscapeLeft or -LandscapeRight modifier is not specified, this image is used instead. This image takes precedence over the Default.png image file (or your custom-named replacement for that file).

(none)

If you provide a launch image file with no orientation modifier, that file is used when no other orientation-specific launch image is available. Before iOS 3.2, this is the only supported launch image file type and must be named Default.png.



The following device modifiers are recognized for launch images in iOS 4.0 and later:

  • ~ipad. The launch image should be loaded on iPad devices only.

  • ~iphone. The launch image should be loaded on iPhone or iPod touch devices only.

App ID



  • Bundle seed ID - 10 hex digit (generated by apple)
  • Bundle Identifier - suffix, reverse dns (e.g. com.clampett.applicationname)




Wildcard (*) can be used for Bundle Identifier to use this for a suite of applications.


Key time

Create Certificate Signing Request (CSR) from Keychain Access

xxx-Info.plist

first file opened as part of launch of an app bundle.
contains key-value entries

Bundle Identifier : com.yourcompany.${someid}
Main nib file base name:
iPhone: NSMainNibFile - MainWindow_iPhone
iPad: NSMainNibFile~ipad - MainWindow_iPad

xib are xml version of nib

Objective C Programming Language

116 pages of learning here:

PDF