Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCODE auto save code when build and run?

How to tell Xcode to save the source code automatically without prompting, each time I hit on the build and run?

like image 878
Sukitha Udugamasooriya Avatar asked Feb 16 '10 06:02

Sukitha Udugamasooriya


2 Answers

  1. Xcode preferences
  2. Pick 'Building' tab
  3. Lower right corner "For unsaved files:" pick "Always save".
like image 122
Carl Norum Avatar answered Dec 14 '22 02:12

Carl Norum


Xcode Preferences → Building → Build Options → For Unsaved Files → Always Save?

like image 20
zoul Avatar answered Dec 14 '22 03:12

zoul