Method: Pod::Installer::Xcode::PodsProjectGenerator::PodTargetInstaller#old_add_swift_library_compatibility_header_phase

Defined in:
lib/cocoapods-lhj-bin/native/pod_target_installer.rb

#old_add_swift_library_compatibility_header_phaseVoid

Adds a shell script phase, intended only for library targets that contain swift, to copy the ObjC compatibility header (the -Swift.h file that the swift compiler generates) to the built products directory. Additionally, the script phase copies the module map, appending a ‘.Swift` submodule that references the (moved) compatibility header. Since the module map has been moved, the umbrella header is also copied, so that it is sitting next to the module map. This is necessary for a successful archive build.

Parameters:

  • native_target (PBXNativeTarget)

    the native target to add the Swift static library script phase into.

Returns:

  • (Void)
[View source]

22
# File 'lib/cocoapods-lhj-bin/native/pod_target_installer.rb', line 22

alias old_add_swift_library_compatibility_header_phase add_swift_library_compatibility_header_phase