class Xcodeproj::XCScheme
def save!
Requires that the XCScheme object was initialized using a file path.
file this XCScheme was created from, overriding the original file.
Serializes the current state of the object to the original ".xcscheme"
def save! raise Informative, 'This XCScheme object was not initialized ' \ 'using a file path. Use save_as instead.' unless @file_path File.open(@file_path, 'w') do |f| f.write(to_s) end end