Skip to content

Commit 7d8bce6

Browse files
committed
💚 Fix: SwiftLint 버전 문제 수정
1 parent d08978f commit 7d8bce6

File tree

2 files changed

+14
-26
lines changed

2 files changed

+14
-26
lines changed

iOS/Layover/Layover.xcodeproj/project.pbxproj

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -346,11 +346,11 @@
346346
FC7E45322AFEB623004F155A /* Sources */,
347347
FC7E45332AFEB623004F155A /* Frameworks */,
348348
FC7E45342AFEB623004F155A /* Resources */,
349-
FC7E456B2AFEC0BD004F155A /* SwiftLint Script */,
350349
);
351350
buildRules = (
352351
);
353352
dependencies = (
353+
194552192B03DD7A00299768 /* PBXTargetDependency */,
354354
);
355355
name = Layover;
356356
packageProductDependencies = (
@@ -474,27 +474,6 @@
474474
};
475475
/* End PBXResourcesBuildPhase section */
476476

477-
/* Begin PBXShellScriptBuildPhase section */
478-
FC7E456B2AFEC0BD004F155A /* SwiftLint Script */ = {
479-
isa = PBXShellScriptBuildPhase;
480-
buildActionMask = 2147483647;
481-
files = (
482-
);
483-
inputFileListPaths = (
484-
);
485-
inputPaths = (
486-
);
487-
name = "SwiftLint Script";
488-
outputFileListPaths = (
489-
);
490-
outputPaths = (
491-
);
492-
runOnlyForDeploymentPostprocessing = 0;
493-
shellPath = /bin/sh;
494-
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
495-
};
496-
/* End PBXShellScriptBuildPhase section */
497-
498477
/* Begin PBXSourcesBuildPhase section */
499478
FC7E45322AFEB623004F155A /* Sources */ = {
500479
isa = PBXSourcesBuildPhase;
@@ -552,6 +531,10 @@
552531
/* End PBXSourcesBuildPhase section */
553532

554533
/* Begin PBXTargetDependency section */
534+
194552192B03DD7A00299768 /* PBXTargetDependency */ = {
535+
isa = PBXTargetDependency;
536+
productRef = 194552182B03DD7A00299768 /* SwiftLintPlugin */;
537+
};
555538
FC7E454E2AFEB62C004F155A /* PBXTargetDependency */ = {
556539
isa = PBXTargetDependency;
557540
target = FC7E45352AFEB623004F155A /* Layover */;
@@ -876,8 +859,8 @@
876859
isa = XCRemoteSwiftPackageReference;
877860
repositoryURL = "https://github.com/realm/SwiftLint";
878861
requirement = {
879-
kind = upToNextMajorVersion;
880-
minimumVersion = 0.54.0;
862+
branch = main;
863+
kind = branch;
881864
};
882865
};
883866
/* End XCRemoteSwiftPackageReference section */
@@ -888,6 +871,11 @@
888871
package = 194551FB2B03863B00299768 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */;
889872
productName = KakaoSDK;
890873
};
874+
194552182B03DD7A00299768 /* SwiftLintPlugin */ = {
875+
isa = XCSwiftPackageProductDependency;
876+
package = FC7E456D2AFF6E44004F155A /* XCRemoteSwiftPackageReference "SwiftLint" */;
877+
productName = "plugin:SwiftLintPlugin";
878+
};
891879
/* End XCSwiftPackageProductDependency section */
892880
};
893881
rootObject = FC7E452E2AFEB623004F155A /* Project object */;

iOS/Layover/Layover.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)