Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ jobs:
xcodebuild test \
-scheme SampleWorkshopApp \
-destination 'platform=iOS Simulator,name=iPhone 16' \
-skipPackagePluginValidation \
-skip-testing:SampleWorkshopAppUITests \
-resultBundlePath TestResults.xcresult
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/__Snapshots__/**/*.png

3 changes: 3 additions & 0 deletions .prefire.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
test_configuration:
template_file_path: custom_template.stencil

163 changes: 61 additions & 102 deletions SampleWorkshopApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

/* Begin PBXBuildFile section */
A74FDA202F3A2674000A32F5 /* DesignSystem in Frameworks */ = {isa = PBXBuildFile; productRef = A74FDA212F3A2674000A32F5 /* DesignSystem */; };
A76743C92F3B5AE800A159CE /* Prefire in Frameworks */ = {isa = PBXBuildFile; productRef = A76743C82F3B5AE800A159CE /* Prefire */; };
A77C10A02F3B531200D973E3 /* Prefire in Frameworks */ = {isa = PBXBuildFile; productRef = A77C109F2F3B531200D973E3 /* Prefire */; };
A7BA1DFA2F3B64C900BD56A5 /* SnapshotTesting in Frameworks */ = {isa = PBXBuildFile; productRef = A7BA1DF92F3B64C900BD56A5 /* SnapshotTesting */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -18,19 +21,11 @@
remoteGlobalIDString = A74FD9E82F3A2672000A32F5;
remoteInfo = SampleWorkshopApp;
};
A74FDA012F3A2673000A32F5 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = A74FD9E12F3A2672000A32F5 /* Project object */;
proxyType = 1;
remoteGlobalIDString = A74FD9E82F3A2672000A32F5;
remoteInfo = SampleWorkshopApp;
};
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
A74FD9E92F3A2672000A32F5 /* SampleWorkshopApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SampleWorkshopApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
A74FD9F62F3A2673000A32F5 /* SampleWorkshopAppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SampleWorkshopAppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
A74FDA002F3A2673000A32F5 /* SampleWorkshopAppUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SampleWorkshopAppUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFileSystemSynchronizedRootGroup section */
Expand All @@ -56,6 +51,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
A76743C92F3B5AE800A159CE /* Prefire in Frameworks */,
A74FDA202F3A2674000A32F5 /* DesignSystem in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -64,13 +60,8 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
A74FD9FD2F3A2673000A32F5 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
A77C10A02F3B531200D973E3 /* Prefire in Frameworks */,
A7BA1DFA2F3B64C900BD56A5 /* SnapshotTesting in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -83,6 +74,7 @@
A74FD9EB2F3A2672000A32F5 /* SampleWorkshopApp */,
A74FD9F92F3A2673000A32F5 /* SampleWorkshopAppTests */,
A74FDA032F3A2673000A32F5 /* SampleWorkshopAppUITests */,
A77C10992F3B50BE00D973E3 /* Frameworks */,
A74FD9EA2F3A2672000A32F5 /* Products */,
);
sourceTree = "<group>";
Expand All @@ -92,11 +84,17 @@
children = (
A74FD9E92F3A2672000A32F5 /* SampleWorkshopApp.app */,
A74FD9F62F3A2673000A32F5 /* SampleWorkshopAppTests.xctest */,
A74FDA002F3A2673000A32F5 /* SampleWorkshopAppUITests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
A77C10992F3B50BE00D973E3 /* Frameworks */ = {
isa = PBXGroup;
children = (
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -118,6 +116,7 @@
name = SampleWorkshopApp;
packageProductDependencies = (
A74FDA212F3A2674000A32F5 /* DesignSystem */,
A76743C82F3B5AE800A159CE /* Prefire */,
);
productName = SampleWorkshopApp;
productReference = A74FD9E92F3A2672000A32F5 /* SampleWorkshopApp.app */;
Expand All @@ -134,41 +133,21 @@
buildRules = (
);
dependencies = (
A77C109E2F3B514E00D973E3 /* PBXTargetDependency */,
A74FD9F82F3A2673000A32F5 /* PBXTargetDependency */,
);
fileSystemSynchronizedGroups = (
A74FD9F92F3A2673000A32F5 /* SampleWorkshopAppTests */,
);
name = SampleWorkshopAppTests;
packageProductDependencies = (
A77C109F2F3B531200D973E3 /* Prefire */,
A7BA1DF92F3B64C900BD56A5 /* SnapshotTesting */,
);
productName = SampleWorkshopAppTests;
productReference = A74FD9F62F3A2673000A32F5 /* SampleWorkshopAppTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
A74FD9FF2F3A2673000A32F5 /* SampleWorkshopAppUITests */ = {
isa = PBXNativeTarget;
buildConfigurationList = A74FDA102F3A2673000A32F5 /* Build configuration list for PBXNativeTarget "SampleWorkshopAppUITests" */;
buildPhases = (
A74FD9FC2F3A2673000A32F5 /* Sources */,
A74FD9FD2F3A2673000A32F5 /* Frameworks */,
A74FD9FE2F3A2673000A32F5 /* Resources */,
);
buildRules = (
);
dependencies = (
A74FDA022F3A2673000A32F5 /* PBXTargetDependency */,
);
fileSystemSynchronizedGroups = (
A74FDA032F3A2673000A32F5 /* SampleWorkshopAppUITests */,
);
name = SampleWorkshopAppUITests;
packageProductDependencies = (
);
productName = SampleWorkshopAppUITests;
productReference = A74FDA002F3A2673000A32F5 /* SampleWorkshopAppUITests.xctest */;
productType = "com.apple.product-type.bundle.ui-testing";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -186,10 +165,6 @@
CreatedOnToolsVersion = 16.4;
TestTargetID = A74FD9E82F3A2672000A32F5;
};
A74FD9FF2F3A2673000A32F5 = {
CreatedOnToolsVersion = 16.4;
TestTargetID = A74FD9E82F3A2672000A32F5;
};
};
};
buildConfigurationList = A74FD9E42F3A2672000A32F5 /* Build configuration list for PBXProject "SampleWorkshopApp" */;
Expand All @@ -203,6 +178,8 @@
minimizedProjectReferenceProxies = 1;
packageReferences = (
A74FDA222F3A2674000A32F5 /* XCLocalSwiftPackageReference "DesignSystem" */,
A77C109C2F3B512B00D973E3 /* XCRemoteSwiftPackageReference "Prefire" */,
A7BA1DF82F3B64B800BD56A5 /* XCRemoteSwiftPackageReference "swift-snapshot-testing" */,
);
preferredProjectObjectVersion = 77;
productRefGroup = A74FD9EA2F3A2672000A32F5 /* Products */;
Expand All @@ -211,7 +188,6 @@
targets = (
A74FD9E82F3A2672000A32F5 /* SampleWorkshopApp */,
A74FD9F52F3A2673000A32F5 /* SampleWorkshopAppTests */,
A74FD9FF2F3A2673000A32F5 /* SampleWorkshopAppUITests */,
);
};
/* End PBXProject section */
Expand All @@ -231,13 +207,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
A74FD9FE2F3A2673000A32F5 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand All @@ -255,13 +224,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
A74FD9FC2F3A2673000A32F5 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
Expand All @@ -270,10 +232,9 @@
target = A74FD9E82F3A2672000A32F5 /* SampleWorkshopApp */;
targetProxy = A74FD9F72F3A2673000A32F5 /* PBXContainerItemProxy */;
};
A74FDA022F3A2673000A32F5 /* PBXTargetDependency */ = {
A77C109E2F3B514E00D973E3 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = A74FD9E82F3A2672000A32F5 /* SampleWorkshopApp */;
targetProxy = A74FDA012F3A2673000A32F5 /* PBXContainerItemProxy */;
productRef = A77C109D2F3B514E00D973E3 /* PrefireTestsPlugin */;
};
/* End PBXTargetDependency section */

