lib/cocoapods-xcframework/frameworker.rb in cocoapods-bb-xcframework-0.1.0 vs lib/cocoapods-xcframework/frameworker.rb in cocoapods-bb-xcframework-0.2.0
- old
+ new
@@ -1,20 +1,21 @@
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)
+ def initialize(name, source, spec_sources, subspecs, configuration, force, use_modular_headers=true, enable_bitcode=false, symbols=true, support_maccatalyst=true)
@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
end
def run
spec = spec_with_path @name
@is_spec_from_path = true if spec
@@ -58,10 +59,11 @@
installer,
Dir.pwd,
sandbox_root,
spec,
@configuration,
- @symbols
+ @symbols,
+ @support_maccatalyst
)
builder.build
builder.outputs target_dir
target_dir
end
\ No newline at end of file