Method: Pod::Specification::DSL#module_map=

Defined in:
lib/cocoapods-core/specification/dsl.rb

#module_map=(module_map) ⇒ Object

The module map file that should be used when this pod is integrated as a framework.

false indicates that the default CocoaPods modulemap file should not be generated.

true is the default and indicates that the default CocoaPods modulemap file should be generated.


By default, CocoaPods creates a module map file based upon the public headers in a specification.

Examples:


spec.module_map = 'source/module.modulemap'

spec.module_map = false

Parameters:

  • module_map (String, Bool)

    the path to the module map file that should be used or whether to disable module_map generation.



1562
1563
1564
# File 'lib/cocoapods-core/specification/dsl.rb', line 1562

attribute :module_map,
:types => [TrueClass, FalseClass, String],
:root_only => true