lib/cocoapods-xcframework/frameworker.rb in cocoapods-bb-xcframework-0.2.5 vs lib/cocoapods-xcframework/frameworker.rb in cocoapods-bb-xcframework-0.2.6
- old
+ new
@@ -1,21 +1,22 @@
module Pod
class Frameworker
include PodUtil
include DirUtil
include Config::Mixin
- def initialize(name, source, spec_sources, subspecs, configuration, force, use_modular_headers=true, enable_bitcode=false, symbols=true, support_maccatalyst=true)
+ def initialize(name, source, spec_sources, subspecs, configuration, force, use_modular_headers=true, enable_bitcode=false, symbols=true, support_maccatalyst=true, support_dynamic=false)
@name = name
@source = source
@spec_sources = spec_sources
@subspecs = subspecs
@configuration = configuration
@force = force
@use_modular_headers = use_modular_headers
@enable_bitcode = enable_bitcode
@symbols = symbols
@support_maccatalyst = support_maccatalyst
+ @support_dynamic = support_dynamic
end
def run
spec = spec_with_path @name
@is_spec_from_path = true if spec
@@ -60,10 +61,11 @@
Dir.pwd,
sandbox_root,
spec,
@configuration,
@symbols,
- @support_maccatalyst
+ @support_maccatalyst,
+ @support_dynamic
)
builder.build
builder.outputs target_dir
target_dir
end
\ No newline at end of file