lib/cocoapods-jxedt/binary/podfile_dsl.rb in cocoapods-jxedt-0.0.16 vs lib/cocoapods-jxedt/binary/podfile_dsl.rb in cocoapods-jxedt-0.0.17

- old
+ new

@@ -15,9 +15,16 @@ def framework_header_search_enabled! Jxedt.config.dsl_config.merge!({'framework_header_search_enabled': true}) end + # 统一设置是否使用binary + def use_binary_settings(options=nil) + return if options.nil? + return unless options.is_a?(Hash) + Jxedt.config.dsl_config.merge!({'use_binary_settings': options}) + end + def cocoapods_jxedt_config(options) Jxedt.config.dsl_config.merge!(options) Jxedt.config.validate_dsl_config end end \ No newline at end of file