添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
不敢表白的台灯  ·  ReplicationController ...·  3 天前    · 
瘦瘦的马克杯  ·  Running Spark on ...·  2 周前    · 
刚毅的单杠  ·  Mysql pod restart ...·  2 周前    · 
傲视众生的葡萄  ·  k8s coredns显示0/1 ...·  2 周前    · 
没有腹肌的沙滩裤  ·  pom.xml 详解 · Maven·  1 周前    · 
阳刚的青蛙  ·  GitHub - ...·  1 月前    · 
读研的键盘  ·  3 Positional ...·  7 月前    · 
暴走的排球  ·  8.9 发行注记 Red Hat ...·  8 月前    · 
  • iOS push notifications behavior when app is deleted and then reinstalled
  • Set auto increment in Core data iOS
  • How good is SecRandomCopyBytes?
  • Recommended IoC framework for iOS?
  • MAC addresses in iOS 10.2
  • redirect to appstore or google play
  • How can I resolve a red (moved) file in Xcode 5?
  • Get Timezone/country from iPhone
  • Best practices for making a queue of NSURLSessionTasks
  • Convert Xamarin.Forms.Color to platform specific color
  • iphone

  • Comparing an NSDate to [NSDate date]
  • How to delay Default.png?
  • Touch events are not triggered on video tags on safari for iPhone
  • Can I code for iPhone in Vala?
  • How to hide UITabBarController programmatically?
  • Convert NSString UPPERCASE into Capitalized
  • Convert a CGPoint from a UIView coordinate system to a CALayer coordinate system
  • Multiple computers with a standard iPhone developer program
  • UILabel visible part of text
  • Application Loader: "No eligible applications were found."
  • I renamed my Existing library to github, I changed everything and things are working fine apart from it's not validating my library now by - pod spec lint KJCircularSlider.podspec for trunk push. I checked my folder structure and it looks perfect, anyone can help me what can be the actual issue?
    Here is my library if you want to check folder structure - KJCircularSlider

    Here is my podspec file.

    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.
      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' => '[email protected]' }
      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'
                                                

    I've solved my issue by changing version number of my pod.
    I've renamed my KJCurveSlider library to KJCircularSlider, because of major changes in library I wouldn't be able to push it using pod trunk push. I was constantly receiving following error when I tried to validate using pod spec lint library.podspec, nevertheless I had mention perfect path of s.source_files in podspec
    - ERROR | [iOS] file patterns: Thesource_filespattern did not match any file.
    Then I updated version from 0.1.0 to 0.2.0, it validated successfully

  • ERROR | [iOS] file patterns: The `source_files` pattern did not match any file
  • iOS file patterns: The `source_files` pattern did not match any file
  • The `source_files` pattern did not match any file
  • Why am I getting the error ''FirebaseCore/FirebaseCore.h' file not found' when trying to run my iOS app
  • UIWebView does not refresh a PDF file located on my server in my iOS application after changes to the source document
  • iOS error "Embedded binary is not signed with the same certificate as the parent app"
  • swift 3 error : Argument labels '(_:)' do not match any available overloads
  • iOS Error Code=-1003 "A server with the specified hostname could not be found."
  • Cannot open file from iOS Files app via the Open In <My App> share sheet: no file at the provided file URL exists
  • Login through Facebook using OAuth issue with Firebase (App_id in the input_token did not match the Viewing App)
  • score:0

    Something to keep in mind is that pod spec lint will pretty much ignore any local files other than the podspec, and try to clone/copy whatever the spec.source is set to in order to run its diagnostics.

    One possible source for this error is if for some reason the spec.source is inaccessible (say, the exact tag that you specify isn't present in the repository, like a 1.0 versus v1.0 mismatch).

    So making sure the repo/tag is accessible is a good debugging step if nothing else makes sense.

    Also note that the result of the cloning/copying operation will be cached, stored under the pod's name/version combination, so if you make fixes without incrementing the version, you will have to clear out the cache before the fixes will work.

    I've met this problem too. The path I set for s.source_files = 'Pod/Classes/**/*' is absolutely right. I got

    The 'source_files' pattern did not match any file` error

    because there's no file within classes folder. After putting my library files in it, problem solved.

    Similar Question and Answer

  • yoga/Yoga.h header file not found after react-native(0.40.0) integration in the existing iOS app
  • iOS Error Code=-1003 “A server with the specified hostname could not be found.”
  • IOS Run custom shell script 'embed pods framework' file not found error
  • How to resolve "PCH file not found" error coming in the code?
  • iframe content from external source not loading in local HTML file on iOS
  • License file does not exist in the specified bundle iOS app
  • In Swift 3, how to fix an error about argument labels do not match any available overloads for String type?
  • Receiving MailChimp error "Your request did not include an API key." even though the API key is included using Alamofire
  • iOS 13.3.1 error "dyld: Library not loaded:...Reason: no suitable image found. Did find:..." application crash [swift][xcode]
  • Why is all objective c source files recompiled when I modify any swift file in my project?
  • score:1

    For me I tried to change the Classes directory to Sources to make it future compatible with Swift Package Manager, and got this error.

    - ERROR | [iOS] file patterns: The `source_files` pattern did not match any file.
    

    the line from my podspec:

    s.source_files = 'EvolvSDK/Sources/**/*'

    and my file structure looked as such:

    |-EvolvSDK
        |-sources/
            |-Utility/
                |-Log.swift
    

    I changed the sources directory name to classes and changed my podspec:

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

    Now it passes validation. the confusing part is that the directory is lowercase, and the podspec has uppercase. If anyone knows why that is, please add a comment as this is my first cocoapod and I'm trying to understand how it all works.

    I encountered this error after creating a new pod with the pod lib create command. Wouldn't pass out of the box. For me, having the 'Classes' in the file path broke it. I changed nothing about the setup, yet it still wouldn't pass validation. I changed s.source_files = 'MyLib/Classes/*' to s.source_files = 'MyLib/**/*' and it passed. What it is, it is.

  • the problem can occur if you have your pod source (Classes) and .podspec nested in some directory (for example /RepositoryName/Classes). So pod spec lint won't find it, regardless .podspec file is near /Classes folder. So, optinally you can do something like this:
  • s.source_files = '**/Classes/**/*.{swift}'

    so **/ this part does search inside nested folders.

  • Another option is that pod cached, you can do

    pod cache clean YOUR_POD_NAME

    or clean Pods cache directory

    /Users/<#ur user name#>/Library/Caches/CocoaPods/Pods 
    I don't think that changing the version of the pod is the right answer, because, probably all it does, force pods to use a new cache. It is not the correct answer, because you probably don't want to push a new version, but still fix the problem?

    More questions

  • GPUImage3 simulator error (`Error: MPS does not support the iOS simulator.')
  • iOS URLSession Error "JSON text did not start with array or object and option to allow fragments not set."
  • iOS Cocoapods file not found error
  • The spec did not pass validation, due to 1 error
  • How can I fix error: pathspec 'git-practice-project/git-practice-project' did not match any file(s) known to git
  • LayerKit iOS - newConversationWithParticipants is failing in swift 2.0 but do/catch is not catching anything from the thrown error
  • Podspec The pattern INCLUDES header files that are not listed in source_files
  • swift error : Argument labels '(_:)' do not match any available overloads
  • Unit test error says argument does not match any available overloads
  • iOS Core Data + iCloud error for addPersistentStoreWithType: You don’t have permission to save the file “store” in the folder
  • More questions with similar tag

  • objectID not found error while fetching NSManagedObject context in Core Data
  • How do I align a button under a label in Xcode 6?
  • How can I create a text with Checkbox in SwiftUI?
  • Swift: calculating atan2(y,x) for FloatingPoint numbers?
  • Two Collection Views in One View Controller iOS
  • Moving Google Maps Camera to a Location
  • swift video compression removes sound when video length gets to a certain amount
  • Trouble using loadHTMLString in Swift
  • UITableViewCell Selected Background Color on Multiple Selection
  • Why not change my background and title after accelerometer data is recieved? SWIFT
  • Update multiple objects with Parse?
  • Value of type 'String' has no member 'stringByRemovingPercentEncoding in Swift 3
  • UserDefaults.didChangeNotification not firing
  • Including a shell escape character in a Swift string
  • Get image file type programmatically in swift
  • CocoaPods framework with dependencies - include of non-modular header inside framework module How to change back button color in nav bar? Difference between setting an NSMutableURLRequest header and adding one Request for a simple example for GKStateMachine? How are private properties used in the Swift language? Most optimal way to increment or initialize an Int in a Swift Dictionary Check OS version using Swift on Mac OS X Running an iOS7 project under Xcode 6 - Image assets don't show up Get a range from a string How to get MAC address from OS X with Swift
  •