0

I am looking for the ability to install and use pod for only one exact build configuration in my project. I assume that something needs to be done in Podfile. Is there any way to do it?

zhanch
  • 145
  • 1
  • 8

1 Answers1

1

Use this format

# Podfile

platform :ios, '12.0'
    
# Available pods for all targets
def available_pods
    pod 'AFNetworking'
    pod 'Reachability'
end

target 'targetName1' do
  available_pods
end

target 'targetName2' do
    available_pods
    pod 'YourTargetSpecificPod'
end
Sreekuttan
  • 1,579
  • 13
  • 19
  • thanks I king of used another technic that worked for me :configurations => 'Mybuildconfigl' – zhanch Jul 25 '22 at 09:48