Apps archived in Xcode should be compressed or otherwise ignored by the OS

Originator:robotspacer
Number:rdar://11725933 Date Originated:22-Jun-2012 05:50 AM
Status:Open Resolved:
Product:Mac OS X SDK Product Version:4.3.3
Classification:UI/Usability Reproducible:Always
 
Summary: Apps that are archived in the Xcode organizer (in ~/Library/Developer/Xcode/Archives/) should be compressed or stored in some manner that forces them to be ignored by the OS. I've been having more and more problems where archived apps are getting registered for URL schemes, AppleScripts, Spotlight importing, and so on. It's extremely frustrating and a simple change like storing the apps in zip files would solve it.

Steps to Reproduce:
1. Create an app in Xcode.
2. Choose Archive from the Product menu.
3. Make some changes to the app.
4. Choose Archive from the Product menu.
5. Click the "Distribute…" button to save out another copy of the app.
6. Move that version to your Applications folder, desktop, etc.

Expected Results: The latest version of the app should get registered for any URLs, AppleScripts, Spotlight importing, and so on. Any archived copies of the app (in ~/Library/Developer/Xcode/Archives/) should be completely ignored… they shouldn't get used for these purposes, show up in the "Open With" menu when opening a file, etc.

Actual Results: Good luck getting predictable behavior without deleting or at least manually compressing all your archived apps.

Regression: As far as I know this has always been an issue with the archive system

Notes: As a nice side effect, compressing the apps would also save some space. I'd prefer to see iOS apps handled in the same way—the other day I had the system try to launch the iOS version of my app when I was testing an AppleScript.

Comments

duped as 11760440


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!