Skip to content

Commit f12ed01

Browse files
committed
Add a watchOS target
1 parent af38e23 commit f12ed01

File tree

3 files changed

+243
-0
lines changed

3 files changed

+243
-0
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ xcode_scheme:
88
- MMMarkdown (iOS)
99
- MMMarkdown (OS X)
1010
- MMMarkdown (tvOS)
11+
- MMMarkdown (watchOS)
1112

MMMarkdown.xcodeproj/project.pbxproj

+162
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,24 @@
2525
BE23E90B1C0CF4190087F587 /* MMScanner.m in Sources */ = {isa = PBXBuildFile; fileRef = BE813E9114FACF0C00EC9469 /* MMScanner.m */; };
2626
BE23E90C1C0CF4190087F587 /* MMSpanParser.h in Headers */ = {isa = PBXBuildFile; fileRef = BEF3421A150CEA6D00BFA0E2 /* MMSpanParser.h */; };
2727
BE23E90D1C0CF4190087F587 /* MMSpanParser.m in Sources */ = {isa = PBXBuildFile; fileRef = BEF3421B150CEA6D00BFA0E2 /* MMSpanParser.m */; };
28+
BE23E91B1C0CF7B90087F587 /* MMMarkdown.h in Headers */ = {isa = PBXBuildFile; fileRef = BE813DE214F893EB00EC9469 /* MMMarkdown.h */; };
29+
BE23E91C1C0CF7B90087F587 /* MMMarkdown.m in Sources */ = {isa = PBXBuildFile; fileRef = BE813DE314F893EB00EC9469 /* MMMarkdown.m */; };
30+
BE23E91D1C0CF7B90087F587 /* MMMarkdown-Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = BE813DE114F893EB00EC9469 /* MMMarkdown-Prefix.pch */; };
31+
BE23E91E1C0CF7B90087F587 /* MMDocument.h in Headers */ = {isa = PBXBuildFile; fileRef = BE813E7E14F95FD300EC9469 /* MMDocument.h */; };
32+
BE23E91F1C0CF7B90087F587 /* MMDocument_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = BE813E8A14F9658600EC9469 /* MMDocument_Private.h */; };
33+
BE23E9201C0CF7B90087F587 /* MMDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = BE813E7F14F95FD300EC9469 /* MMDocument.m */; };
34+
BE23E9211C0CF7B90087F587 /* MMElement.h in Headers */ = {isa = PBXBuildFile; fileRef = BE813E7214F959BC00EC9469 /* MMElement.h */; };
35+
BE23E9221C0CF7B90087F587 /* MMElement.m in Sources */ = {isa = PBXBuildFile; fileRef = BE813E7314F959BC00EC9469 /* MMElement.m */; };
36+
BE23E9231C0CF7B90087F587 /* MMGenerator.h in Headers */ = {isa = PBXBuildFile; fileRef = BE813E8414F9602400EC9469 /* MMGenerator.h */; };
37+
BE23E9241C0CF7B90087F587 /* MMGenerator.m in Sources */ = {isa = PBXBuildFile; fileRef = BE813E8514F9602500EC9469 /* MMGenerator.m */; };
38+
BE23E9251C0CF7B90087F587 /* MMHTMLParser.h in Headers */ = {isa = PBXBuildFile; fileRef = BE6CA52E158179670083887C /* MMHTMLParser.h */; };
39+
BE23E9261C0CF7B90087F587 /* MMHTMLParser.m in Sources */ = {isa = PBXBuildFile; fileRef = BE6CA52F158179670083887C /* MMHTMLParser.m */; };
40+
BE23E9271C0CF7B90087F587 /* MMParser.h in Headers */ = {isa = PBXBuildFile; fileRef = BE813E7814F95B2A00EC9469 /* MMParser.h */; };
41+
BE23E9281C0CF7B90087F587 /* MMParser.m in Sources */ = {isa = PBXBuildFile; fileRef = BE813E7914F95B2A00EC9469 /* MMParser.m */; };
42+
BE23E9291C0CF7B90087F587 /* MMScanner.h in Headers */ = {isa = PBXBuildFile; fileRef = BE813E9014FACF0C00EC9469 /* MMScanner.h */; };
43+
BE23E92A1C0CF7B90087F587 /* MMScanner.m in Sources */ = {isa = PBXBuildFile; fileRef = BE813E9114FACF0C00EC9469 /* MMScanner.m */; };
44+
BE23E92B1C0CF7B90087F587 /* MMSpanParser.h in Headers */ = {isa = PBXBuildFile; fileRef = BEF3421A150CEA6D00BFA0E2 /* MMSpanParser.h */; };
45+
BE23E92C1C0CF7B90087F587 /* MMSpanParser.m in Sources */ = {isa = PBXBuildFile; fileRef = BEF3421B150CEA6D00BFA0E2 /* MMSpanParser.m */; };
2846
BED761621B374D6700687B36 /* MMMarkdown.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BED761571B374D6700687B36 /* MMMarkdown.framework */; };
2947
BED761701B374E9C00687B36 /* MMMarkdown.h in Headers */ = {isa = PBXBuildFile; fileRef = BE813DE214F893EB00EC9469 /* MMMarkdown.h */; settings = {ATTRIBUTES = (Public, ); }; };
3048
BED761711B374E9C00687B36 /* MMMarkdown.m in Sources */ = {isa = PBXBuildFile; fileRef = BE813DE314F893EB00EC9469 /* MMMarkdown.m */; };
@@ -258,6 +276,7 @@
258276
BE1DB5D915143F4200B26092 /* MMBlockTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MMBlockTests.m; sourceTree = "<group>"; };
259277
BE1DB5DC1515032F00B26092 /* MMLinkTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MMLinkTests.m; sourceTree = "<group>"; };
260278
BE23E8F41C0CF3EF0087F587 /* MMMarkdown.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MMMarkdown.framework; sourceTree = BUILT_PRODUCTS_DIR; };
279+
BE23E9131C0CF77D0087F587 /* MMMarkdown.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MMMarkdown.framework; sourceTree = BUILT_PRODUCTS_DIR; };
261280
BE6CA52E158179670083887C /* MMHTMLParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MMHTMLParser.h; sourceTree = "<group>"; };
262281
BE6CA52F158179670083887C /* MMHTMLParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MMHTMLParser.m; sourceTree = "<group>"; };
263282
BE813DDE14F893EB00EC9469 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
@@ -376,6 +395,13 @@
376395
);
377396
runOnlyForDeploymentPostprocessing = 0;
378397
};
398+
BE23E90F1C0CF77D0087F587 /* Frameworks */ = {
399+
isa = PBXFrameworksBuildPhase;
400+
buildActionMask = 2147483647;
401+
files = (
402+
);
403+
runOnlyForDeploymentPostprocessing = 0;
404+
};
379405
BED761531B374D6700687B36 /* Frameworks */ = {
380406
isa = PBXFrameworksBuildPhase;
381407
buildActionMask = 2147483647;
@@ -419,6 +445,7 @@
419445
BED761611B374D6700687B36 /* MMMarkdownTests.xctest */,
420446
BED7620F1B37810000687B36 /* MMMarkdown.framework */,
421447
BE23E8F41C0CF3EF0087F587 /* MMMarkdown.framework */,
448+
BE23E9131C0CF77D0087F587 /* MMMarkdown.framework */,
422449
);
423450
name = Products;
424451
sourceTree = "<group>";
@@ -596,6 +623,23 @@
596623
);
597624
runOnlyForDeploymentPostprocessing = 0;
598625
};
626+
BE23E9101C0CF77D0087F587 /* Headers */ = {
627+
isa = PBXHeadersBuildPhase;
628+
buildActionMask = 2147483647;
629+
files = (
630+
BE23E9211C0CF7B90087F587 /* MMElement.h in Headers */,
631+
BE23E92B1C0CF7B90087F587 /* MMSpanParser.h in Headers */,
632+
BE23E91D1C0CF7B90087F587 /* MMMarkdown-Prefix.pch in Headers */,
633+
BE23E9231C0CF7B90087F587 /* MMGenerator.h in Headers */,
634+
BE23E91F1C0CF7B90087F587 /* MMDocument_Private.h in Headers */,
635+
BE23E91E1C0CF7B90087F587 /* MMDocument.h in Headers */,
636+
BE23E91B1C0CF7B90087F587 /* MMMarkdown.h in Headers */,
637+
BE23E9251C0CF7B90087F587 /* MMHTMLParser.h in Headers */,
638+
BE23E9271C0CF7B90087F587 /* MMParser.h in Headers */,
639+
BE23E9291C0CF7B90087F587 /* MMScanner.h in Headers */,
640+
);
641+
runOnlyForDeploymentPostprocessing = 0;
642+
};
599643
BED761541B374D6700687B36 /* Headers */ = {
600644
isa = PBXHeadersBuildPhase;
601645
buildActionMask = 2147483647;
@@ -651,6 +695,24 @@
651695
productReference = BE23E8F41C0CF3EF0087F587 /* MMMarkdown.framework */;
652696
productType = "com.apple.product-type.framework";
653697
};
698+
BE23E9121C0CF77D0087F587 /* MMMarkdown (watchOS) */ = {
699+
isa = PBXNativeTarget;
700+
buildConfigurationList = BE23E9181C0CF77D0087F587 /* Build configuration list for PBXNativeTarget "MMMarkdown (watchOS)" */;
701+
buildPhases = (
702+
BE23E90E1C0CF77D0087F587 /* Sources */,
703+
BE23E90F1C0CF77D0087F587 /* Frameworks */,
704+
BE23E9101C0CF77D0087F587 /* Headers */,
705+
BE23E9111C0CF77D0087F587 /* Resources */,
706+
);
707+
buildRules = (
708+
);
709+
dependencies = (
710+
);
711+
name = "MMMarkdown (watchOS)";
712+
productName = MMMarkdown;
713+
productReference = BE23E9131C0CF77D0087F587 /* MMMarkdown.framework */;
714+
productType = "com.apple.product-type.framework";
715+
};
654716
BED761561B374D6700687B36 /* MMMarkdown (OS X) */ = {
655717
isa = PBXNativeTarget;
656718
buildConfigurationList = BED7616E1B374D6700687B36 /* Build configuration list for PBXNativeTarget "MMMarkdown (OS X)" */;
@@ -718,6 +780,9 @@
718780
BE23E8F31C0CF3EF0087F587 = {
719781
CreatedOnToolsVersion = 7.1.1;
720782
};
783+
BE23E9121C0CF77D0087F587 = {
784+
CreatedOnToolsVersion = 7.1.1;
785+
};
721786
BED761561B374D6700687B36 = {
722787
CreatedOnToolsVersion = 6.3.2;
723788
};
@@ -744,6 +809,7 @@
744809
BED7620E1B37810000687B36 /* MMMarkdown (iOS) */,
745810
BED761561B374D6700687B36 /* MMMarkdown (OS X) */,
746811
BE23E8F31C0CF3EF0087F587 /* MMMarkdown (tvOS) */,
812+
BE23E9121C0CF77D0087F587 /* MMMarkdown (watchOS) */,
747813
BED761601B374D6700687B36 /* MMMarkdownTests */,
748814
);
749815
};
@@ -757,6 +823,13 @@
757823
);
758824
runOnlyForDeploymentPostprocessing = 0;
759825
};
826+
BE23E9111C0CF77D0087F587 /* Resources */ = {
827+
isa = PBXResourcesBuildPhase;
828+
buildActionMask = 2147483647;
829+
files = (
830+
);
831+
runOnlyForDeploymentPostprocessing = 0;
832+
};
760833
BED761551B374D6700687B36 /* Resources */ = {
761834
isa = PBXResourcesBuildPhase;
762835
buildActionMask = 2147483647;
@@ -796,6 +869,21 @@
796869
);
797870
runOnlyForDeploymentPostprocessing = 0;
798871
};
872+
BE23E90E1C0CF77D0087F587 /* Sources */ = {
873+
isa = PBXSourcesBuildPhase;
874+
buildActionMask = 2147483647;
875+
files = (
876+
BE23E9201C0CF7B90087F587 /* MMDocument.m in Sources */,
877+
BE23E9261C0CF7B90087F587 /* MMHTMLParser.m in Sources */,
878+
BE23E92C1C0CF7B90087F587 /* MMSpanParser.m in Sources */,
879+
BE23E9281C0CF7B90087F587 /* MMParser.m in Sources */,
880+
BE23E9241C0CF7B90087F587 /* MMGenerator.m in Sources */,
881+
BE23E91C1C0CF7B90087F587 /* MMMarkdown.m in Sources */,
882+
BE23E9221C0CF7B90087F587 /* MMElement.m in Sources */,
883+
BE23E92A1C0CF7B90087F587 /* MMScanner.m in Sources */,
884+
);
885+
runOnlyForDeploymentPostprocessing = 0;
886+
};
799887
BED761521B374D6700687B36 /* Sources */ = {
800888
isa = PBXSourcesBuildPhase;
801889
buildActionMask = 2147483647;
@@ -920,6 +1008,72 @@
9201008
};
9211009
name = Release;
9221010
};
1011+
BE23E9191C0CF77D0087F587 /* Debug */ = {
1012+
isa = XCBuildConfiguration;
1013+
buildSettings = {
1014+
APPLICATION_EXTENSION_API_ONLY = YES;
1015+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1016+
CLANG_CXX_LIBRARY = "libc++";
1017+
CLANG_ENABLE_MODULES = YES;
1018+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1019+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1020+
CURRENT_PROJECT_VERSION = 1;
1021+
DEBUG_INFORMATION_FORMAT = dwarf;
1022+
DEFINES_MODULE = YES;
1023+
DYLIB_COMPATIBILITY_VERSION = 1;
1024+
DYLIB_CURRENT_VERSION = 1;
1025+
DYLIB_INSTALL_NAME_BASE = "@rpath";
1026+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1027+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1028+
INFOPLIST_FILE = Source/Info.plist;
1029+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1030+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1031+
MTL_ENABLE_DEBUG_INFO = YES;
1032+
PRODUCT_BUNDLE_IDENTIFIER = com.diephouse.matt.MMMarkdown;
1033+
PRODUCT_NAME = MMMarkdown;
1034+
SDKROOT = watchos;
1035+
SKIP_INSTALL = YES;
1036+
TARGETED_DEVICE_FAMILY = 4;
1037+
VERSIONING_SYSTEM = "apple-generic";
1038+
VERSION_INFO_PREFIX = "";
1039+
WATCHOS_DEPLOYMENT_TARGET = 2.0;
1040+
};
1041+
name = Debug;
1042+
};
1043+
BE23E91A1C0CF77D0087F587 /* Release */ = {
1044+
isa = XCBuildConfiguration;
1045+
buildSettings = {
1046+
APPLICATION_EXTENSION_API_ONLY = YES;
1047+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1048+
CLANG_CXX_LIBRARY = "libc++";
1049+
CLANG_ENABLE_MODULES = YES;
1050+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1051+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1052+
COPY_PHASE_STRIP = NO;
1053+
CURRENT_PROJECT_VERSION = 1;
1054+
DEFINES_MODULE = YES;
1055+
DYLIB_COMPATIBILITY_VERSION = 1;
1056+
DYLIB_CURRENT_VERSION = 1;
1057+
DYLIB_INSTALL_NAME_BASE = "@rpath";
1058+
ENABLE_NS_ASSERTIONS = NO;
1059+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1060+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1061+
INFOPLIST_FILE = Source/Info.plist;
1062+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1063+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1064+
MTL_ENABLE_DEBUG_INFO = NO;
1065+
PRODUCT_BUNDLE_IDENTIFIER = com.diephouse.matt.MMMarkdown;
1066+
PRODUCT_NAME = MMMarkdown;
1067+
SDKROOT = watchos;
1068+
SKIP_INSTALL = YES;
1069+
TARGETED_DEVICE_FAMILY = 4;
1070+
VALIDATE_PRODUCT = YES;
1071+
VERSIONING_SYSTEM = "apple-generic";
1072+
VERSION_INFO_PREFIX = "";
1073+
WATCHOS_DEPLOYMENT_TARGET = 2.0;
1074+
};
1075+
name = Release;
1076+
};
9231077
BE813DFA14F893EB00EC9469 /* Debug */ = {
9241078
isa = XCBuildConfiguration;
9251079
buildSettings = {
@@ -1193,6 +1347,14 @@
11931347
);
11941348
defaultConfigurationIsVisible = 0;
11951349
};
1350+
BE23E9181C0CF77D0087F587 /* Build configuration list for PBXNativeTarget "MMMarkdown (watchOS)" */ = {
1351+
isa = XCConfigurationList;
1352+
buildConfigurations = (
1353+
BE23E9191C0CF77D0087F587 /* Debug */,
1354+
BE23E91A1C0CF77D0087F587 /* Release */,
1355+
);
1356+
defaultConfigurationIsVisible = 0;
1357+
};
11961358
BE813DD014F893EB00EC9469 /* Build configuration list for PBXProject "MMMarkdown" */ = {
11971359
isa = XCConfigurationList;
11981360
buildConfigurations = (
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0710"
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 = "BE23E9121C0CF77D0087F587"
18+
BuildableName = "MMMarkdown.framework"
19+
BlueprintName = "MMMarkdown (watchOS)"
20+
ReferencedContainer = "container:MMMarkdown.xcodeproj">
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+
</Testables>
32+
<AdditionalOptions>
33+
</AdditionalOptions>
34+
</TestAction>
35+
<LaunchAction
36+
buildConfiguration = "Debug"
37+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
38+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
39+
launchStyle = "0"
40+
useCustomWorkingDirectory = "NO"
41+
ignoresPersistentStateOnLaunch = "NO"
42+
debugDocumentVersioning = "YES"
43+
debugServiceExtension = "internal"
44+
allowLocationSimulation = "YES">
45+
<MacroExpansion>
46+
<BuildableReference
47+
BuildableIdentifier = "primary"
48+
BlueprintIdentifier = "BE23E9121C0CF77D0087F587"
49+
BuildableName = "MMMarkdown.framework"
50+
BlueprintName = "MMMarkdown (watchOS)"
51+
ReferencedContainer = "container:MMMarkdown.xcodeproj">
52+
</BuildableReference>
53+
</MacroExpansion>
54+
<AdditionalOptions>
55+
</AdditionalOptions>
56+
</LaunchAction>
57+
<ProfileAction
58+
buildConfiguration = "Release"
59+
shouldUseLaunchSchemeArgsEnv = "YES"
60+
savedToolIdentifier = ""
61+
useCustomWorkingDirectory = "NO"
62+
debugDocumentVersioning = "YES">
63+
<MacroExpansion>
64+
<BuildableReference
65+
BuildableIdentifier = "primary"
66+
BlueprintIdentifier = "BE23E9121C0CF77D0087F587"
67+
BuildableName = "MMMarkdown.framework"
68+
BlueprintName = "MMMarkdown (watchOS)"
69+
ReferencedContainer = "container:MMMarkdown.xcodeproj">
70+
</BuildableReference>
71+
</MacroExpansion>
72+
</ProfileAction>
73+
<AnalyzeAction
74+
buildConfiguration = "Debug">
75+
</AnalyzeAction>
76+
<ArchiveAction
77+
buildConfiguration = "Release"
78+
revealArchiveInOrganizer = "YES">
79+
</ArchiveAction>
80+
</Scheme>

0 commit comments

Comments
 (0)