Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SourceKittenFramework/library_wrapper.swift:31: Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed [1] 66032 trace trap swiftlint #4602

Closed
2 tasks done
tahabebek opened this issue Nov 29, 2022 · 3 comments

Comments

@tahabebek
Copy link
Contributor

tahabebek commented Nov 29, 2022

New Issue Checklist

Describe the bug

A clear and concise description of what the bug is.
"swiftlint" command on terminal fails with error:

SourceKittenFramework/library_wrapper.swift:31: Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed
[1]    66032 trace trap  swiftlint
Complete output when running SwiftLint, including the stack trace and command used
$ swiftlint lint
SourceKittenFramework/library_wrapper.swift:31: Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed
[1]    66439 trace trap  swiftlint lint

Environment

  • SwiftLint version (run swiftlint version to be sure)?
    0.50.1
  • Installation method used (Homebrew, CocoaPods, building from source, etc)?
    Homebrew
  • Paste your configuration file:
# insert yaml contents here
only_rules:
    - trailing_newline
    - colon
    - comma
    - block_based_kvo
    - closing_brace
    - closure_parameter_position
    - comment_spacing
    - computed_accessors_order
    - control_statement
    - custom_rules
    - deployment_target
    - discouraged_direct_init
    - duplicate_imports
    - duplicated_key_in_dictionary_literal
    - dynamic_inline
    - empty_enum_arguments
    - empty_parameters
    - empty_parentheses_with_trailing_closure
    - generic_type_name
    - redundant_optional_initialization
    - statement_position
    - trailing_whitespace
    - vertical_whitespace
    - trailing_semicolon
    - void_return
    - unused_closure_parameter
    - trailing_comma
    - syntactic_sugar
    - legacy_constructor
    - switch_case_alignment
    - opening_brace
    - return_arrow_whitespace
    - redundant_void_return
    - redundant_objc_attribute
    - redundant_discardable_let
    - operator_whitespace
    - no_space_in_method_call
    - mark
    - leading_whitespace
excluded:
  - Pods
  • Are you using nested configurations? NO
    If so, paste their relative paths and respective contents.
  • Which Xcode version are you using (check xcodebuild -version)?
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Actually, using XCode 14.1

@tahabebek
Copy link
Contributor Author

duplicate of #3565

@AndreiBoariu
Copy link

@tahabebek Any update for this ?
Were you able to jump over this error?

@duyhungtnn
Copy link

@AndreiBoariu this should fix the problem #1466 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants