Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
This paste will be private.
default_dir = File.dirname(@project_path) + "/build" prefs = Xcode.preferences dir = [ prefs['PBXProductDirectory'], prefs['PBXApplicationwideBuildSettings'] && prefs['PBXApplicationwideBuildSettings']['SYMROOT'], default_dir ].map { |e| e && File.expand_path(e) }.find { |path| path && File.directory?(path) }
Pasted September 21, 2007 6:27PM EDT
by Allan Odgaard (duff)
Embed