pod install
Analyzing dependencies
Downloading dependencies
Installing Material (3.1.0)
[!] Error installing Material
[!] /usr/local/bin/git clone https://github.com/CosmicMind/Material.git /var/folders/l0/qjbxjsm93n7fb1gmkwv1lplh0000gn/T/d20190516-68026-xbdiv2 --template= --single-branch --depth 1 --branch 3.1.0
Cloning into '/var/folders/l0/qjbxjsm93n7fb1gmkwv1lplh0000gn/T/d20190516-68026-xbdiv2'...
warning: Could not find remote branch 3.1.0 to clone.
fatal: Remote branch 3.1.0 not found in upstream origin
Hey thank you for sharing this. I think it was a tagging issue. Can you try now, I updated the tags.
Works, thanks.
Anytime!
I have slightly similar issue trying to get the swift 4.2 version.
tried setting pod to '3.0' or '3.0.0', neither worked:
[!] CocoaPods could not find compatible versions for pod "Material":
In Podfile:
Material (= 3.0.0)
None of your spec sources contain a spec satisfying the dependency: `Material (= 3.0.0)`.
any suggestions?
@v-andr Did you try pod install --repo-update?
tried right now with pod 'Material', '~> 3.0.0', same error
also pod 'Material', '3.0.0', pod 'Material', '3.0' - no luck
Use this for now:
pod 'Material', git => 'https://github.com/CosmicMind/Material.git', :branch => 'swift-4.2'
pod 'Motion', git => 'https://github.com/CosmicMind/Motion.git', :branch => 'swift-4.2'
We will take a look. Thanks!
worked with
pod 'Material', :git => 'https://github.com/CosmicMind/Material.git', :branch => 'swift-4.2'
pod 'Motion', :git => 'https://github.com/CosmicMind/Motion.git', :branch => 'swift-4.2'
thanks a lot!
@kylebrowning @v-andr I set the tags incorrectly. Now it is all fixed. Sorry about that. Thank you @OrkhanAlikhanov for the suggested fix.
@danieldahan I was trying to install Material 3.0.0 and failed with following message [!] CocoaPods could not find compatible versions for pod "Material":
In Podfile:
Material (~> 3.0.0)
Please help me. Thank you
Hi @SalMinoz, it should be working now. I made a fix yesterday. May you try again? Thank you!
@danieldahan this seems to be an issue still for 3.0. After pod repo update, these are the tags Cocoapods only recognized:
Material (3.1.6)
A UI/UX framework for creating beautiful applications.
pod 'Material', '~> 3.1.6'
- Homepage: http://cosmicmind.com
- Source: https://github.com/CosmicMind/Material.git
- Versions: 3.1.6, 3.1.5, 3.1.4, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 2.16.4, 2.16.3, 2.16.2, 2.16.1, 2.16.0, 2.15.0, 2.14.0, 2.13.7, 2.13.6,
2.13.5, 2.13.4, 2.13.3, 2.13.2, 2.13.1, 2.13.0, 2.12.19, 2.12.18, 2.12.17, 2.12.16, 2.12.15, 2.12.14, 2.12.13, 2.12.12, 2.12.11, 2.12.10,
2.12.9, 2.12.8, 2.12.7, 2.12.6, 2.12.5, 2.12.4, 2.12.3, 2.12.2, 2.12.1, 2.12.0, 2.11.4, 2.11.3, 2.11.2, 2.11.1, 2.11.0, 2.10.4, 2.10.3,
2.10.2, 2.10.1, 2.10.0, 2.9.4, 2.9.3, 2.9.2, 2.9.1, 2.9.0, 2.8.1, 2.8.0, 2.7.1, 2.7.0, 2.6.3, 2.6.2, 2.6.1, 2.6.0, 2.5.2, 2.5.1, 2.5.0,
2.4.19, 2.4.18, 2.4.17, 2.4.16, 2.4.15, 2.4.14, 2.4.13, 2.4.12, 2.4.11, 2.4.10, 2.4.9, 2.4.8, 2.4.7, 2.4.6, 2.4.5, 2.4.4, 2.4.3, 2.4.2,
2.4.1, 2.4.0, 2.3.22, 2.3.21, 2.3.20, 2.3.19, 2.3.18, 2.3.17, 2.3.16, 2.3.15, 2.3.14, 2.3.13, 2.3.12, 2.3.11, 2.3.10, 2.3.9, 2.3.8, 2.3.7,
2.3.6, 2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.3.1, 2.3.0, 2.2.5, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0, 2.1.2, 2.1.1, 2.1.0, 2.0.0, 1.42.9, 1.42.8,
1.42.7, 1.42.6, 1.42.5, 1.42.4, 1.42.3, 1.42.2, 1.42.1, 1.42.0, 1.41.8, 1.41.7, 1.41.6, 1.41.5, 1.41.4, 1.41.3, 1.41.2, 1.41.1, 1.41.0,
1.40.1, 1.40.0, 1.39.17, 1.39.16, 1.39.15, 1.39.14, 1.39.13, 1.39.12, 1.39.11, 1.39.10, 1.39.9, 1.39.8, 1.39.7, 1.39.6, 1.39.5, 1.39.4,
1.39.3, 1.39.2, 1.39.1, 1.39.0, 1.38.5, 1.38.4, 1.38.3, 1.38.2, 1.38.1, 1.38.0, 1.37.3, 1.37.2, 1.37.1, 1.37.0, 1.36.0, 1.35.3, 1.35.2,
1.35.1, 1.35.0, 1.34.10, 1.34.9, 1.34.8, 1.34.7, 1.34.6, 1.34.5, 1.34.4, 1.34.3, 1.34.2, 1.34.1, 1.34.0, 1.33.2, 1.33.1, 1.33.0, 1.32.2,
1.32.1, 1.32.0, 1.31.6, 1.31.5, 1.31.4, 1.31.3, 1.31.2, 1.31.1, 1.31.0, 1.30.2, 1.30.1, 1.30.0, 1.29.4, 1.29.3, 1.29.2, 1.29.1, 1.29.0,
1.28.1, 1.28.0 [master repo]
- Subspecs:
- Material/Core (3.1.6)
@schystz the 3.0 branch was never published to CocoaPods as it was a deviation from the original to support Swift 4.2, whereas immediately after 3.1 with support for Swift 5 was released. What I should have done was publish 3.0 and then 3.1 to CocoaPods. Are you set on Swift 4.2 as of now? If so, we can come up with a solution to help you out.
@danieldahan we have just actually migrated our project to Swift 4.2, so until we get another chance we plan to stick with it. But no worries, @orkhanalikhano's workaround worked fine for me. Thanks a lot guys!
Use this for now:
pod 'Material', git => 'https://github.com/CosmicMind/Material.git', :branch => 'swift-4.2' pod 'Motion', git => 'https://github.com/CosmicMind/Motion.git', :branch => 'swift-4.2'We will take a look. Thanks!
@schystz great news. Thank you for letting me know. All the best!