Sha256: 9668ac978ce8fccb902a44a94bba5dbe7d404316067d572cf906601760ae39df

Contents?: true

Size: 443 Bytes

Versions: 5

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

5 entries across 5 versions & 1 rubygems

Version Path
xcake-0.8.13 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb
xcake-0.8.12 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb
xcake-0.8.10 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb
xcake-0.8.9 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb
xcake-0.8.8 lib/xcake/xcodeproj_ext/PBXNativeTarget.rb