Skip to content

Commit

Permalink
Add basic support for Resources Build Phase.
Browse files Browse the repository at this point in the history
  • Loading branch information
pbernery committed Oct 4, 2012
1 parent 5a53472 commit 3efb815
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/xcodeproj/project/object/build_phase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def initialize(*)
end
end

class PBXResourcesBuildPhase < PBXBuildPhase; end
class PBXSourcesBuildPhase < PBXBuildPhase; end
class PBXFrameworksBuildPhase < PBXBuildPhase; end

Expand Down
4 changes: 4 additions & 0 deletions lib/xcodeproj/project/object/native_target.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ def shell_script_build_phases
build_phases.list_by_class(PBXShellScriptBuildPhase)
end

def resources_build_phases
build_phases.list_by_class(PBXResourcesBuildPhase)
end

# Adds source files to the target.
#
# @note
Expand Down

0 comments on commit 3efb815

Please sign in to comment.