Material icon indicating copy to clipboard operation
Material copied to clipboard

Error on installing Material cocoapods

Open rmulr opened this issue 9 years ago • 8 comments

Hello there,

i am new to iOs development. Just trying to create my first app where i would like to use your great library.

Right now i stuck here

pod install Analyzing dependencies [!] Unable to find a specification for Material (~> 2.0)``

Podfile

Uncomment the next line to define a global platform for your project
platform :ios, '9.0'

target 'firstApp' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for firstApp  
  pod 'Material', '~> 2.0'

  target 'firstAppTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'firstAppakUITests' do
    inherit! :search_paths
    # Pods for testing
  end

end

rmulr avatar Aug 07 '17 19:08 rmulr

Hey :) Welcome to iOS and Material.

This is what you Podfile:

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'firstApp' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for firstApp
pod 'Material', '~> 2.0'

end

Let me know how it turns out. Thank you!

daniel-jonathan avatar Aug 07 '17 20:08 daniel-jonathan

If you have any further trouble, please reopen or create a new issue. Thank you!

daniel-jonathan avatar Aug 07 '17 21:08 daniel-jonathan

Still the same message

**pod install
Analyzing dependencies
[!] Unable to find a specification for `Material (~> 2.0)`**

rmulr avatar Aug 07 '17 22:08 rmulr

What version of CocoaPods are you using?

daniel-jonathan avatar Aug 07 '17 22:08 daniel-jonathan

cocoapods-1.3.1

rmulr avatar Aug 07 '17 22:08 rmulr

Okay, send me your project please, I want to try and install it :)

daniel-jonathan avatar Aug 07 '17 22:08 daniel-jonathan

Its actually a complete blank Xcode project based on a swift single view application. Hold, on just trying to complete reinstall cocoapods.

Update: Problem solved after reinstallation. Thanks for your kind help

rmulr avatar Aug 07 '17 22:08 rmulr

I installed Successfully using this:

pod 'Material', '~> 2.0'

kjhatis avatar Dec 14 '17 08:12 kjhatis