Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Saving Files

Xcode indicates which files you’ve modified by highlighting their icons in gray in the Groups & Files list, detail view, and in the pop-up menu of recently viewed files. You can save your changes in a number of ways:

Xcode can also be configured to automatically save all changed files before beginning a build. To specify whether files are saved automatically when you build a target:

  1. Choose Xcode > Preferences and click Building.

  2. In the “For Unsaved Files” menu, choose Ask Before Building, Always Save, Never Save, or Cancel Build.

If you don’t have write permission for a file, Xcode warns you when you try to edit it. You can choose to edit such files, but you can save your changes only if you have write permission for the containing folder. In this case, you can choose whether Xcode changes the file’s permissions to make it writable.

To have Xcode change the file’s permissions, choose Xcode > Preferences, click Text Editing, and select “Save files as writable” in Save Options. Otherwise, Xcode preserves the file’s current permissions.



< Previous PageNext Page > Hide TOC


Last updated: 2006-11-07




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice