fastlane-old/snapshot

fastlane init issue

suchita-sindhi-bs opened this issue · 10 comments

  • I have 1.51.0 fastlane version on my Mac and when I run the command "fastlane init" then it shows me an error regarding snapshot and i have already install snapshot on my system and the version is
    1.4.4

When I run the command "fastlane init" then it ask me for "Do you want to setup 'snapshot', which will help you to automatically take screenshots of your iOS app in all languages/devices? (y/n)": ==> and when I type "y" then it shows me an error that I have mention below:

Do you want to setup 'snapshot', which will help you to automatically take
screenshots of your iOS app in all languages/devices? (y/n)
y
[13:05:09]: Loading up 'snapshot', this might take a few seconds
13:05:13: Error occurred with the setup program! Reverting changes now!

13:05:13: Deleting the 'fastlane' folder
fatal: Not a git repository (or any of the parent directories): .git
Successfully submitted a crash report. If this is a problem with one of the tools specifically,
please submit an issue on GitHub and attach the following number to it: 'cedca4e3a5744258db57bce6c0231949'
The crash report has been stored locally '/tmp/sentry_cedca4e3a5744258db57bce6c0231949.json'
Successfully submitted a crash report. If this is a problem with one of the tools specifically,
please submit an issue on GitHub and attach the following number to it: 'b9afabf0f843d4db9d1067b38b7d2fd0'
The crash report has been stored locally '/tmp/sentry_b9afabf0f843d4db9d1067b38b7d2fd0.json'

@suchita-sindhi-bs could you try the command again with the --verbose option?

Hi,

I have tried with --verbose as you said but it still not working

hey @suchita-sindhi-bs, it looks like you are using an old version of fastlane, could you run gem update fastlane and try this again? and if it doesn't work, could you paste in the full output from your terminal?

Hi, I run command "gem update fastlane" and then I run the command "fastlane init" then it ask me for :-->

Do you want to setup 'deliver', which is used to upload app screenshots, app
metadata and app updates to the App Store? This requires the app to be in the App
Store already. (y/n)

When I entered y then it downloads all existing screenshots but finally it shows like

'snapshot' not enabled.
[10:07:13]: 'cocoapods' not enabled.
[10:07:13]: 'carthage' not enabled.
[10:07:13]: Created new file './fastlane/Fastfile'. Edit it to manage your own deployment lanes.
[10:07:13]: fastlane will send the number of errors for each action to
[10:07:13]: https://github.com/fastlane/enhancer to detect integration issues
[10:07:13]: No sensitive/private information will be uploaded
[10:07:13]: You can disable this by adding opt_out_usage to your Fastfile
bash-3.2#

Please provide solutions as fast as you can

Thank you,

What is the issue you are having exactly?

Basically When i run the command 'fastlane init' then it asking me for 'Do you want to setup snapshot' when i type 'y' then it gives me error;

'snapshot' not enabled.

would you mind sharing the entire output from your terminal?

I am going to close this and move discussion to fastlane/fastlane#1428 as this issue is stemming from fastlane rather than snapshot @suchita-sindhi-bs could you please share the entire output from your terminal on that issue. Thanks!

This issue was migrated to fastlane/fastlane#2487. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