class Xcodeproj::Project::Object::PBXNativeTarget

def frameworks_build_phase

Returns:
  • (PBXFrameworksBuildPhase) - the frameworks build phase.

Other tags:
    Note: - A target should have only one frameworks build phase.
def frameworks_build_phase
  phase = build_phases.find { |bp| bp.class == PBXFrameworksBuildPhase }
  unless phase
    phase= project.new(PBXFrameworksBuildPhase)
    build_phases << phase
  end
  phase
end