Summary: When trying to compress an Xcode project in Finder, I sometimes get 'An error occurred while adding "" to the archive.' It turns out that this is caused by removing the .pbxuser and .perspectivev3 files inside the .xcodeproj directory. Steps to Reproduce: 1. Switch to Finder. 2. Open "~/Documents" folder 3. Select View, as Columns from the main menu. 2. Launch Xcode. 3. Create a new project "FinderSucks" and save it at "~/Documents/FinderSucks". 4. Quit Xcode. 5. Switch to Finder. 6. Select "~/Documents/FinderSucks/FinderSucks.xcodeproj" and double-click to open in Xcode. 7. Quit Xcode. 8. Switch to Finder. 9. Select "~/Documents/FinderSucks". 10. Launch Terminal. 11. cd Documents/FinderSucks/FinderSucks.xcodeproj 12. rm *.pbxuser 13. rm *.perspectivev3 14. Quit Terminal 15. Switch to Finder. 16. Select "~/Documents/FinderSucks" 17. Bring up the contextual menu, and select Compress "FinderSucks". Expected Results: An archive "FinderSucks.zip" is created. Actual Results: An error occurred while adding "" to the archive. Regression: I'm running 10.5.7 on a 2.33 GHz Intel Core 2 Duo MacBook Pro. This bug also occurs on an 1.83 GHz Intel Core Duo iMac. Notes: You can work around the issue by quitting and re-starting Finder. Also, if in step 9 you have FinderSucks.xcodeproj selected rather than its enclosing folder, the bug does not occur. In that case, you can see the preview of the FinderSucks.xcodeproj 'blink' when you rm the .pbxuser and .perspectivev3 file in Terminal. I believe that the .DS_Store within the "~/Documents/FinderSucks" directory is crucial to this bug, though I'm not sure exactly how. See also <rdar://problem/5407279> for this same issue, I think.