Sha256: 21333c511bd0c7e471854b741f6314a73007dc9524abda9902e349a02189f8cc

Contents?: true

Size: 443 Bytes

Versions: 10

Compression:

Stored size: 443 Bytes

Contents

require 'xcodeproj'

module Xcodeproj
  class Project
    module Object
      class PBXNativeTarget
        def build_phase_by_class(phase_class)
          find_or_create_build_phase_by_class(phase_class)
        end

        def library_target_type?
          case symbol_type
          when :framework, :dynamic_library, :static_library
            true
          else
            false
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
xcake-0.13.0 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb
xcake-0.12.1 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb
xcake-0.12.0 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb
xcake-0.11.0 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb
xcake-0.10.0 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb
xcake-0.9.4 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb
xcake-0.9.3 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb
xcake-0.9.2 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb
xcake-0.9.1 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb
xcake-0.9.0 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb