ios - When I run pod install, using cocoapods gem, I get a LoadError -
i've installed ruby 2.1.1 , rails 4 via rvm. i'm able install cocoapods gem fine, if put in pods in pods file installed , run 'pod install', following error
――― markdown template ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ### report * did do? * did expect happen? * happened instead? ### stack ``` cocoapods : 0.29.0 ruby : ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0] rubygems : 2.2.2 host : mac os x 10.9.1 (13b42) xcode : 5.0.2 (5a3005) ruby lib dir : /users/mwallace/.rvm/rubies/ruby-2.1.1/lib repositories : master - https://github.com/cocoapods/specs.git @ 358968cdff6fe6a41e7861b805f6f4ac573c9fad ``` ### podfile ```ruby platform :ios, '7.0' pod 'svprogresshud' ``` ### error ``` loaderror - dlopen(/users/mwallace/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/digest/sha1.bundle, 9): symbol not found: _rb_digest_sha1_finish referenced from: /users/mwallace/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/digest/sha1.bundle expected in: flat namespace in /users/mwallace/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/digest/sha1.bundle - /users/mwallace/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/digest/sha1.bundle /users/mwallace/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require' /users/mwallace/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-downloader-0.3.0/lib/cocoapods-downloader/base.rb:149:in `cache_path' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-downloader-0.3.0/lib/cocoapods-downloader/git.rb:195:in `cache_exist?' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-downloader-0.3.0/lib/cocoapods-downloader/git.rb:31:in `download!' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-downloader-0.3.0/lib/cocoapods-downloader/base.rb:101:in `block in download' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/downloader.rb:25:in `block in ui_action' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/user_interface.rb:52:in `section' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/downloader.rb:24:in `ui_action' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-downloader-0.3.0/lib/cocoapods-downloader/base.rb:99:in `download' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/installer/pod_source_installer.rb:101:in `download_source' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/installer/pod_source_installer.rb:64:in `install!' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:263:in `install_source_of_pod' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:237:in `block (2 levels) in install_pod_sources' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/user_interface.rb:73:in `titled_section' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:236:in `block in install_pod_sources' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:234:in `each' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:234:in `install_pod_sources' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:103:in `block in download_dependencies' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/user_interface.rb:52:in `section' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:101:in `download_dependencies' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:87:in `install!' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/command/project.rb:38:in `run_install_with_update' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/command/project.rb:68:in `run' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/claide-0.4.0/lib/claide/command.rb:213:in `run' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/lib/cocoapods/command.rb:51:in `run' /users/mwallace/.rvm/gems/ruby-2.1.1@global/gems/cocoapods-0.29.0/bin/pod:24:in `<top (required)>' /users/mwallace/.rvm/rubies/ruby-2.1.1/bin/pod:23:in `load' /users/mwallace/.rvm/rubies/ruby-2.1.1/bin/pod:23:in `<main>' /users/mwallace/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `eval' /users/mwallace/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `<main>'
```
maybe need put version svprogresshud, this:
pod 'svprogresshud', '~> 1.0'
Comments
Post a Comment