Sha256: 9d5c7589c55ddac00c5310878298998ea0123bdc3cc8a7085159bdf1a8e2e163

Contents?: true

Size: 512 Bytes

Versions: 2

Compression:

Stored size: 512 Bytes

Contents

Pod::HooksManager.register('cocoapods-static-swift-framework', :pre_install) do |installer_context|

    # check user_framework is on
    podfile = installer_context.podfile
    podfile.target_definition_list.each do |target_definition|
        next if target_definition.name == "Pods"
        if not target_definition.uses_frameworks?
            STDERR.puts "[!] Cocoapods-static-swift-framework requires `use_frameworks!`".red
            exit
        end
    end

    require_relative 'patch/static_pod'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cocoapods-static-swift-framework-0.5 lib/cocoapods-static-swift-framework/main.rb
cocoapods-static-swift-framework-0.4 lib/cocoapods-static-swift-framework/main.rb