diff --git a/Example/MobileCoreExample.xcodeproj/project.pbxproj b/Example/MobileCoreExample.xcodeproj/project.pbxproj index 5370231..c4f27a0 100644 --- a/Example/MobileCoreExample.xcodeproj/project.pbxproj +++ b/Example/MobileCoreExample.xcodeproj/project.pbxproj @@ -339,6 +339,7 @@ mainGroup = DE9221C01EF28CDF000C8FC7; packageReferences = ( D4E050652CCB4A5D0028D1CE /* XCLocalSwiftPackageReference "../../MobileCore" */, + D4E050702CCB516E0028D1CE /* XCRemoteSwiftPackageReference "SwiftLint" */, ); productRefGroup = DE9221CA1EF28CDF000C8FC7 /* Products */; projectDirPath = ""; @@ -731,6 +732,17 @@ }; /* End XCLocalSwiftPackageReference section */ +/* Begin XCRemoteSwiftPackageReference section */ + D4E050702CCB516E0028D1CE /* XCRemoteSwiftPackageReference "SwiftLint" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/realm/SwiftLint.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 0.57.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + /* Begin XCSwiftPackageProductDependency section */ D4E050632CCB470B0028D1CE /* MobileTheming */ = { isa = XCSwiftPackageProductDependency; diff --git a/fastlane/Fastfile b/fastlane/Fastfile index a7c48be..d30c3e4 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -13,6 +13,7 @@ end desc "Does a static analysis of the project. Configure the options in .swiftlint.yml" lane :lint do + brew install swiftlint swiftlint( mode: :lint, output_file: 'reports/swiftlint.txt',