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

[iOS] - False positive when generating Variants.swift #240

Open
arthurpalves opened this issue May 24, 2024 · 0 comments
Open

[iOS] - False positive when generating Variants.swift #240

arthurpalves opened this issue May 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@arthurpalves
Copy link
Collaborator

Environment

Variants:

  • Way of installation: Any
  • Version 1.2.1

Your machine:

  • OS: MacOS
  • Processor Apple Silicon

Project's platform:

  • Platform: iOS

Describe the bug

This relates to #205, when we rely on custom configs whose env option is set to true and python 2.7 isn't installed.
stdout states that Variants.swift has been generated successfully but it isn't.

Steps to reproduce

  1. Do not have Python 2.7 installed.
  2. Have at least 1 custom config setting env: true (regardless of the env var existing or not)
  3. Execute switch command to that variant.
  4. Variants prints to stdout that ⚙️ '[...]/Variants/Variants.swift' has been generated with success.
  5. Variants/ folder doesn't contain Variants.swift.

Expected behavior
A clear error message stating what happened and the steps to fix it.

@arthurpalves arthurpalves added the bug Something isn't working label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant