Coder Social home page Coder Social logo

Comments (8)

partnerings avatar partnerings commented on August 26, 2024 1

@ashfurrow yes I did mean downloading the dependencies. I updated the Ruby version and some other things the terminal told me were out of date. I don't think the Pod update was one of them.

I've just deleted my previous repo of eidolon, downloaded again, run those commands, and updated fastlane. Now it's giving me this prompt:

Screen Shot 2019-11-05 at 9 04 35 AM

But it won't accept my password. When I deny it gives me the error template below, in bright red.

+------+---------------------------------------------------------------+-------------+
| fastlane summary |
+------+---------------------------------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+---------------------------------------------------------------+-------------+
| 1 | Verifying fastlane version | 0 |
| 2 | Switch to oss_keys lane | 0 |
| 3 | cd .. ; bundle exec pod keys set ArtsyAPIClientSecret '-' Eid | 11 |
| 💥 | cocoapods | 34 |
+------+---------------------------------------------------------------+-------------+

[09:20:09]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...

/Users/princespells/.rvm/gems/ruby-2.4.6/gems/fastlane-2.134.0/fastlane_core/lib/fastlane_core/ui/interface.rb:153:in `shell_error!': [!] (FastlaneCore::Interface::FastlaneShellError)
――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

Command

/Users/princespells/.rvm/gems/ruby-2.4.6/bin/pod install --repo-update

Report

  • What did you do?

  • What did you expect to happen?

  • What happened instead?

Stack

   CocoaPods : 1.5.3
        Ruby : ruby 2.4.6p354 (2019-04-01 revision 67394) [x86_64-darwin18]
    RubyGems : 3.0.6
        Host : Mac OS X 10.14.6 (18G103)
       Xcode : 11.1 (11A1027)
         Git : git version 2.21.0 (Apple Git-122)
Ruby lib dir : /Users/princespells/.rvm/rubies/ruby-2.4.6/lib
Repositories : artsy - https://github.com/artsy/Specs.git @ 9431b43197fdbc624313baaad986a21f6c4d2168
               master - https://github.com/CocoaPods/Specs.git @ b9f1d13d9638f9a0691453b24eae0391a82739bb

Plugins

cocoapods-check       : 1.0.2
cocoapods-deintegrate : 1.0.2
cocoapods-keys        : 2.0.6
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.3.1
cocoapods-try         : 1.1.0

Podfile

source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/artsy/Specs.git'

plugin 'cocoapods-keys', {
  :project => 'Eidolon',
  :keys => [
    'ArtsyAPIClientSecret',
    'ArtsyAPIClientKey',
    'HockeyProductionSecret',
    'HockeyBetaSecret',
    'SegmentWriteKey',
    'CardflightProductionAPIClientKey',
    'CardflightProductionMerchantAccountToken',
    'StripeProductionPublishableKey',
    'CardflightStagingAPIClientKey',
    'CardflightStagingMerchantAccountToken',
    'StripeStagingPublishableKey'
  ]
}

platform :ios, '10.0'
use_frameworks!

# Yep.
inhibit_all_warnings!

target 'Kiosk' do

  # Artsy stuff
  pod 'Artsy+UIColors'
  pod 'Artsy+UILabels'
  pod 'Artsy-UIButtons'

  if ENV['ARTSY_STAFF_MEMBER'] != nil || ENV['CI'] != nil
      pod 'Artsy+UIFonts'
  else
      pod 'Artsy+OSSUIFonts'
  end

  pod 'ORStackView', '2.0'
  pod 'FLKAutoLayout', '0.1.1'
  pod 'ARCollectionViewMasonryLayout', '~> 2.0.0'
  pod 'SDWebImage', '~> 3.7'
  pod 'SVProgressHUD'
  
  # Required as a workaround for https://github.com/bitstadium/HockeySDK-iOS/pull/421
  pod 'HockeySDK-Source', git: 'https://github.com/bitstadium/HockeySDK-iOS.git'
  pod 'ARAnalytics/Segmentio'
  pod 'ARAnalytics/HockeyApp'

  pod 'CardFlight-v4'
  pod 'Stripe'
  pod 'ECPhoneNumberFormatter'
  pod 'UIImageViewAligned', :git => 'https://github.com/ashfurrow/UIImageViewAligned.git'
  pod 'DZNWebViewController', :git => 'https://github.com/orta/DZNWebViewController.git'
  pod 'ReachabilitySwift'

  pod 'UIView+BooleanAnimations'
  pod 'ARTiledImageView'
  pod 'XNGMarkdownParser'
  pod 'ISO8601DateFormatter'

  # Swift pods
  pod 'SwiftyJSON'
  pod 'RxSwift'
  pod 'RxCocoa'
  pod 'RxOptional'
  pod 'Moya/RxSwift'
  pod 'NSObject+Rx'
  pod 'Action'

  target 'KioskTests' do
    inherit! :search_paths

    pod 'FBSnapshotTestCase'
    pod 'Nimble-Snapshots'
    pod 'Quick'
    pod 'Nimble'
    pod 'RxNimble'
    pod 'Forgeries'
    pod 'RxBlocking'

  end
end

Error

RuntimeError - Can't fetch password from system
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/osx_keychain-1.0.2/lib/osx_keychain.rb:14:in `get'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/osx_keychain-1.0.2/lib/osx_keychain.rb:14:in `[]'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-keys-2.0.6/lib/keyring.rb:56:in `keychain_value'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-keys-2.0.6/lib/keyring.rb:44:in `keychain_has_key?'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-keys-2.0.6/lib/preinstaller.rb:38:in `block in setup'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-keys-2.0.6/lib/preinstaller.rb:37:in `each'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-keys-2.0.6/lib/preinstaller.rb:37:in `setup'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-keys-2.0.6/lib/plugin.rb:17:in `setup'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-keys-2.0.6/lib/plugin.rb:11:in `block in singleton class'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/lib/cocoapods/hooks_manager.rb:109:in `block (3 levels) in run'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:142:in `message'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/lib/cocoapods/hooks_manager.rb:103:in `block (2 levels) in run'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/lib/cocoapods/hooks_manager.rb:101:in `each'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/lib/cocoapods/hooks_manager.rb:101:in `block in run'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:142:in `message'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/lib/cocoapods/hooks_manager.rb:100:in `run'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:424:in `run_plugins_pre_install_hooks'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:139:in `block in prepare'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:142:in `message'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:135:in `prepare'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:115:in `install!'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/lib/cocoapods/command/install.rb:41:in `run'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:52:in `run'
/Users/princespells/.rvm/gems/ruby-2.4.6/gems/cocoapods-1.5.3/bin/pod:55:in `<top (required)>'
/Users/princespells/.rvm/gems/ruby-2.4.6/bin/pod:23:in `load'
/Users/princespells/.rvm/gems/ruby-2.4.6/bin/pod:23:in `<main>'
/Users/princespells/.rvm/gems/ruby-2.4.6/bin/ruby_executable_hooks:24:in `eval'
/Users/princespells/.rvm/gems/ruby-2.4.6/bin/ruby_executable_hooks:24:in `<main>'

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

from eidolon.

ashfurrow avatar ashfurrow commented on August 26, 2024

Hey! Thanks for the issue, I'd be happy to help. Can you let me know what Xcode and macOS version that you're using? And can you confirm that you ran both of these commands, from the Readme?

bundle install
bundle exec fastlane oss

Thanks!

from eidolon.

partnerings avatar partnerings commented on August 26, 2024

Hello, Thanks for replying. I did run both commands. My OS is 10.14.6, and my Xcode is 11.1.
I ran the commands from within the eidolon folder. It took a while because there were dozens of dependencies I had to update. The folder looks like this.
Screen Shot 2019-11-02 at 9 14 19 AM

from eidolon.

partnerings avatar partnerings commented on August 26, 2024

I meant to say that I ran those commands before, but I am still experiencing the errors.

from eidolon.

ashfurrow avatar ashfurrow commented on August 26, 2024

@partnerings thanks for the response. Can I clarify, when you said "dozens of dependencies to update", did you mean downloading them? I want to make sure you didn't run pod update by accident or anything. If you had previous cloned this repo, can you try deleting the Pods directory and trying again? ie:

rm -rf Pods
bundle install
bundle exec fastlane oss

This is always a good step to try if you're having problems with dependencies like this.

I ran into some problems installing the RubyGems dependencies from master. If you pull those changes (or re-clone the repo) then it might work better. Let me know if can clarify anything – I know these kinds of setup problems can be frustrating when you just want to see how the code works, but I'm happy to help here.

from eidolon.

ashfurrow avatar ashfurrow commented on August 26, 2024

@partnerings the prompt asking for your password is to be expected, and it will ask you 11 times (once for each key). So it may be that it was accepting your password but was asking for it again. Does re-running the commands help?

from eidolon.

partnerings avatar partnerings commented on August 26, 2024

@ashfurrow Thanks! it worked. I followed through with the prompts and it loaded and built. There are a few errors still showing. I will try to work through them... I'll be back to ask more questions soon.

Thanks a lot for your help.

from eidolon.

ashfurrow avatar ashfurrow commented on August 26, 2024

Awesome, glad it worked! Let me know if I can help.

from eidolon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.