Sha256: 7f2a610638ffc77d0f27ce566adcf020dc8579d186b878b21517ddcb9a2d6845

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 Bytes

Contents

Pod::HooksManager.register('cocoapods-static-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-framework requires `use_frameworks!`".red
            exit
        end
    end

    require_relative 'patch/static_pod'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cocoapods-static-framework-1.0.1 lib/cocoapods-static-framework/main.rb