How to automate creation of new Xcode targets from Applescript/Automator/Shell Script

let me start with this script (for Xcode 4.2.1), Open an XCode project at /this/path/project.xcodeproj (done) Duplicate an existing target and rename it (not implemented) Edit the Build Settings of the new target (done) Add a group to the Source and Resources section, then rename them (done) Add source files to the groups, and add … Read more

warning build: Run script build phase ‘Module’ will be run during every build because it does not specify any outputs. To address this warning

See the script phase documentation for details, especially the “Specify the Input and Output Files for Your Script” section. You need to edit your build phase and specify which files your script is using as input (if any) and which files it’s going to generate. Using this information, the Xcode build process can determine whether … Read more

How to hide iOS simulator Tool Bar?

Assuming you want a nice screenshot with the device the following worked for me, from Swany’s answer on this Apple forum thread : In a terminal, disable shadows on Screenshots with the following command: defaults write com.apple.screencapture disable-shadow -bool TRUE; killall SystemUIServer Take a screenshot with Screencapture, either by selecting a region without the Toolbar, … Read more