Skip to content

Commit a0e4488

Browse files
author
Cleber Silva dos Reis
committed
feat[CocoaPods]: Inserindo podfile com a lib SnapshotTesting
1 parent 88ca77d commit a0e4488

File tree

4 files changed

+144
-0
lines changed

4 files changed

+144
-0
lines changed

solutions/devsprint-renato-sarro-5/DeliveryApp.xcodeproj/project.pbxproj

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
63FF52CB15549064843C73DF /* Pods_DeliveryApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0448F42AD61170E17D9F1810 /* Pods_DeliveryApp.framework */; };
1011
876C15CE28D918780016A88E /* LoadingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 876C15CD28D918780016A88E /* LoadingView.swift */; };
1112
876C15D028D91B6E0016A88E /* ViewCodeProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 876C15CF28D91B6E0016A88E /* ViewCodeProtocol.swift */; };
1213
98228D7D27BC489F006A38BB /* Address.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98228D7C27BC489F006A38BB /* Address.swift */; };
@@ -33,6 +34,7 @@
3334
98AF573227ADB16E00339A66 /* Restaurant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98C4368627ADAEA500D9048A /* Restaurant.swift */; };
3435
98AF573327ADB16E00339A66 /* String+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98C4368827ADAEBE00D9048A /* String+Extensions.swift */; };
3536
98AF573627ADB34C00339A66 /* DebugViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98AF573527ADB34C00339A66 /* DebugViewController.swift */; };
37+
CEAA8582A99C6204998D10EB /* Pods_DeliveryAppTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 53D70E9C975A30B7F20A3F8D /* Pods_DeliveryAppTests.framework */; };
3638
/* End PBXBuildFile section */
3739

3840
/* Begin PBXContainerItemProxy section */
@@ -46,6 +48,10 @@
4648
/* End PBXContainerItemProxy section */
4749

4850
/* Begin PBXFileReference section */
51+
0448F42AD61170E17D9F1810 /* Pods_DeliveryApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DeliveryApp.framework; sourceTree = BUILT_PRODUCTS_DIR; };
52+
28732BDCBF9CB8F20D976BA6 /* Pods-DeliveryAppTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DeliveryAppTests.debug.xcconfig"; path = "Target Support Files/Pods-DeliveryAppTests/Pods-DeliveryAppTests.debug.xcconfig"; sourceTree = "<group>"; };
53+
53D70E9C975A30B7F20A3F8D /* Pods_DeliveryAppTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DeliveryAppTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
54+
811AB034AC0ED48496D3A4D8 /* Pods-DeliveryAppTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DeliveryAppTests.release.xcconfig"; path = "Target Support Files/Pods-DeliveryAppTests/Pods-DeliveryAppTests.release.xcconfig"; sourceTree = "<group>"; };
4955
876C15CD28D918780016A88E /* LoadingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoadingView.swift; sourceTree = "<group>"; };
5056
876C15CF28D91B6E0016A88E /* ViewCodeProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewCodeProtocol.swift; sourceTree = "<group>"; };
5157
98228D7C27BC489F006A38BB /* Address.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Address.swift; sourceTree = "<group>"; };
@@ -75,20 +81,24 @@
7581
98F1297C272F51DE00B88A87 /* MenuItemViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MenuItemViewController.swift; sourceTree = "<group>"; };
7682
98FC5AAA2732B938002412EA /* RestaurantDetailsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RestaurantDetailsView.swift; sourceTree = "<group>"; };
7783
98FC5AB72732C1EF002412EA /* MenuItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MenuItemView.swift; sourceTree = "<group>"; };
84+
9BB3BB78194C3929B4D9ACDC /* Pods-DeliveryApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DeliveryApp.release.xcconfig"; path = "Target Support Files/Pods-DeliveryApp/Pods-DeliveryApp.release.xcconfig"; sourceTree = "<group>"; };
85+
C8D87FCA61779FCE55051EF5 /* Pods-DeliveryApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DeliveryApp.debug.xcconfig"; path = "Target Support Files/Pods-DeliveryApp/Pods-DeliveryApp.debug.xcconfig"; sourceTree = "<group>"; };
7886
/* End PBXFileReference section */
7987

8088
/* Begin PBXFrameworksBuildPhase section */
8189
983271B6272752AF0010C63A /* Frameworks */ = {
8290
isa = PBXFrameworksBuildPhase;
8391
buildActionMask = 2147483647;
8492
files = (
93+
63FF52CB15549064843C73DF /* Pods_DeliveryApp.framework in Frameworks */,
8594
);
8695
runOnlyForDeploymentPostprocessing = 0;
8796
};
8897
983271CC272752B50010C63A /* Frameworks */ = {
8998
isa = PBXFrameworksBuildPhase;
9099
buildActionMask = 2147483647;
91100
files = (
101+
CEAA8582A99C6204998D10EB /* Pods_DeliveryAppTests.framework in Frameworks */,
92102
);
93103
runOnlyForDeploymentPostprocessing = 0;
94104
};
@@ -101,6 +111,8 @@
101111
983271BB272752AF0010C63A /* DeliveryApp */,
102112
983271D2272752B50010C63A /* DeliveryAppTests */,
103113
983271BA272752AF0010C63A /* Products */,
114+
D8848153C5B058BF771E1CBB /* Pods */,
115+
FA79EAD8B6218E43817444FC /* Frameworks */,
104116
);
105117
sourceTree = "<group>";
106118
};
@@ -266,16 +278,39 @@
266278
path = Settings;
267279
sourceTree = "<group>";
268280
};
281+
D8848153C5B058BF771E1CBB /* Pods */ = {
282+
isa = PBXGroup;
283+
children = (
284+
C8D87FCA61779FCE55051EF5 /* Pods-DeliveryApp.debug.xcconfig */,
285+
9BB3BB78194C3929B4D9ACDC /* Pods-DeliveryApp.release.xcconfig */,
286+
28732BDCBF9CB8F20D976BA6 /* Pods-DeliveryAppTests.debug.xcconfig */,
287+
811AB034AC0ED48496D3A4D8 /* Pods-DeliveryAppTests.release.xcconfig */,
288+
);
289+
name = Pods;
290+
path = Pods;
291+
sourceTree = "<group>";
292+
};
293+
FA79EAD8B6218E43817444FC /* Frameworks */ = {
294+
isa = PBXGroup;
295+
children = (
296+
0448F42AD61170E17D9F1810 /* Pods_DeliveryApp.framework */,
297+
53D70E9C975A30B7F20A3F8D /* Pods_DeliveryAppTests.framework */,
298+
);
299+
name = Frameworks;
300+
sourceTree = "<group>";
301+
};
269302
/* End PBXGroup section */
270303

