Skip to content

Commit 02d026d

Browse files
committed
chore: revert "ci: remove CocoaPods"
This reverts commit 25d0a07.
1 parent 4fd7f2c commit 02d026d

File tree

3 files changed

+161
-0
lines changed

3 files changed

+161
-0
lines changed

DesignToolbox/DesignToolbox.xcodeproj/project.pbxproj

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@
215215
51417C272E1BF6B8000266C8 /* TokensOpacitySnapshotsTestsTestCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 51417C262E1BF6B8000266C8 /* TokensOpacitySnapshotsTestsTestCase.swift */; };
216216
51417C292E1BF70F000266C8 /* TokensColorSnapshotsTestsTestCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 51417C282E1BF70F000266C8 /* TokensColorSnapshotsTestsTestCase.swift */; };
217217
51417C2B2E1BF7B2000266C8 /* TokensFontSnapshotsTestsTestCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 51417C2A2E1BF7B2000266C8 /* TokensFontSnapshotsTestsTestCase.swift */; };
218+
5149BADB2C3D6F4F000FA4BF /* Podfile in Resources */ = {isa = PBXBuildFile; fileRef = 5149BADA2C3D6F4F000FA4BF /* Podfile */; };
218219
5152DA1D2DE0BD440078B9F1 /* DesignToolbox+EnrichedTexts.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5152DA1C2DE0BD3B0078B9F1 /* DesignToolbox+EnrichedTexts.swift */; };
219220
5152DA1E2DE0BD440078B9F1 /* DesignToolbox+EnrichedTexts.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5152DA1C2DE0BD3B0078B9F1 /* DesignToolbox+EnrichedTexts.swift */; };
220221
515439232DE734E600B25D13 /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 515439222DE734E600B25D13 /* Settings.bundle */; };
@@ -453,6 +454,7 @@
453454
95CD64F22EB3A375008FAB03 /* WindowManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95CD64F12EB3A371008FAB03 /* WindowManager.swift */; };
454455
95D713EA2EB36B0400EBB7C2 /* OSUtilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95D713E92EB36B0400EBB7C2 /* OSUtilities.swift */; };
455456
95D713EC2EB36B0B00EBB7C2 /* View+extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95D713EB2EB36B0B00EBB7C2 /* View+extensions.swift */; };
457+
A5E69629240B3A88C139F084 /* Pods_DesignToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A8ECF213874016985FA405A3 /* Pods_DesignToolbox.framework */; };
456458
FCA849142E9FF00500DBCE76 /* InputTagElement.swift in Sources */ = {isa = PBXBuildFile; fileRef = FCA849122E9FF00500DBCE76 /* InputTagElement.swift */; };
457459
FCA849152E9FF00500DBCE76 /* InputTagConfigurationView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FCA849112E9FF00500DBCE76 /* InputTagConfigurationView.swift */; };
458460
FCA849162E9FF00500DBCE76 /* InputTagPage.swift in Sources */ = {isa = PBXBuildFile; fileRef = FCA849132E9FF00500DBCE76 /* InputTagPage.swift */; };
@@ -635,6 +637,7 @@
635637
51417C262E1BF6B8000266C8 /* TokensOpacitySnapshotsTestsTestCase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TokensOpacitySnapshotsTestsTestCase.swift; sourceTree = "<group>"; };
636638
51417C282E1BF70F000266C8 /* TokensColorSnapshotsTestsTestCase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TokensColorSnapshotsTestsTestCase.swift; sourceTree = "<group>"; };
637639
51417C2A2E1BF7B2000266C8 /* TokensFontSnapshotsTestsTestCase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TokensFontSnapshotsTestsTestCase.swift; sourceTree = "<group>"; };
640+
5149BADA2C3D6F4F000FA4BF /* Podfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Podfile; sourceTree = "<group>"; };
638641
5152DA1C2DE0BD3B0078B9F1 /* DesignToolbox+EnrichedTexts.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DesignToolbox+EnrichedTexts.swift"; sourceTree = "<group>"; };
639642
515439222DE734E600B25D13 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Settings.bundle; sourceTree = "<group>"; };
640643
515EE9752E21329B00A60E96 /* ChipLayout.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChipLayout.swift; sourceTree = "<group>"; };
@@ -781,8 +784,15 @@
781784
6DFC20BF2CE3D39D00F2EC33 /* accessibility_detail.html */ = {isa = PBXFileReference; lastKnownFileType = text.html; path = accessibility_detail.html; sourceTree = "<group>"; };
782785
6DFC20C02CE3D39D00F2EC33 /* accessibility_result.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = accessibility_result.xml; sourceTree = "<group>"; };
783786
95CD64F12EB3A371008FAB03 /* WindowManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WindowManager.swift; sourceTree = "<group>"; };
787+
8C66FEEE1D0289EB1A4D5730 /* Pods-DesignToolbox.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DesignToolbox.release.xcconfig"; path = "Target Support Files/Pods-DesignToolbox/Pods-DesignToolbox.release.xcconfig"; sourceTree = "<group>"; };
788+
8EFDA228C8677427EEF029B1 /* Pods-DesignToolbox.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DesignToolbox.debug.xcconfig"; path = "Target Support Files/Pods-DesignToolbox/Pods-DesignToolbox.debug.xcconfig"; sourceTree = "<group>"; };
784789
95D713E92EB36B0400EBB7C2 /* OSUtilities.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OSUtilities.swift; sourceTree = "<group>"; };
785790
95D713EB2EB36B0B00EBB7C2 /* View+extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "View+extensions.swift"; sourceTree = "<group>"; };
791+
974E2EAB64D9123627CD7D29 /* Pods-DemoApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoApp.release.xcconfig"; path = "Target Support Files/Pods-DemoApp/Pods-DemoApp.release.xcconfig"; sourceTree = "<group>"; };
792+
A8ECF213874016985FA405A3 /* Pods_DesignToolbox.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DesignToolbox.framework; sourceTree = BUILT_PRODUCTS_DIR; };
793+
BF4130905502F287757622E2 /* Pods-DemoApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoApp.debug.xcconfig"; path = "Target Support Files/Pods-DemoApp/Pods-DemoApp.debug.xcconfig"; sourceTree = "<group>"; };
794+
E4EBC0F46BFFE3801998F6B0 /* Pods-Showcase.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Showcase.release.xcconfig"; path = "Target Support Files/Pods-Showcase/Pods-Showcase.release.xcconfig"; sourceTree = "<group>"; };
795+
F98488CF05532E8CD405A8F8 /* Pods-Showcase.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Showcase.debug.xcconfig"; path = "Target Support Files/Pods-Showcase/Pods-Showcase.debug.xcconfig"; sourceTree = "<group>"; };
786796
FCA849112E9FF00500DBCE76 /* InputTagConfigurationView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InputTagConfigurationView.swift; sourceTree = "<group>"; };
787797
FCA849122E9FF00500DBCE76 /* InputTagElement.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InputTagElement.swift; sourceTree = "<group>"; };
788798
FCA849132E9FF00500DBCE76 /* InputTagPage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InputTagPage.swift; sourceTree = "<group>"; };
@@ -820,6 +830,7 @@
820830
5115A16E2DDF39AC0025A760 /* OUDSThemesOrange in Frameworks */,
821831
070C35662C7762B90029C6A8 /* OUDSModules in Frameworks */,
822832
5131F14D2E324A9A00A942B0 /* OUDSThemesWireframe in Frameworks */,
833+
A5E69629240B3A88C139F084 /* Pods_DesignToolbox.framework in Frameworks */,
823834
);
824835
runOnlyForDeploymentPostprocessing = 0;
825836
};
@@ -1235,6 +1246,8 @@
12351246
0740A9902C9873500069D24A /* DesignToolboxSnapshotsTests */,
12361247
51E599B52E27EDD0002BCB27 /* DesignToolboxUnitTests */,
12371248
07FDCD922C296A500009AA13 /* Products */,
1249+
AFD4931269C94655071502F6 /* Pods */,
1250+
6E90D400B72B50FE406E8DFC /* Frameworks */,
12381251
);
12391252
sourceTree = "<group>";
12401253
};
@@ -1269,6 +1282,7 @@
12691282
0740A98A2C98337C0069D24A /* fastlane */,
12701283
0707B6432C2C569500A911E7 /* Gemfile */,
12711284
5123647A2C3D7B3500572FD5 /* Gemfile.lock */,
1285+
5149BADA2C3D6F4F000FA4BF /* Podfile */,
12721286
07FDCDB82C296C370009AA13 /* .gitignore */,
12731287
07FDCDA52C296B4B0009AA13 /* .gitattributes */,
12741288
07FDCDB62C296C370009AA13 /* .gitleaks.toml */,
@@ -2130,6 +2144,27 @@
21302144
path = accessibilityStatement;
21312145
sourceTree = "<group>";
21322146
};
2147+
6E90D400B72B50FE406E8DFC /* Frameworks */ = {
2148+
isa = PBXGroup;
2149+
children = (
2150+
A8ECF213874016985FA405A3 /* Pods_DesignToolbox.framework */,
2151+
);
2152+
name = Frameworks;
2153+
sourceTree = "<group>";
2154+
};
2155+
AFD4931269C94655071502F6 /* Pods */ = {
2156+
isa = PBXGroup;
2157+
children = (
2158+
BF4130905502F287757622E2 /* Pods-DemoApp.debug.xcconfig */,
2159+
974E2EAB64D9123627CD7D29 /* Pods-DemoApp.release.xcconfig */,
2160+
F98488CF05532E8CD405A8F8 /* Pods-Showcase.debug.xcconfig */,
2161+
E4EBC0F46BFFE3801998F6B0 /* Pods-Showcase.release.xcconfig */,
2162+
8EFDA228C8677427EEF029B1 /* Pods-DesignToolbox.debug.xcconfig */,
2163+
8C66FEEE1D0289EB1A4D5730 /* Pods-DesignToolbox.release.xcconfig */,
2164+
);
2165+
path = Pods;
2166+
sourceTree = "<group>";
2167+
};
21332168
FCA849102E9FEFF600DBCE76 /* InputTag */ = {
21342169
isa = PBXGroup;
21352170
children = (
@@ -2178,9 +2213,12 @@
21782213
isa = PBXNativeTarget;
21792214
buildConfigurationList = 07FDCD9F2C296A540009AA13 /* Build configuration list for PBXNativeTarget "DesignToolbox" */;
21802215
buildPhases = (
2216+
2A5B2E6765E57E6A6B13CBA1 /* [CP] Check Pods Manifest.lock */,
2217+
0707B6412C2C414200A911E7 /* Run Swiftlint */,
21812218
07FDCD8D2C296A500009AA13 /* Sources */,
21822219
07FDCD8E2C296A500009AA13 /* Frameworks */,
21832220
07FDCD8F2C296A500009AA13 /* Resources */,
2221+
51B4005F2DDCC51E00B69CDC /* Run SwiftFormat */,
21842222
);
21852223
buildRules = (
21862224
);
@@ -2225,6 +2263,8 @@
22252263
51E599AC2E27ED5F002BCB27 /* PBXTargetDependency */,
22262264
);
22272265
name = DesignToolboxUnitTests;
2266+
packageProductDependencies = (
2267+
);
22282268
productName = DesignToolboxUnitTest;
22292269
productReference = 51E599A72E27ED5F002BCB27 /* DesignToolboxUnitTests.xctest */;
22302270
productType = "com.apple.product-type.bundle.unit-test";
@@ -2325,6 +2365,7 @@
23252365
6DFC20C12CE3D39D00F2EC33 /* accessibility_detail.html in Resources */,
23262366
6DFC20C22CE3D39D00F2EC33 /* accessibility_result.xml in Resources */,
23272367
51D589902E8FCC350071E8BF /* README.md in Resources */,
2368+
5149BADB2C3D6F4F000FA4BF /* Podfile in Resources */,
23282369
51BD76242C466FCF0033365D /* Preview Assets.xcassets in Resources */,
23292370
51BD76252C466FCF0033365D /* about_legal_information.html in Resources */,
23302371
5180A3CF2E95941D00664BD0 /* HelveticaNeueLTArabic-Bold.ttf in Resources */,
@@ -2361,6 +2402,47 @@
23612402
/* End PBXResourcesBuildPhase section */
23622403

23632404
/* Begin PBXShellScriptBuildPhase section */
2405+
0707B6412C2C414200A911E7 /* Run Swiftlint */ = {
2406+
isa = PBXShellScriptBuildPhase;
2407+
alwaysOutOfDate = 1;
2408+
buildActionMask = 2147483647;
2409+
files = (
2410+
);
2411+
inputFileListPaths = (
2412+
);
2413+
inputPaths = (
2414+
);
2415+
name = "Run Swiftlint";
2416+
outputFileListPaths = (
2417+
);
2418+
outputPaths = (
2419+
);
2420+
runOnlyForDeploymentPostprocessing = 0;
2421+
shellPath = /bin/sh;
2422+
shellScript = "if which \"swiftlint\" >/dev/null; then\n swiftlint --config ../.swiftlint.yml DesignToolbox/* DesignToolboxSnapshotsTests/* DesignToolboxUITests/* DesignToolboxUnitTests/* DesignSystemToolboxAppCaptures/*\nelse\n echo \"warning: SwiftLint not installed, download from CocoaPods (see https://github.com/realm/SwiftLint)\"\nfi\n";
2423+
};
2424+
2A5B2E6765E57E6A6B13CBA1 /* [CP] Check Pods Manifest.lock */ = {
2425+
isa = PBXShellScriptBuildPhase;
2426+
buildActionMask = 2147483647;
2427+
files = (
2428+
);
2429+
inputFileListPaths = (
2430+
);
2431+
inputPaths = (
2432+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
2433+
"${PODS_ROOT}/Manifest.lock",
2434+
);
2435+
name = "[CP] Check Pods Manifest.lock";
2436+
outputFileListPaths = (
2437+
);
2438+
outputPaths = (
2439+
"$(DERIVED_FILE_DIR)/Pods-DesignToolbox-checkManifestLockResult.txt",
2440+
);
2441+
runOnlyForDeploymentPostprocessing = 0;
2442+
shellPath = /bin/sh;
2443+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
2444+
showEnvVarsInLog = 0;
2445+
};
23642446
512364802C3D7D8300572FD5 /* Run Periphery (for dead code analysis) */ = {
23652447
isa = PBXShellScriptBuildPhase;
23662448
buildActionMask = 2147483647;
@@ -2379,6 +2461,24 @@
23792461
shellPath = /bin/sh;
23802462
shellScript = "# Periphery action to look for dead code\nperiphery scan --project DesignToolbox.xcworkspace --schemes DesignToolbox --format xcode\n";
23812463
};
2464+
51B4005F2DDCC51E00B69CDC /* Run SwiftFormat */ = {
2465+
isa = PBXShellScriptBuildPhase;
2466+
buildActionMask = 12;
2467+
files = (
2468+
);
2469+
inputFileListPaths = (
2470+
);
2471+
inputPaths = (
2472+
);
2473+
name = "Run SwiftFormat";
2474+
outputFileListPaths = (
2475+
);
2476+
outputPaths = (
2477+
);
2478+
runOnlyForDeploymentPostprocessing = 0;
2479+
shellPath = /bin/sh;
2480+
shellScript = "if which swiftformat >/dev/null; then\n swiftformat .\nelse\n echo \"warning: SwiftFormat not installed, download from https://github.com/nicklockwood/SwiftFormat\"\nfi\n";
2481+
};
23822482
/* End PBXShellScriptBuildPhase section */
23832483

23842484
/* Begin PBXSourcesBuildPhase section */
@@ -3027,6 +3127,7 @@
30273127
};
30283128
07FDCDA02C296A540009AA13 /* Debug */ = {
30293129
isa = XCBuildConfiguration;
3130+
baseConfigurationReference = 8EFDA228C8677427EEF029B1 /* Pods-DesignToolbox.debug.xcconfig */;
30303131
buildSettings = {
30313132
ASSETCATALOG_COMPILER_APPICON_NAME = AppIconDebug;
30323133
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
@@ -3070,6 +3171,7 @@
30703171
};
30713172
07FDCDA12C296A540009AA13 /* Release */ = {
30723173
isa = XCBuildConfiguration;
3174+
baseConfigurationReference = 8C66FEEE1D0289EB1A4D5730 /* Pods-DesignToolbox.release.xcconfig */;
30733175
buildSettings = {
30743176
ASSETCATALOG_COMPILER_APPICON_NAME = AppIconRelease;
30753177
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;

DesignToolbox/Podfile

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#
2+
# Software Name: OUDS iOS
3+
# SPDX-FileCopyrightText: Copyright (c) Orange SA
4+
# SPDX-License-Identifier: MIT
5+
#
6+
# This software is distributed under the MIT license,
7+
# the text of which is available at https://opensource.org/license/MIT/
8+
# or see the "LICENSE" file for more details.
9+
#
10+
# Authors: See CONTRIBUTORS.txt
11+
# Software description: A SwiftUI components library with code examples for Orange Unified Design System
12+
#
13+
14+
use_frameworks!
15+
16+
platform :ios, '15.0'
17+
18+
target 'DesignToolbox' do
19+
pod 'SwiftLint', '0.62.1'
20+
pod 'SwiftFormat/CLI', '0.58.3'
21+
end
22+
23+
post_install do |installer|
24+
ENV['COCOAPODS_DISABLE_STATS'] = "true"
25+
26+
installer.pods_project.build_configurations.each do |config|
27+
config.build_settings["DEAD_CODE_STRIPPING"] = "YES"
28+
end
29+
30+
installer.pods_project.targets.each do |target|
31+
target.build_configurations.each do |config|
32+
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
33+
config.build_settings['SWIFT_VERSION'] = '5'
34+
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
35+
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
36+
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
37+
end
38+
end
39+
end

DesignToolbox/Podfile.lock

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
PODS:
2+
- SwiftFormat/CLI (0.58.3)
3+
- SwiftLint (0.62.1)
4+
5+
DEPENDENCIES:
6+
- SwiftFormat/CLI (= 0.58.3)
7+
- SwiftLint (= 0.62.1)
8+
9+
SPEC REPOS:
10+
trunk:
11+
- SwiftFormat
12+
- SwiftLint
13+
14+
SPEC CHECKSUMS:
15+
SwiftFormat: 6f8d2d6c8c0e9539d1f4ec56b2132c9b72f8ee03
16+
SwiftLint: 6a9eb020853558a7eaf00f655636b5d6ad15bd02
17+
18+
PODFILE CHECKSUM: 76c35d2bac2bbe692dd7cdfde01bc774a9134068
19+
20+
COCOAPODS: 1.16.2

0 commit comments

Comments
 (0)