Saturday, November 7, 2026
HomeiOS Developmentios - Error when excluding Cocoapods from SwiftLint

ios – Error when excluding Cocoapods from SwiftLint

[ad_1]

I am posting a query as a result of there’s one factor that may’t be solved.

SwiftLint has been put in and utilized to my venture, and cocoapods have been excluded utilizing the settings in .swiftlint.yml.

identifier_name:
    allowed_symbols: ["_"]
    validates_start_with_lowercase: false
    min_length:
        warning: 2
        
type_name:
    validates_start_with_lowercase: false


disabled_rules: # rule identifiers to exclude from operating
    - colon
    - comma
    - control_statement

opt_in_rules: # some guidelines are solely opt-in
    - empty_count
    - missing_docs
    # Discover all of the accessible guidelines by operating:
    # swiftlint guidelines

included: # paths to incorporate throughout linting. `--path` is ignored if current.
    - Supply

excluded: # paths to disregard throughout linting. Takes priority over `included`.
    - Pods

Nevertheless, as might be seen from the construct outcomes, errors by means of swiftprint are being detected in different libraries (rxcocoa, alamofire…) of cocoapods.

enter image description here

enter image description here

The place did I make a mistake?

Xcode Model :: 13.2.1 ,
Macbook Professional M1, cocoapods code.

# Uncomment the following line to outline a worldwide platform in your venture
# platform :ios, '9.0'

goal 'findT' do
  # Remark the following line should you do not wish to use dynamic frameworks

  pod 'SnapKit', '~> 5.0.0'
  pod 'SwiftLint'
  pod 'Alamofire', '~> 5.0'
  pod 'RxSwift', '~> 5'
  pod 'RxCocoa', '~> 5'
    # Pods for findT


finish

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments