Skip to content

Commit

Permalink
[NativeTarget] Set explicit file type for static libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed Oct 20, 2012
1 parent 395f65e commit 98c2336
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/xcodeproj/project/object/group.rb
Expand Up @@ -156,6 +156,8 @@ def new_static_library(product_name, sub_group_path = nil)
file = new_file("lib#{product_name}.a", sub_group_path)
file.include_in_index = '0'
file.source_tree = 'BUILT_PRODUCTS_DIR'
file.explicit_file_type = file.last_known_file_type
file.last_known_file_type = nil
file
end

Expand Down

0 comments on commit 98c2336

Please sign in to comment.