Search code examples
objective-cswiftxcodecocoapods

Use Pod library for only development not for production


I have pod library which helps developer at development time but no use when the application is released, So is there anything which helps me.

  1. any changes in setting at the consumer side, which consume pod library. or
  2. any changes in setting in the pod library itself, because library is also created by me.

Solution

  • In podfile we need to add configuration to debug

    pod 'podname', :configurations => ['Debug']

    and below for release

    pod 'podname', :configurations => ['Release']