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

Variants Setup fails for new project on M1 machine #207

Open
dubeboy opened this issue Jan 19, 2023 · 2 comments
Open

Variants Setup fails for new project on M1 machine #207

dubeboy opened this issue Jan 19, 2023 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@dubeboy
Copy link
Contributor

dubeboy commented Jan 19, 2023

Environment

Variants:

  • Way of installation: Homebrew, v3.6.18
  • Version: 1.1.3

Your machine:

  • OS: MacOS
  • Processor: Apple M1 Pro

Project's platform:

  • Platform: iOS

Describe the bug

After installing variants using Homebrew on my M1 machine and I try to run variants setup on a new iOS project, I get the following error:

Something went wrong while generating 'Variants.secrets' in '../Variant/Variants.swift'
- Error Domain-NSPOSIXErrorDomain Code=13 "Permission denied" #0

Therefore leaving the setup in an incomplete state.

Steps to reproduce

  1. Create new iOS project
  2. Create variants.yml in root folder
  3. install Variants using Homebrew
  4. Execute command variants setup
  5. See error

Expected behavior
Success message stating that variants was setup correctly

@dubeboy dubeboy added the bug Something isn't working label Jan 19, 2023
@arthurpalves
Copy link
Collaborator

Can you show me your variants.yml?

@arthurpalves arthurpalves added this to the Release 1.1.4 milestone Mar 17, 2023
@GMinucci
Copy link
Contributor

It looks like this is not reproducible anymore. It may have been fixed with improved support to M1 by Homebrew. Can you check it again @dubeboy ?

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

3 participants