Re: Xcode 4 Release Builds
Re: Xcode 4 Release Builds
- Subject: Re: Xcode 4 Release Builds
- From: Aaron Burghardt <email@hidden>
- Date: Thu, 04 Aug 2011 17:59:24 -0400
On Jul 22, 2011, at 8:59 PM, Seth Willits wrote:
> On Jul 21, 2011, at 10:39 PM, Quincey Morris wrote:
>
>> a. I don't understand why you're getting a folder hierarchy from the "Share" option. My guess is it's something to do with the installation/deployment build settings.
>
> Right. Some setting wonkiness from and Xcode 3 project I suppose. I guess it's a non-issue once I sort the settings out.
>
>
I wonder if you are seeing behavior/bug that I just noticed. I have been creating archives for several months now as permanent archives (i.e., the apparent intended use). The project I'm working in has a number of targets, some which are included in the main GUI app and some which are utilities for my own use and are not distributed. What I just realized is that I have two versions in the application list, one with the main app's icon and the other with a generic archive icon. If I select the item with the icon, then the version number and the identifier are displayed in the Application Info section of the window; selecting the other item, I get a generic icon and no version or identifier.
I dug into the archive by right-clicking on an archive and choosing "Show in Finder", then "Show Package Contents" on the archive. At the root is an Info.plist file. The generic version of my app looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ArchiveVersion</key>
<real>1</real>
<key>Comment</key>
<string>v1.2.3</string>
<key>CreationDate</key>
<date>2011-08-04T20:13:54Z</date>
<key>Name</key>
<string>MyGreatApp</string>
<key>SchemeName</key>
<string>MyGreatApp</string>
</dict>
</plist>
Archives under the app list item with the icon look like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ApplicationProperties</key>
<dict>
<key>ApplicationPath</key>
<string>Users/me/Applications/MyGreatApp.app</string>
<key>CFBundleIdentifier</key>
<string>com.mycompany.MyGreatApp.app</string>
<key>CFBundleShortVersionString</key>
<string>1.2.3</string>
</dict>
<key>ArchiveVersion</key>
<real>1</real>
<key>Comment</key>
<string>v1.2.3</string>
<key>ContainsNonAppFiles</key>
<true/>
<key>CreationDate</key>
<date>2011-08-04T15:24:11Z</date>
<key>Name</key>
<string>MyGreatApp</string>
<key>SchemeName</key>
<string>MyGreatApp</string>
</dict>
</plist>
Obviously, in some cases my archive builds specify the application properties and in other cases they do not. When I "Share" the archive, the first version only lets me export the entire archive hierarchy, but the second version lets me select just the app itself and exports it directly to the folder I select (i.e., it will put the app on the Desktop, if I choose). It sounds like you are getting the archive without the application properties, Seth.
Now to figure out why...
Aaron
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden