我从https://github.com/material-components/material-components-ios派生material,这是我的派生https://github.com/goodboygb1/material-components-ios
然后我尝试使用CocoaPods安装这个分支,但是我得到了这个错误[!] Unable to find a specification for 'Material'.
这是我的播客文件
platform :ios, '12.0'
use_frameworks!
inhibit_all_warnings!
workspace 'CalCal'
def mainPods
pod 'OneSignal', '~> 2.10.1'
end
def corePods
pod 'AlamofireNetworkActivityLogger', '~> 2.4'
pod 'Kingfisher', '~> 5.2.0'
pod 'NVActivityIndicatorView'
pod 'SwipeView'
pod 'Material', :git => 'https://github.com/goodboygb1/material-components-ios.git'这是我MaterialComponents.podspec的头部部分
load 'scripts/generated/icons.rb'
Pod::Spec.new do |mdc|
mdc.name = "MaterialComponents"
mdc.version = "124.2.0"
mdc.authors = "The Material Components authors."
mdc.summary = "A collection of stand-alone production-ready UI libraries focused on design details."
mdc.homepage = "https://github.com/goodboygb1/material-components-ios"
mdc.license = "Apache 2.0"
mdc.source = { :git => "https://github.com/goodboygb1/material-components-ios.git",
:tag => "v#{mdc.version}" }
mdc.platform = :ios
mdc.requires_arc = true
mdc.ios.deployment_target = '11.0'我怎么才能修复它?谢谢
发布于 2021-11-04 07:54:47
您可以对MaterialComponents使用pod文件。检查下面的图像。

https://stackoverflow.com/questions/69835594
复制相似问题