Before you start, are you using the latest CocoaPods release?
A lot changes with Xcode releases that are not backwards compatible.Not an issue about the CocoaPods command line app? Please file an issue in the appropriate repo - https://github.com/CocoaPods
Issues are for feature requests, and bugs; questions should go to Stack OverflowUsing CocoaPods <= 0.39: http://blog.cocoapods.org/Sharding/
Using Xcode 8: Requires CocoaPods 1.1.0 or above.
Issue with Nanaimo not loading:
Please run[sudo] gem uninstall nanaimoand remove all but the latest version.Issues with
pod search? Try deleting your cacherm -rf ~/Library/Caches/CocoaPodsfirst.
We tried "pod spec lint" for a .podspec from "https://github.com/AltairEven/ALSAliPay.git"
with pod version of 1.1.1 and 1.4.0.beta.1
We got "pod lib lint" succeed first, so "pod spec lint" should be success as before.
But "pod spec lint" failed with errors like belows
-> ALSAlipay (0.0.1)
- ERROR | [iOS] file patterns: The source_files pattern did not match any file.
- ERROR | [iOS] file patterns: The resources pattern did not match any file.
- ERROR | [iOS] file patterns: The vendored_frameworks pattern did not match any file.
- ERROR | [iOS] file patterns: The public_header_files pattern did not match any file.
Analyzed 1 podspec.
[!] The spec did not pass validation, due to 4 errors.
https://github.com/AltairEven/ALSAliPay.git
commit: 0fd255f702db062e9795b17e526ec7652181596d [0fd255f]
Move the podspec to the root of the repo and not inside the ALSAAliPay folder.
Thanks for your reply, it works.
As a suggestion, if you could provide the whole path with ERROR info, then we 'll be very thankful.
Just like "- ERROR | [iOS] file patterns: The source_files pattern did not match any file from 'xx/xx'"
Anyway, thanks again.
I tried so many way but i found same error again and again
-> PODNAME (1.1)
- ERROR | [iOS] file patterns: The source_files pattern did not match any file.
- NOTE | xcodebuild: note: Using new build system
- NOTE | [iOS] xcodebuild: note: Planning build
- NOTE | [iOS] xcodebuild: note: Constructing build description
- NOTE | [iOS] xcodebuild: warning: Skipping code signing because the target does not have an Info.plist file. (in target 'App')
Most helpful comment
Move the podspec to the root of the repo and not inside the
ALSAAliPayfolder.