Expand Down Expand Up @@ -487,38 +448,6 @@
};
name = Release;
};
A74FDA112F3A2673000A32F5 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.example.SampleWorkshopAppUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = SampleWorkshopApp;
};
name = Debug;
};
A74FDA122F3A2673000A32F5 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.example.SampleWorkshopAppUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = SampleWorkshopApp;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand Down Expand Up @@ -549,15 +478,6 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
A74FDA102F3A2673000A32F5 /* Build configuration list for PBXNativeTarget "SampleWorkshopAppUITests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
A74FDA112F3A2673000A32F5 /* Debug */,
A74FDA122F3A2673000A32F5 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCLocalSwiftPackageReference section */
Expand All @@ -567,11 +487,50 @@
};
/* End XCLocalSwiftPackageReference section */

/* Begin XCRemoteSwiftPackageReference section */
A77C109C2F3B512B00D973E3 /* XCRemoteSwiftPackageReference "Prefire" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/BarredEwe/Prefire.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 5.4.1;
};
};
A7BA1DF82F3B64B800BD56A5 /* XCRemoteSwiftPackageReference "swift-snapshot-testing" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/tdrhq/swift-snapshot-testing";
requirement = {
kind = exactVersion;
version = "1.18.6-sb";
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
A74FDA212F3A2674000A32F5 /* DesignSystem */ = {
isa = XCSwiftPackageProductDependency;
productName = DesignSystem;
};
A76743C82F3B5AE800A159CE /* Prefire */ = {
isa = XCSwiftPackageProductDependency;
package = A77C109C2F3B512B00D973E3 /* XCRemoteSwiftPackageReference "Prefire" */;
productName = Prefire;
};
A77C109D2F3B514E00D973E3 /* PrefireTestsPlugin */ = {
isa = XCSwiftPackageProductDependency;
package = A77C109C2F3B512B00D973E3 /* XCRemoteSwiftPackageReference "Prefire" */;
productName = "plugin:PrefireTestsPlugin";
};
A77C109F2F3B531200D973E3 /* Prefire */ = {
isa = XCSwiftPackageProductDependency;
package = A77C109C2F3B512B00D973E3 /* XCRemoteSwiftPackageReference "Prefire" */;
productName = Prefire;
};
A7BA1DF92F3B64C900BD56A5 /* SnapshotTesting */ = {
isa = XCSwiftPackageProductDependency;
package = A7BA1DF82F3B64B800BD56A5 /* XCRemoteSwiftPackageReference "swift-snapshot-testing" */;
productName = SnapshotTesting;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = A74FD9E12F3A2672000A32F5 /* Project object */;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "0D9EB95D-4958-4C30-97F1-7C1A60F23761"
type = "1"
version = "2.0">
</Bucket>
Loading