Skip to content

Commit 731cf27

Browse files
committed
Add workspace
1 parent e8931e3 commit 731cf27

File tree

7 files changed

+147
-16
lines changed

7 files changed

+147
-16
lines changed
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1250"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "MarkdownUI"
18+
BuildableName = "MarkdownUI"
19+
BlueprintName = "MarkdownUI"
20+
ReferencedContainer = "container:">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
<TestableReference
32+
skipped = "NO">
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "MarkdownUITests"
36+
BuildableName = "MarkdownUITests"
37+
BlueprintName = "MarkdownUITests"
38+
ReferencedContainer = "container:">
39+
</BuildableReference>
40+
</TestableReference>
41+
</Testables>
42+
</TestAction>
43+
<LaunchAction
44+
buildConfiguration = "Debug"
45+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
46+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47+
launchStyle = "0"
48+
useCustomWorkingDirectory = "NO"
49+
ignoresPersistentStateOnLaunch = "NO"
50+
debugDocumentVersioning = "YES"
51+
debugServiceExtension = "internal"
52+
allowLocationSimulation = "YES">
53+
</LaunchAction>
54+
<ProfileAction
55+
buildConfiguration = "Release"
56+
shouldUseLaunchSchemeArgsEnv = "YES"
57+
savedToolIdentifier = ""
58+
useCustomWorkingDirectory = "NO"
59+
debugDocumentVersioning = "YES">
60+
<MacroExpansion>
61+
<BuildableReference
62+
BuildableIdentifier = "primary"
63+
BlueprintIdentifier = "MarkdownUI"
64+
BuildableName = "MarkdownUI"
65+
BlueprintName = "MarkdownUI"
66+
ReferencedContainer = "container:">
67+
</BuildableReference>
68+
</MacroExpansion>
69+
</ProfileAction>
70+
<AnalyzeAction
71+
buildConfiguration = "Debug">
72+
</AnalyzeAction>
73+
<ArchiveAction
74+
buildConfiguration = "Release"
75+
revealArchiveInOrganizer = "YES">
76+
</ArchiveAction>
77+
</Scheme>

Examples/MarkdownUIDemo/MarkdownUIDemo.xcodeproj/project.pbxproj

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

99
/* Begin PBXBuildFile section */
10+
735303752690B723000692C5 /* MarkdownUI in Frameworks */ = {isa = PBXBuildFile; productRef = 735303742690B723000692C5 /* MarkdownUI */; };
11+
735303772690B732000692C5 /* MarkdownUI in Frameworks */ = {isa = PBXBuildFile; productRef = 735303762690B732000692C5 /* MarkdownUI */; };
1012
8240600F2592399400F3BD7F /* AllExamplesView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8240600E2592399400F3BD7F /* AllExamplesView.swift */; };
1113
824060102592399400F3BD7F /* AllExamplesView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8240600E2592399400F3BD7F /* AllExamplesView.swift */; };
1214
824D53F12590F99C00B19E57 /* Example.swift in Sources */ = {isa = PBXBuildFile; fileRef = 824D53F02590F99C00B19E57 /* Example.swift */; };
@@ -24,8 +26,6 @@
2426
82EAC73F258F1B80009F513C /* MarkdownUIDemoApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 82EAC72B258F1B7F009F513C /* MarkdownUIDemoApp.swift */; };
2527
82EAC742258F1B80009F513C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 82EAC72D258F1B80009F513C /* Assets.xcassets */; };
2628
82EAC743258F1B80009F513C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 82EAC72D258F1B80009F513C /* Assets.xcassets */; };
27-
82EAC755258F1D2C009F513C /* MarkdownUI in Frameworks */ = {isa = PBXBuildFile; productRef = 82EAC754258F1D2C009F513C /* MarkdownUI */; };
28-
82EAC757258F1D36009F513C /* MarkdownUI in Frameworks */ = {isa = PBXBuildFile; productRef = 82EAC756258F1D36009F513C /* MarkdownUI */; };
2929
/* End PBXBuildFile section */
3030

3131
/* Begin PBXFileReference section */
@@ -43,23 +43,22 @@
4343
82EAC73A258F1B80009F513C /* MarkdownUIDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MarkdownUIDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
4444
82EAC73C258F1B80009F513C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
4545
82EAC73D258F1B80009F513C /* macOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = macOS.entitlements; sourceTree = "<group>"; };
46-
82EAC750258F1C6C009F513C /* MarkdownUI */ = {isa = PBXFileReference; lastKnownFileType = folder; name = MarkdownUI; path = ../..; sourceTree = "<group>"; };
4746
/* End PBXFileReference section */
4847

