Skip to content

Commit d956b89

Browse files
tomerdyim-lee
andauthored
improve debugging example (#84)
motivation: clearer examples as we prepare to open source changes: * rename debugging example to make the name more accurate * add more information in the local debugging example * add a Shared module to show how to share code between client and server * make example more useful - use JSON for registration like flow * add docker-compose task to test examples Co-authored-by: Yim Lee <[email protected]>
1 parent e907bd5 commit d956b89

File tree

28 files changed

+152
-20
lines changed

28 files changed

+152
-20
lines changed

Examples/EndToEndDebugging/README.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

Examples/EndToEndDebugging/EndToEndExample.xcworkspace/contents.xcworkspacedata renamed to Examples/LocalDebugging/Example.xcworkspace/contents.xcworkspacedata

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/EndToEndDebugging/MyApp/MyApp.xcodeproj/project.pbxproj renamed to Examples/LocalDebugging/MyApp/MyApp.xcodeproj/project.pbxproj

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 52;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -13,6 +13,7 @@
1313
F7B6C204246121E900607A89 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F7B6C203246121E900607A89 /* Assets.xcassets */; };
1414
F7B6C207246121E900607A89 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F7B6C206246121E900607A89 /* Preview Assets.xcassets */; };
1515
F7B6C20A246121E900607A89 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F7B6C208246121E900607A89 /* LaunchScreen.storyboard */; };
16+
F7EA8D6024762E4000B0D09E /* Shared in Frameworks */ = {isa = PBXBuildFile; productRef = F7EA8D5F24762E4000B0D09E /* Shared */; };
1617
/* End PBXBuildFile section */
1718

1819
/* Begin PBXFileReference section */
@@ -31,6 +32,7 @@
3132
isa = PBXFrameworksBuildPhase;
3233
buildActionMask = 2147483647;
3334
files = (
35+
F7EA8D6024762E4000B0D09E /* Shared in Frameworks */,
3436
);
3537
runOnlyForDeploymentPostprocessing = 0;
3638
};
@@ -42,6 +44,7 @@
4244
children = (
4345
F7B6C1FC246121E800607A89 /* MyApp */,
4446
F7B6C1FB246121E800607A89 /* Products */,
47+
F7EA8D5E24762E4000B0D09E /* Frameworks */,
4548
);
4649
sourceTree = "<group>";
4750
};
@@ -75,6 +78,13 @@
7578
path = "Preview Content";
7679
sourceTree = "<group>";
7780
};
81+
F7EA8D5E24762E4000B0D09E /* Frameworks */ = {
82+
isa = PBXGroup;
83+
children = (
84+
);
85+
name = Frameworks;
86+
sourceTree = "<group>";
87+
};
7888
/* End PBXGroup section */
7989

8090
/* Begin PBXNativeTarget section */
@@ -91,6 +101,9 @@
91101
dependencies = (
92102
);
93103
name = MyApp;
104+
packageProductDependencies = (
105+
F7EA8D5F24762E4000B0D09E /* Shared */,
106+
);
94107
productName = MyApp;
95108
productReference = F7B6C1FA246121E800607A89 /* MyApp.app */;
96109
productType = "com.apple.product-type.application";
@@ -340,6 +353,13 @@
340353
defaultConfigurationName = Release;
341354
};
342355
/* End XCConfigurationList section */
356+
357+
/* Begin XCSwiftPackageProductDependency section */
358+
F7EA8D5F24762E4000B0D09E /* Shared */ = {
359+
isa = XCSwiftPackageProductDependency;
360+
productName = Shared;
361+
};
362+
/* End XCSwiftPackageProductDependency section */
343363
};
344364
rootObject = F7B6C1F2246121E800607A89 /* Project object */;
345365
}

0 commit comments

Comments
 (0)