lib/cocoapods-framework/frameworker.rb in cocoapods-xcframework-0.0.4 vs lib/cocoapods-framework/frameworker.rb in cocoapods-xcframework-0.0.5
- old
+ new
@@ -1,17 +1,18 @@
module Pod
class Frameworker
include PodUtil
include DirUtil
include Config::Mixin
- def initialize(name, source, spec_sources, subspecs, configuration, force)
+ def initialize(name, source, spec_sources, subspecs, configuration, force, use_modular_headers)
@name = name
@source = source
@spec_sources = spec_sources
@subspecs = subspecs
@configuration = configuration
@force = force
+ @use_modular_headers = use_modular_headers
end
def run
spec = spec_with_path @name
@is_spec_from_path = true if spec
@@ -33,9 +34,10 @@
sandbox_installer = installation_root(
sandbox,
spec,
@subspecs,
@spec_sources,
+ @use_modular_headers
)
perform_build(
sandbox,
sandbox_installer,
\ No newline at end of file