4948
/* Begin PBXFrameworksBuildPhase section */
5049
82EAC72F258F1B80009F513C /* Frameworks */ = {
5150
isa = PBXFrameworksBuildPhase;
5251
buildActionMask = 2147483647;
5352
files = (
54-
82EAC755258F1D2C009F513C /* MarkdownUI in Frameworks */,
53+
735303752690B723000692C5 /* MarkdownUI in Frameworks */,
5554
);
5655
runOnlyForDeploymentPostprocessing = 0;
5756
};
5857
82EAC737258F1B80009F513C /* Frameworks */ = {
5958
isa = PBXFrameworksBuildPhase;
6059
buildActionMask = 2147483647;
6160
files = (
62-
82EAC757258F1D36009F513C /* MarkdownUI in Frameworks */,
61+
735303772690B732000692C5 /* MarkdownUI in Frameworks */,
6362
);
6463
runOnlyForDeploymentPostprocessing = 0;
6564
};
@@ -69,7 +68,6 @@
6968
82EAC725258F1B7F009F513C = {
7069
isa = PBXGroup;
7170
children = (
72-
82EAC750258F1C6C009F513C /* MarkdownUI */,
7371
82EAC72A258F1B7F009F513C /* Shared */,
7472
82EAC734258F1B80009F513C /* iOS */,
7573
82EAC73B258F1B80009F513C /* macOS */,
@@ -144,7 +142,7 @@
144142
);
145143
name = "MarkdownUIDemo (iOS)";
146144
packageProductDependencies = (
147-
82EAC754258F1D2C009F513C /* MarkdownUI */,
145+
735303742690B723000692C5 /* MarkdownUI */,
148146
);
149147
productName = "MarkdownUIDemo (iOS)";
150148
productReference = 82EAC732258F1B80009F513C /* MarkdownUIDemo.app */;
@@ -164,7 +162,7 @@
164162
);
165163
name = "MarkdownUIDemo (macOS)";
166164
packageProductDependencies = (
167-
82EAC756258F1D36009F513C /* MarkdownUI */,
165+
735303762690B732000692C5 /* MarkdownUI */,
168166
);
169167
productName = "MarkdownUIDemo (macOS)";
170168
productReference = 82EAC73A258F1B80009F513C /* MarkdownUIDemo.app */;
@@ -497,11 +495,11 @@
497495
/* End XCConfigurationList section */
498496

499497
/* Begin XCSwiftPackageProductDependency section */
500-
82EAC754258F1D2C009F513C /* MarkdownUI */ = {
498+
735303742690B723000692C5 /* MarkdownUI */ = {
501499
isa = XCSwiftPackageProductDependency;
502500
productName = MarkdownUI;
503501
};
504-
82EAC756258F1D36009F513C /* MarkdownUI */ = {
502+
735303762690B732000692C5 /* MarkdownUI */ = {
505503
isa = XCSwiftPackageProductDependency;
506504
productName = MarkdownUI;
507505
};

Examples/Package.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// swift-tools-version:5.3
2+
// Leave blank. This is only here so that Xcode doesn't display it.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "Examples",
8+
products: [],
9+
targets: []
10+
)

Makefile

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,44 @@ DESTINATION_IOS = platform=iOS Simulator,name=iPhone 8
44
DESTINATION_TVOS = platform=tvOS Simulator,name=Apple TV
55
DESTINATION_WATCHOS = generic/platform=watchOS
66

7-
default: test
7+
default: test watch_os demo_mac demo_ios
88

99
test:
1010
xcodebuild test \
11+
-workspace MarkdownUI.xcworkspace \
1112
-scheme MarkdownUI \
1213
-destination '$(DESTINATION_MAC)'
1314
xcodebuild test \
15+
-workspace MarkdownUI.xcworkspace \
1416
-scheme MarkdownUI \
1517
-destination '$(DESTINATION_CATALYST)'
1618
xcodebuild test \
19+
-workspace MarkdownUI.xcworkspace \
1720
-scheme MarkdownUI \
1821
-destination '$(DESTINATION_IOS)'
1922
xcodebuild test \
23+
-workspace MarkdownUI.xcworkspace \
2024
-scheme MarkdownUI \
2125
-destination '$(DESTINATION_TVOS)'
26+
27+
watch_os:
2228
xcodebuild \
29+
-workspace MarkdownUI.xcworkspace \
2330
-scheme MarkdownUI-watchOS \
2431
-destination '$(DESTINATION_WATCHOS)'
2532

33+
demo_mac:
34+
xcodebuild \
35+
-workspace MarkdownUI.xcworkspace \
36+
-scheme 'MarkdownUIDemo (macOS)' \
37+
-destination '$(DESTINATION_MAC)'
38+
39+
demo_ios:
40+
xcodebuild \
41+
-workspace MarkdownUI.xcworkspace \
42+
-scheme 'MarkdownUIDemo (iOS)' \
43+
-destination '$(DESTINATION_IOS)'
44+
2645
format:
2746
swiftformat .
2847

MarkdownUI.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: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

Examples/MarkdownUIDemo/MarkdownUIDemo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved renamed to MarkdownUI.xcworkspace/xcshareddata/swiftpm/Package.resolved

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

0 commit comments

Comments
 (0)