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