Variants Setup fails for new project on M1 machine
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
- Create new iOS project
- Create variants.yml in root folder
- install Variants using Homebrew
- Execute command
variants setup - See error
Expected behavior Success message stating that variants was setup correctly
Can you show me your variants.yml?
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 ?
We couln't reproduce the issue anymore so I'm closing this issue. In case we have more information it can be re-opened in the future.