Update Xcode project configuration for UI test target
Updated project.pbxproj to properly configure the MyCribUITests target with correct file references, build settings, and dependencies. Changes: - Added MyCribUITests target configuration - Added all UI test files to test target membership - Added AccessibilityIdentifiers.swift to main app target - Added RootView.swift to main app target - Removed references to deleted MyCribTests files - Updated test scheme settings for UI tests This enables running UI tests via Xcode or xcodebuild command line. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,14 @@
|
||||
remoteGlobalIDString = 1C07893C2EBC218B00392B46;
|
||||
remoteInfo = MyCribExtension;
|
||||
};
|
||||
1C685CD62EC5539000A9669B /* PBXContainerItemProxy */ = {
|
||||
1CBF16002ECD8AE4001BF56C /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 6A3E1D84F9F1A2FD92A75A6C /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = D4ADB376A7A4CFB73469E173;
|
||||
remoteInfo = iosApp;
|
||||
};
|
||||
1CBF1BF32ECD9768001BF56C /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 6A3E1D84F9F1A2FD92A75A6C /* Project object */;
|
||||
proxyType = 1;
|
||||
@@ -49,6 +56,7 @@
|
||||
1C0789412EBC218B00392B46 /* SwiftUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SwiftUI.framework; path = System/Library/Frameworks/SwiftUI.framework; sourceTree = SDKROOT; };
|
||||
1C0789612EBC2F5400392B46 /* MyCribExtension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = MyCribExtension.entitlements; sourceTree = "<group>"; };
|
||||
1C685CD22EC5539000A9669B /* MyCribTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MyCribTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
1CBF1BED2ECD9768001BF56C /* MyCribUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MyCribUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
4B07E04F794A4C1CAA8CCD5D /* PhotoViewerSheet.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PhotoViewerSheet.swift; sourceTree = "<group>"; };
|
||||
96A3DDC05E14B3F83E56282F /* MyCrib.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MyCrib.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
AD6CD907CA1045CBBC845D91 /* CompletionCardView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CompletionCardView.swift; sourceTree = "<group>"; };
|
||||
@@ -62,6 +70,27 @@
|
||||
);
|
||||
target = 1C07893C2EBC218B00392B46 /* MyCribExtension */;
|
||||
};
|
||||
1C77EDA12ECE784100A53003 /* Exceptions for "iosApp" folder in "MyCribUITests" target */ = {
|
||||
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
|
||||
membershipExceptions = (
|
||||
Helpers/AccessibilityIdentifiers.swift,
|
||||
);
|
||||
target = 1CBF1BEC2ECD9768001BF56C /* MyCribUITests */;
|
||||
};
|
||||
1C77EDA22ECE797700A53003 /* Exceptions for "MyCribUITests" folder in "MyCribUITests" target */ = {
|
||||
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
|
||||
membershipExceptions = (
|
||||
AccessibilityIdentifiers.swift,
|
||||
);
|
||||
target = 1CBF1BEC2ECD9768001BF56C /* MyCribUITests */;
|
||||
};
|
||||
1CBF1C072ECD97AC001BF56C /* Exceptions for "MyCribTests" folder in "MyCribTests" target */ = {
|
||||
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
|
||||
membershipExceptions = (
|
||||
MyCribTests.swift,
|
||||
);
|
||||
target = 1C685CD12EC5539000A9669B /* MyCribTests */;
|
||||
};
|
||||
84D9B4B86A80D013B8CBB951 /* Exceptions for "iosApp" folder in "iosApp" target */ = {
|
||||
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
|
||||
membershipExceptions = (
|
||||
@@ -82,9 +111,20 @@
|
||||
};
|
||||
1C685CD32EC5539000A9669B /* MyCribTests */ = {
|
||||
isa = PBXFileSystemSynchronizedRootGroup;
|
||||
exceptions = (
|
||||
1CBF1C072ECD97AC001BF56C /* Exceptions for "MyCribTests" folder in "MyCribTests" target */,
|
||||
);
|
||||
path = MyCribTests;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
1CBF1BEE2ECD9768001BF56C /* MyCribUITests */ = {
|
||||
isa = PBXFileSystemSynchronizedRootGroup;
|
||||
exceptions = (
|
||||
1C77EDA22ECE797700A53003 /* Exceptions for "MyCribUITests" folder in "MyCribUITests" target */,
|
||||
);
|
||||
path = MyCribUITests;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
7A237E53D5D71D9D6A361E29 /* Configuration */ = {
|
||||
isa = PBXFileSystemSynchronizedRootGroup;
|
||||
path = Configuration;
|
||||
@@ -94,6 +134,7 @@
|
||||
isa = PBXFileSystemSynchronizedRootGroup;
|
||||
exceptions = (
|
||||
84D9B4B86A80D013B8CBB951 /* Exceptions for "iosApp" folder in "iosApp" target */,
|
||||
1C77EDA12ECE784100A53003 /* Exceptions for "iosApp" folder in "MyCribUITests" target */,
|
||||
);
|
||||
path = iosApp;
|
||||
sourceTree = "<group>";
|
||||
@@ -117,6 +158,13 @@
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
1CBF1BEA2ECD9768001BF56C /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
4C05B929016E54EA711D74CA /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
@@ -153,6 +201,7 @@
|
||||
E822E6B231E7783DE992578C /* iosApp */,
|
||||
1C0789432EBC218B00392B46 /* MyCrib */,
|
||||
1C685CD32EC5539000A9669B /* MyCribTests */,
|
||||
1CBF1BEE2ECD9768001BF56C /* MyCribUITests */,
|
||||
1C07893E2EBC218B00392B46 /* Frameworks */,
|
||||
FA6022B7B844191C54E57EB4 /* Products */,
|
||||
1C078A1B2EC1820B00392B46 /* Recovered References */,
|
||||
@@ -165,6 +214,7 @@
|
||||
96A3DDC05E14B3F83E56282F /* MyCrib.app */,
|
||||
1C07893D2EBC218B00392B46 /* MyCribExtension.appex */,
|
||||
1C685CD22EC5539000A9669B /* MyCribTests.xctest */,
|
||||
1CBF1BED2ECD9768001BF56C /* MyCribUITests.xctest */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
@@ -205,7 +255,7 @@
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
1C685CD72EC5539000A9669B /* PBXTargetDependency */,
|
||||
1CBF16012ECD8AE4001BF56C /* PBXTargetDependency */,
|
||||
);
|
||||
fileSystemSynchronizedGroups = (
|
||||
1C685CD32EC5539000A9669B /* MyCribTests */,
|
||||
@@ -217,6 +267,29 @@
|
||||
productReference = 1C685CD22EC5539000A9669B /* MyCribTests.xctest */;
|
||||
productType = "com.apple.product-type.bundle.unit-test";
|
||||
};
|
||||
1CBF1BEC2ECD9768001BF56C /* MyCribUITests */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 1CBF1BF52ECD9768001BF56C /* Build configuration list for PBXNativeTarget "MyCribUITests" */;
|
||||
buildPhases = (
|
||||
1CBF1BE92ECD9768001BF56C /* Sources */,
|
||||
1CBF1BEA2ECD9768001BF56C /* Frameworks */,
|
||||
1CBF1BEB2ECD9768001BF56C /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
1CBF1BF42ECD9768001BF56C /* PBXTargetDependency */,
|
||||
);
|
||||
fileSystemSynchronizedGroups = (
|
||||
1CBF1BEE2ECD9768001BF56C /* MyCribUITests */,
|
||||
);
|
||||
name = MyCribUITests;
|
||||
packageProductDependencies = (
|
||||
);
|
||||
productName = MyCribUITests;
|
||||
productReference = 1CBF1BED2ECD9768001BF56C /* MyCribUITests.xctest */;
|
||||
productType = "com.apple.product-type.bundle.ui-testing";
|
||||
};
|
||||
D4ADB376A7A4CFB73469E173 /* iosApp */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 293B4412461C9407D900D07D /* Build configuration list for PBXNativeTarget "iosApp" */;
|
||||
@@ -259,6 +332,10 @@
|
||||
CreatedOnToolsVersion = 26.1.1;
|
||||
TestTargetID = D4ADB376A7A4CFB73469E173;
|
||||
};
|
||||
1CBF1BEC2ECD9768001BF56C = {
|
||||
CreatedOnToolsVersion = 26.1.1;
|
||||
TestTargetID = D4ADB376A7A4CFB73469E173;
|
||||
};
|
||||
D4ADB376A7A4CFB73469E173 = {
|
||||
CreatedOnToolsVersion = 16.2;
|
||||
};
|
||||
@@ -281,6 +358,7 @@
|
||||
D4ADB376A7A4CFB73469E173 /* iosApp */,
|
||||
1C07893C2EBC218B00392B46 /* MyCribExtension */,
|
||||
1C685CD12EC5539000A9669B /* MyCribTests */,
|
||||
1CBF1BEC2ECD9768001BF56C /* MyCribUITests */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
@@ -300,6 +378,13 @@
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
1CBF1BEB2ECD9768001BF56C /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
50827B76877E1E3968917892 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
@@ -346,6 +431,13 @@
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
1CBF1BE92ECD9768001BF56C /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
3B506EC7E4A1032BA1E06A37 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
@@ -361,10 +453,15 @@
|
||||
target = 1C07893C2EBC218B00392B46 /* MyCribExtension */;
|
||||
targetProxy = 1C0789512EBC218D00392B46 /* PBXContainerItemProxy */;
|
||||
};
|
||||
1C685CD72EC5539000A9669B /* PBXTargetDependency */ = {
|
||||
1CBF16012ECD8AE4001BF56C /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = D4ADB376A7A4CFB73469E173 /* iosApp */;
|
||||
targetProxy = 1C685CD62EC5539000A9669B /* PBXContainerItemProxy */;
|
||||
targetProxy = 1CBF16002ECD8AE4001BF56C /* PBXContainerItemProxy */;
|
||||
};
|
||||
1CBF1BF42ECD9768001BF56C /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = D4ADB376A7A4CFB73469E173 /* iosApp */;
|
||||
targetProxy = 1CBF1BF32ECD9768001BF56C /* PBXContainerItemProxy */;
|
||||
};
|
||||
/* End PBXTargetDependency section */
|
||||
|
||||
@@ -515,6 +612,58 @@
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
1CBF1BF62ECD9768001BF56C /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEVELOPMENT_TEAM = V3PF3M6B6U;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 26.1;
|
||||
MACOSX_DEPLOYMENT_TARGET = 26.1;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.t-t.MyCribUITests";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = auto;
|
||||
STRING_CATALOG_GENERATE_SYMBOLS = NO;
|
||||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator";
|
||||
SWIFT_APPROACHABLE_CONCURRENCY = YES;
|
||||
SWIFT_EMIT_LOC_STRINGS = NO;
|
||||
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,7";
|
||||
TEST_TARGET_NAME = iosApp;
|
||||
XROS_DEPLOYMENT_TARGET = 26.1;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
1CBF1BF72ECD9768001BF56C /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEVELOPMENT_TEAM = V3PF3M6B6U;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 26.1;
|
||||
MACOSX_DEPLOYMENT_TARGET = 26.1;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.t-t.MyCribUITests";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SDKROOT = auto;
|
||||
STRING_CATALOG_GENERATE_SYMBOLS = NO;
|
||||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator";
|
||||
SWIFT_APPROACHABLE_CONCURRENCY = YES;
|
||||
SWIFT_EMIT_LOC_STRINGS = NO;
|
||||
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2,7";
|
||||
TEST_TARGET_NAME = iosApp;
|
||||
XROS_DEPLOYMENT_TARGET = 26.1;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
468E4A6C96BEEFB382150D37 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReferenceAnchor = 7A237E53D5D71D9D6A361E29 /* Configuration */;
|
||||
@@ -691,6 +840,15 @@
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
1CBF1BF52ECD9768001BF56C /* Build configuration list for PBXNativeTarget "MyCribUITests" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
1CBF1BF62ECD9768001BF56C /* Debug */,
|
||||
1CBF1BF72ECD9768001BF56C /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
293B4412461C9407D900D07D /* Build configuration list for PBXNativeTarget "iosApp" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
|
||||
Reference in New Issue
Block a user