Skip to content
Closed
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
114 changes: 2 additions & 112 deletions example_projects/iOS/MCPTest.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,12 @@
remoteGlobalIDString = 8BA9F7E92D62A14300C22D5D;
remoteInfo = MCPTest;
};
8BA9F8052D62A14500C22D5D /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 8BA9F7E22D62A14300C22D5D /* Project object */;
proxyType = 1;
remoteGlobalIDString = 8BA9F7E92D62A14300C22D5D;
remoteInfo = MCPTest;
};
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
8BA9F7EA2D62A14300C22D5D /* MCPTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MCPTest.app; sourceTree = BUILT_PRODUCTS_DIR; };
8BA9F7FA2D62A14500C22D5D /* MCPTestTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MCPTestTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
8BA9F8042D62A14500C22D5D /* MCPTestUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MCPTestUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
8BAA686D2DC2AEFB006D34CC /* MCPTest.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = MCPTest.xctestplan; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFileSystemSynchronizedRootGroup section */
Expand All @@ -40,11 +33,6 @@
path = MCPTestTests;
sourceTree = "<group>";
};
8BA9F8072D62A14500C22D5D /* MCPTestUITests */ = {
isa = PBXFileSystemSynchronizedRootGroup;
path = MCPTestUITests;
sourceTree = "<group>";
};
/* End PBXFileSystemSynchronizedRootGroup section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -62,13 +50,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
8BA9F8012D62A14500C22D5D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand All @@ -77,7 +58,7 @@
children = (
8BA9F7EC2D62A14300C22D5D /* MCPTest */,
8BA9F7FD2D62A14500C22D5D /* MCPTestTests */,
8BA9F8072D62A14500C22D5D /* MCPTestUITests */,
8BAA686D2DC2AEFB006D34CC /* MCPTest.xctestplan */,
8BA9F7EB2D62A14300C22D5D /* Products */,
);
sourceTree = "<group>";
Expand All @@ -87,7 +68,6 @@
children = (
8BA9F7EA2D62A14300C22D5D /* MCPTest.app */,
8BA9F7FA2D62A14500C22D5D /* MCPTestTests.xctest */,
8BA9F8042D62A14500C22D5D /* MCPTestUITests.xctest */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -140,29 +120,6 @@
productReference = 8BA9F7FA2D62A14500C22D5D /* MCPTestTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
8BA9F8032D62A14500C22D5D /* MCPTestUITests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 8BA9F8142D62A14500C22D5D /* Build configuration list for PBXNativeTarget "MCPTestUITests" */;
buildPhases = (
8BA9F8002D62A14500C22D5D /* Sources */,
8BA9F8012D62A14500C22D5D /* Frameworks */,
8BA9F8022D62A14500C22D5D /* Resources */,
);
buildRules = (
);
dependencies = (
8BA9F8062D62A14500C22D5D /* PBXTargetDependency */,
);
fileSystemSynchronizedGroups = (
8BA9F8072D62A14500C22D5D /* MCPTestUITests */,
);
name = MCPTestUITests;
packageProductDependencies = (
);
productName = MCPTestUITests;
productReference = 8BA9F8042D62A14500C22D5D /* MCPTestUITests.xctest */;
productType = "com.apple.product-type.bundle.ui-testing";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -180,10 +137,6 @@
CreatedOnToolsVersion = 16.2;
TestTargetID = 8BA9F7E92D62A14300C22D5D;
};
8BA9F8032D62A14500C22D5D = {
CreatedOnToolsVersion = 16.2;
TestTargetID = 8BA9F7E92D62A14300C22D5D;
};
};
};
buildConfigurationList = 8BA9F7E52D62A14300C22D5D /* Build configuration list for PBXProject "MCPTest" */;
Expand All @@ -202,7 +155,6 @@
targets = (
8BA9F7E92D62A14300C22D5D /* MCPTest */,
8BA9F7F92D62A14500C22D5D /* MCPTestTests */,
8BA9F8032D62A14500C22D5D /* MCPTestUITests */,
);
};
/* End PBXProject section */
Expand All @@ -222,13 +174,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
8BA9F8022D62A14500C22D5D /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand All @@ -246,13 +191,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
8BA9F8002D62A14500C22D5D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
Expand All @@ -261,11 +199,6 @@
target = 8BA9F7E92D62A14300C22D5D /* MCPTest */;
targetProxy = 8BA9F7FB2D62A14500C22D5D /* PBXContainerItemProxy */;
};
8BA9F8062D62A14500C22D5D /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 8BA9F7E92D62A14300C22D5D /* MCPTest */;
targetProxy = 8BA9F8052D62A14500C22D5D /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin XCBuildConfiguration section */
Expand Down Expand Up @@ -484,40 +417,6 @@
};
name = Release;
};
8BA9F8152D62A14500C22D5D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = BR6WD3M6ZD;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.cameroncooke.MCPTestUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = MCPTest;
};
name = Debug;
};
8BA9F8162D62A14500C22D5D /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = BR6WD3M6ZD;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.cameroncooke.MCPTestUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = MCPTest;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand Down Expand Up @@ -548,15 +447,6 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
8BA9F8142D62A14500C22D5D /* Build configuration list for PBXNativeTarget "MCPTestUITests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
8BA9F8152D62A14500C22D5D /* Debug */,
8BA9F8162D62A14500C22D5D /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 8BA9F7E22D62A14300C22D5D /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1630"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8BA9F7E92D62A14300C22D5D"
BuildableName = "MCPTest.app"
BlueprintName = "MCPTest"
ReferencedContainer = "container:MCPTest.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<TestPlans>
<TestPlanReference
reference = "container:MCPTest.xctestplan"
default = "YES">
</TestPlanReference>
</TestPlans>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8BA9F7E92D62A14300C22D5D"
BuildableName = "MCPTest.app"
BlueprintName = "MCPTest"
ReferencedContainer = "container:MCPTest.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8BA9F7E92D62A14300C22D5D"
BuildableName = "MCPTest.app"
BlueprintName = "MCPTest"
ReferencedContainer = "container:MCPTest.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
29 changes: 29 additions & 0 deletions example_projects/iOS/MCPTest.xctestplan
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"configurations" : [
{
"id" : "03F30AE4-48A7-4967-B8BE-2A15CC349E34",
"name" : "Test Scheme Action",
"options" : {

}
}
],
"defaultOptions" : {
"targetForVariableExpansion" : {
"containerPath" : "container:MCPTest.xcodeproj",
"identifier" : "8BA9F7E92D62A14300C22D5D",
"name" : "MCPTest"
}
},
"testTargets" : [
{
"parallelizable" : true,
"target" : {
"containerPath" : "container:MCPTest.xcodeproj",
"identifier" : "8BA9F7F92D62A14500C22D5D",
"name" : "MCPTestTests"
}
}
],
"version" : 1
}
5 changes: 4 additions & 1 deletion example_projects/iOS/MCPTestTests/MCPTestTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ import Testing
struct MCPTestTests {

@Test func example() async throws {
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
#expect(1 == 1)
}

@Test func example3() async throws {
#expect(1 == 2)
}
}
43 changes: 0 additions & 43 deletions example_projects/iOS/MCPTestUITests/MCPTestUITests.swift

This file was deleted.

Loading