Top Level Namespace

Defined Under Namespace

Modules: AnnFlavorCore, AnnFlavorFastlane, Fastlane

Instance Method Summary collapse

Instance Method Details

#annai_ios_podfile_setup(installer) ⇒ Object

Accessible directly in the Podfile's post_install block.



25
26
27
28
29
30
31
32
33
# File 'lib/fastlane/plugin/ann_flavor_fastlane.rb', line 25

def annai_ios_podfile_setup(installer)
  if defined?(AnnFlavorFastlane::PodspecBridge)
    AnnFlavorFastlane::PodspecBridge.apply_build_settings(installer)
  else
    # Fallback if Fastlane UI isn't loaded
    msg = "[Annai] Bridge not found. Check gem installation."
    defined?(UI) ? UI.error(msg) : puts("\e[31m#{msg}\e[0m")
  end
end