Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[Target] Added support for headers.

  • Loading branch information...
commit 5c116edd9460175b01cdb8b23fb3a23408409970 1 parent 50d9f88
@fabiopelosin fabiopelosin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/xcodeproj/project/object/native_target.rb
View
2  lib/xcodeproj/project/object/native_target.rb
@@ -123,7 +123,7 @@ def add_source_files(source_file_descriptions)
file = (files + new_files).find { |file| file.path == path.to_s } || @project.files.new('path' => path.to_s)
build_file = file.build_files.new
- if path.extname == '.h'
+ if (path.extname == '.h' || path.extname == '.hpp')
build_file.settings = { 'ATTRIBUTES' => ["Public"] }
# Working around a bug in Xcode 4.2 betas, remove this once the Xcode bug is fixed:
# https://github.com/alloy/cocoapods/issues/13
Please sign in to comment.
Something went wrong with that request. Please try again.