271304
/* Begin PBXNativeTarget section */
272305
983271B8272752AF0010C63A /* DeliveryApp */ = {
273306
isa = PBXNativeTarget;
274307
buildConfigurationList = 983271E3272752B50010C63A /* Build configuration list for PBXNativeTarget "DeliveryApp" */;
275308
buildPhases = (
309+
D102E7CC2EAADA786D153D08 /* [CP] Check Pods Manifest.lock */,
276310
983271B5272752AF0010C63A /* Sources */,
277311
983271B6272752AF0010C63A /* Frameworks */,
278312
983271B7272752AF0010C63A /* Resources */,
313+
6B3214D6D171ACB5F6E5BC0F /* [CP] Embed Pods Frameworks */,
279314
);
280315
buildRules = (
281316
);
@@ -290,6 +325,7 @@
290325
isa = PBXNativeTarget;
291326
buildConfigurationList = 983271E6272752B50010C63A /* Build configuration list for PBXNativeTarget "DeliveryAppTests" */;
292327
buildPhases = (
328+
E141348EA7F180CA38846E26 /* [CP] Check Pods Manifest.lock */,
293329
983271CB272752B50010C63A /* Sources */,
294330
983271CC272752B50010C63A /* Frameworks */,
295331
983271CD272752B50010C63A /* Resources */,
@@ -361,6 +397,70 @@
361397
};
362398
/* End PBXResourcesBuildPhase section */
363399

400+
/* Begin PBXShellScriptBuildPhase section */
401+
6B3214D6D171ACB5F6E5BC0F /* [CP] Embed Pods Frameworks */ = {
402+
isa = PBXShellScriptBuildPhase;
403+
buildActionMask = 2147483647;
404+
files = (
405+
);
406+
inputFileListPaths = (
407+
"${PODS_ROOT}/Target Support Files/Pods-DeliveryApp/Pods-DeliveryApp-frameworks-${CONFIGURATION}-input-files.xcfilelist",
408+
);
409+
name = "[CP] Embed Pods Frameworks";
410+
outputFileListPaths = (
411+
"${PODS_ROOT}/Target Support Files/Pods-DeliveryApp/Pods-DeliveryApp-frameworks-${CONFIGURATION}-output-files.xcfilelist",
412+
);
413+
runOnlyForDeploymentPostprocessing = 0;
414+
shellPath = /bin/sh;
415+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-DeliveryApp/Pods-DeliveryApp-frameworks.sh\"\n";
416+
showEnvVarsInLog = 0;
417+
};
418+
D102E7CC2EAADA786D153D08 /* [CP] Check Pods Manifest.lock */ = {
419+
isa = PBXShellScriptBuildPhase;
420+
buildActionMask = 2147483647;
421+
files = (
422+
);
423+
inputFileListPaths = (
424+
);
425+
inputPaths = (
426+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
427+
"${PODS_ROOT}/Manifest.lock",
428+
);
429+
name = "[CP] Check Pods Manifest.lock";
430+
outputFileListPaths = (
431+
);
432+
outputPaths = (
433+
"$(DERIVED_FILE_DIR)/Pods-DeliveryApp-checkManifestLockResult.txt",
434+
);
435+
runOnlyForDeploymentPostprocessing = 0;
436+
shellPath = /bin/sh;
437+
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";
438+
showEnvVarsInLog = 0;
439+
};
440+
E141348EA7F180CA38846E26 /* [CP] Check Pods Manifest.lock */ = {
441+
isa = PBXShellScriptBuildPhase;
442+
buildActionMask = 2147483647;
443+
files = (
444+
);
445+
inputFileListPaths = (
446+
);
447+
inputPaths = (
448+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
449+
"${PODS_ROOT}/Manifest.lock",
450+
);
451+
name = "[CP] Check Pods Manifest.lock";
452+
outputFileListPaths = (
453+
);
454+
outputPaths = (
455+
"$(DERIVED_FILE_DIR)/Pods-DeliveryAppTests-checkManifestLockResult.txt",
456+
);
457+
runOnlyForDeploymentPostprocessing = 0;
458+
shellPath = /bin/sh;
459+
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";
460+
showEnvVarsInLog = 0;
461+
};
462+
/* End PBXShellScriptBuildPhase section */
463+
364464
/* Begin PBXSourcesBuildPhase section */
365465
983271B5272752AF0010C63A /* Sources */ = {
366466
isa = PBXSourcesBuildPhase;
@@ -540,6 +640,7 @@
540640
};
541641
983271E4272752B50010C63A /* Debug */ = {
542642
isa = XCBuildConfiguration;
643+
baseConfigurationReference = C8D87FCA61779FCE55051EF5 /* Pods-DeliveryApp.debug.xcconfig */;
543644
buildSettings = {
544645
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
545646
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
@@ -568,6 +669,7 @@
568669
};
569670
983271E5272752B50010C63A /* Release */ = {
570671
isa = XCBuildConfiguration;
672+
baseConfigurationReference = 9BB3BB78194C3929B4D9ACDC /* Pods-DeliveryApp.release.xcconfig */;
571673
buildSettings = {
572674
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
573675
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
@@ -596,6 +698,7 @@
596698
};
597699
983271E7272752B50010C63A /* Debug */ = {
598700
isa = XCBuildConfiguration;
701+
baseConfigurationReference = 28732BDCBF9CB8F20D976BA6 /* Pods-DeliveryAppTests.debug.xcconfig */;
599702
buildSettings = {
600703
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
601704
BUNDLE_LOADER = "$(TEST_HOST)";
@@ -621,6 +724,7 @@
621724
};
622725
983271E8272752B50010C63A /* Release */ = {
623726
isa = XCBuildConfiguration;
727+
baseConfigurationReference = 811AB034AC0ED48496D3A4D8 /* Pods-DeliveryAppTests.release.xcconfig */;
624728
buildSettings = {
625729
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
626730
BUNDLE_LOADER = "$(TEST_HOST)";

solutions/devsprint-renato-sarro-5/DeliveryApp.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Uncomment the next line to define a global platform for your project
2+
# platform :ios, '9.0'
3+
4+
target 'DeliveryApp' do
5+
use_frameworks!
6+
7+
pod 'SnapshotTesting', '~> 1.9.0'
8+
9+
target 'DeliveryAppTests' do
10+
inherit! :search_paths
11+
# Pods for testing
12+
end
13+
14+
end
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
PODS:
2+
- SnapshotTesting (1.9.0)
3+
4+
DEPENDENCIES:
5+
- SnapshotTesting (~> 1.9.0)
6+
7+
SPEC REPOS:
8+
trunk:
9+
- SnapshotTesting
10+
11+
SPEC CHECKSUMS:
12+
SnapshotTesting: 6141c48b6aa76ead61431ca665c14ab9a066c53b
13+
14+
PODFILE CHECKSUM: 3538c98846e8a2314e9674526db0ac79836d9916
15+
16+
COCOAPODS: 1.11.2

0 commit comments

Comments
 (0)