gpt4 book ai didi

ios - 错误 | [iOS] 文件模式 : The `source_files` pattern did not match any file

转载 作者:可可西里 更新时间:2023-10-31 23:58:46 33 4
gpt4 key购买 nike

我将我的现有库重命名为 github,我更改了所有内容并且一切正常,除了它现在不验证我的库 - pod spec lint KJCircularSlider.podspec for trunk push。我检查了我的文件夹结构,它看起来很完美,任何人都可以帮助我实际的问题是什么?
如果您想检查文件夹结构,这是我的图书馆 - KJCircularSlider

这是我的 podspec 文件。

Pod::Spec.new do |s|
s.name = 'KJCircularSlider'
s.version = '0.1.0'
s.summary = 'Circular slider - to slide from 0 to 100 in circular shape'

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!

s.description = <<-DESC
TODO: Add long description of the pod here.
It's circular slider, It provides circular shape to slide around from 0 to 100 percent, You can use it when you required a circular shape on slider rather than traditional iOS line shape slider.
DESC

s.homepage = 'https://github.com/KiranJasvanee/KJCircularSlider'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Kiran Jasvanee' => 'kiran.jasvanee@yahoo.com' }
s.source = { :git => 'https://github.com/KiranJasvanee/KJCircularSlider.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/KiranJasvanee'

s.ios.deployment_target = '9.0'

s.source_files = 'Classes/**/*'

# s.resource_bundles = {
# 'KJCircularSlider' => ['KJCircularSlider/Assets/*.png']
# }

# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end

最佳答案

我已经通过更改 version number 解决了我的问题我的 pod 。
我重命名了我的 KJCurveSlider图书馆到KJCircularSlider ,由于库中的重大更改,我将无法使用 pod trunk push 推送它.当我尝试使用 pod spec lint library.podspec 进行验证时,我不断收到以下错误消息, 不过我提到了 s.source_files 的完美路径在 podspec
- ERROR | [iOS] file patterns: The源文件 pattern did not match any file.
然后我从0.1.0更新了版本至 0.2.0 , 验证成功

关于ios - 错误 | [iOS] 文件模式 : The `source_files` pattern did not match any file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43073261/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com