Commit 6d1c2fb5 authored by Samuel Giddins's avatar Samuel Giddins

[Project] Set explicit_file_type for the added Podfile file ref

parent 142d282f
......@@ -215,10 +215,11 @@ module Pod
# @return [PBXFileReference] The new file reference.
#
def add_podfile(podfile_path)
podfile_ref = new_file(podfile_path, :project)
podfile_ref.xc_language_specification_identifier = 'xcode.lang.ruby'
podfile_ref.last_known_file_type = 'text'
podfile_ref
new_file(podfile_path, :project).tap do |podfile_ref|
podfile_ref.xc_language_specification_identifier = 'xcode.lang.ruby'
podfile_ref.explicit_file_type = 'text.script.ruby'
podfile_ref.last_known_file_type = 'text'
end
end
# Adds a new build configuration to the project and populates it with
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment