https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
e

Edgars Malahovskis

02/27/2024, 2:11 PM
Hi! I am trying to integrate sentry to kmp project, but when adding pod to gradle file (together with swiftlint) everything goes wrong. As it seems, SentryPrivate is beiong put into synthetic folder and linting by some reason is failing with : shared/build/cocoapods/synthetic/ios/Pods/SentryPrivate/Sources/Swift/Tools/HTTPHeaderSanitizer.swift69: error: Identifier Name Violation: Variable name ‘_securityHeaders’ should only contain alphanumeric and other allowed characters (identifier_name) What also is interesting, that no matter what I do in .swiftlint.yml file, I have no options to ignore SentryPrivate. Any ideas on what is wrong and how to fix this?
2 Views