class Xcodeproj::Project::Object::PBXNativeTarget
def headers_build_phase
-
(PBXHeadersBuildPhase)- the headers build phase.
Other tags:
- Note: - A target should have only one headers build phase.
def headers_build_phase unless @headers_build_phase headers_build_phase = build_phases.find { |bp| bp.class == PBXHeadersBuildPhase } unless headers_build_phase # Working around a bug in Xcode 4.2 betas, remove this once the # Xcode bug is fixed: # https://github.com/alloy/cocoapods/issues/13 # phase = copy_header_phase || headers_build_phases.first headers_build_phase = project.new(PBXHeadersBuildPhase) build_phases << headers_build_phase end @headers_build_phase = headers_build_phase end @headers_build_phase end