Bug 13934 - When creating an Archive in Ad-Hoc mode, add ITunesArtwork files to the bundle
Summary: When creating an Archive in Ad-Hoc mode, add ITunesArtwork files to the bundle
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: Trunk
Hardware: PC Mac OS
: --- enhancement
Target Milestone: master
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2013-08-12 17:45 UTC by Brendan Zagaeski (Xamarin Team, assistant)
Modified: 2013-09-06 19:09 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Brendan Zagaeski (Xamarin Team, assistant) 2013-08-12 17:45:00 UTC
Filed on behalf of a user.

Here's a work-flow where bundling ITunesArtwork when archiving might be acceptable:
1. Include iTunesArtwork files in the project, and mark them with the build action `ITunesArtwork`.
2. [Optional] Build the application in Ad-Hoc mode.
3. Build & Archive the application (in Ad-Hoc mode).
4. Send the Archive to another user.
5. The second user opens the Archive in the Xcode organizer.
6. The second user Distributes the Archive as an IPA, signing it with new credentials.


Result:
The `.ipa` file created at step 6 does not contain the ITunesArtwork files because they are not included in the Archive. The `.ipa` file created at step 2 *does* contain the ITunesArtwork files, presumably because Xamarin Studio knows that iTunes will look for them there, and so adds them.


Possible change:
Treat the ITunesArtwork files as `BundleResource` when Archiving in Ad-Hoc mode. Keep the behavior as-is (leave out the artwork) when archiving with "Build ad-hoc/enterprise package (IPA)" turned off.


Potential problems:
- This creates two different "kinds" of archives from the same project. That said, people writing iOS apps with Xcode are likely creating this other kind of Archive as an intermediate step in producing IPA files that have artwork, if I'm not mistaken.

- This might conflict with Apple's guidelines.


The most relevant Apple reference I've found is marked as "Retired":
http://developer.apple.com/legacy/library/documentation/Xcode/Conceptual/ios_development_workflow/15-Configuring_Applications/configuring_applications.html#//apple_ref/doc/uid/TP40007959-CH19-SW14
Comment 2 Jeffrey Stedfast 2013-09-06 19:09:12 UTC
Implemented in git master