fastlane-old / snapshot

Automate taking localized screenshots of your iOS app on every device
https://fastlane.tools
1.96k stars 141 forks source link

fastlane init issue #459

Closed suchita-sindhi-bs closed 8 years ago

suchita-sindhi-bs commented 8 years ago

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'
i2amsam commented 8 years ago

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

suchita-sindhi-bs commented 8 years ago

Hi,

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

ohayon commented 8 years ago

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?

suchita-sindhi-bs commented 8 years ago

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#

suchita-sindhi-bs commented 8 years ago

Please provide solutions as fast as you can

Thank you,

ohayon commented 8 years ago

What is the issue you are having exactly?

suchita-sindhi-bs commented 8 years ago

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.

ohayon commented 8 years ago

would you mind sharing the entire output from your terminal?

ohayon commented 8 years ago

I am going to close this and move discussion to https://github.com/fastlane/fastlane/issues/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!

fastlanebot commented 8 years ago

This issue was migrated to https://github.com/fastlane/fastlane/issues/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 :rocket: