variants icon indicating copy to clipboard operation
variants copied to clipboard

Variants Setup fails for new project on M1 machine

Open dubeboy opened this issue 3 years ago • 2 comments

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 avatar Jan 19 '23 12:01 dubeboy

Can you show me your variants.yml?

arthurpalves avatar Feb 13 '23 11:02 arthurpalves

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 ?

GMinucci avatar Jun 23 '23 09:06 GMinucci

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.

GMinucci avatar Jan 17 '25 08:01 GMinucci