Sha256: 1f500543fd0885c0b115733020fb450b9df372bff94d4848a5a59e23d286fbc7

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

if Gem::Version.new(Pod::VERSION) < Gem::Version.new('1.7')

    module Pod
        class PodTarget
            def static_framework?
                return true
            end
        end
    end

else

    # cocoapods 1.7 change the implementation of :static_framework?
    # The 'BuildType' contain all related things.
    module Pod
        class Target
            class BuildType
                def linkage
                    :static
                end
            end
        end
    end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cocoapods-static-swift-framework-0.5 lib/cocoapods-static-swift-framework/patch/static_pod.rb