我想切换到使用beta podspec,并根据文档更新我的Podfile,并收到了“无法找到MaterialComponentsbeta`‘规范”的错误。
复制步骤
复制行为的步骤:
Podfile更新pod 'MaterialComponentsBeta', :git => 'https://github.com/material-components/material-components-ios', :branch => 'develop'pod install.预期行为
安装适当的pod库
实际行为
收到以下错误:
Analyzing dependencies
Pre-downloading: `AlertOnboarding` from `https://github.com/doronkatz/AlertOnboarding.git`, branch `master`
Pre-downloading: `MaterialComponentsBeta` from `https://github.com/material-components/material-components-ios`, branch `develop`
[!] Unable to find a specification for 'MaterialComponentsBeta'.
[!] Unable to load a podspec from `MaterialComponentsSnapshotTests.podspec`, skipping:
Pod::DSLError
[!] Unable to load a podspec from `MaterialComponents.podspec`, skipping:
Pod::DSLError
[!] Unable to load a podspec from `MaterialComponentsBeta.podspec`, skipping:
Pod::DSLError平台(请填写以下信息)
发布于 2019-03-23 11:01:11
我认为您使用错误的url,您应该尝试跟踪以解决您的问题。
pod 'MaterialComponentsBeta', :git => 'https://github.com/material-components/material-components-ios.git'请参阅本文档材料设计贝塔元件
https://stackoverflow.com/questions/55310410
复制相似问题