Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use #if Debug for new custom configurations #12087

Open
1 task done
KiritoBeater opened this issue Oct 10, 2023 · 0 comments
Open
1 task done

Cannot use #if Debug for new custom configurations #12087

KiritoBeater opened this issue Oct 10, 2023 · 0 comments

Comments

@KiritoBeater
Copy link

KiritoBeater commented Oct 10, 2023

Report

What did you do?

  1. Add two new configurations named "dev_debug" and "dev_release" in Configurations of the main project
  2. ....
  3. Run pod install

What did you expect to happen?

  1. Able use #if DEBUG in Source code of Pods for "dev_debug" configuration
  2. The Build Settings for "dev_debug" configuration is same as "Debug" configuration in Pods.xcodeproj.
  3. The Build Settings for "dev_release" configuration is same as "Release" configuration in Pods.xcodeproj.

What happened instead?

  1. The #if DEBUG in Source code of Pods don't work for "dev_debug" configuration
  2. The Build Settings for configurations named "dev_debug" and "dev_release" are same as "Release" configuration in Pods.xcodeproj.

CocoaPods Environment

   CocoaPods : 1.11.3
        Ruby : ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin22]
    RubyGems : 3.0.3.1
        Host : macOS 13.4.1 (22F82)
       Xcode : 14.3.1 (14E300c)
         Git : git version 2.39.2 (Apple Git-143)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant