8000 Fixing the DTRE module building · zillowdev/DTCoreText@6b3ccde · GitHub
[go: up one dir, main page]

Skip to content

Commit 6b3ccde

Browse files
committed
Fixing the DTRE module building
1 parent 5ed2b4b commit 6b3ccde

File tree

10 files changed

+128
-59
lines changed

10 files changed

+128
-59
lines changed

Core/Source/DTColor+Compatibility.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
#if TARGET_OS_IPHONE
1212

13+
#import <UIKit/UIColor.h>
14+
1315
/**
1416
Implementations of methods on NSColor/UIColor which are missing on the other platform.
1517
*/

Core/Source/DTCoreTextFunctions.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
#import "DTCompatibility.h"
1010

1111
#if TARGET_OS_IPHONE
12+
13+
#import <UIKit/UIKit.h>
14+
1215
/**
1316
Creates a CTFont from a UIFont
1417
@param font The `UIFont`

Core/Source/DTImage+HTML.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
#if TARGET_OS_IPHONE
1010

11+
#import <UIKit/UIImage.h>
12+
1113
/**
1214
Category used to have the same method available for unit testing on Mac on iOS.
1315
*/

DTCoreText.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

DTCoreText.xcodeproj/xcshareddata/xcschemes/DTCoreText (Mac).xcscheme

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0640"
3+
LastUpgradeVersion = "0700"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -48,6 +48,8 @@
4848
ReferencedContainer = "container:DTCoreText.xcodeproj">
4949
</BuildableReference>
5050
</MacroExpansion>
51+
<AdditionalOptions>
52+
</AdditionalOptions>
5153
</TestAction>
5254
<LaunchAction
5355
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
@@ -57,6 +59,7 @@
5759
buildConfiguration = "Debug"
5860
ignoresPersistentStateOnLaunch = "NO"
5961
debugDocumentVersioning = "YES"
62+
debugServiceExtension = "internal"
6063
allowLocationSimulation = "YES">
6164
<MacroExpansion>
6265
<BuildableReference

DTCoreText.xcodeproj/xcshareddata/xcschemes/DTCoreText (iOS).xcscheme

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0640"
3+
LastUpgradeVersion = "0700"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -48,6 +48,8 @@
4848
ReferencedContainer = "container:DTCoreText.xcodeproj">
4949
</BuildableReference>
5050
</MacroExpansion>
51+
<AdditionalOptions>
52+
</AdditionalOptions>
5153
</TestAction>
5254
<LaunchAction
5355
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
@@ -57,6 +59,7 @@
5759
buildConfiguration = "Debug"
5860
ignoresPersistentStateOnLaunch = "NO"
5961
debugDocumentVersioning = "YES"
62+
debugServiceExtension = "internal"
6063
allowLocationSimulation = "YES">
6164
<MacroExpansion>
6265
<BuildableReference

DTCoreText.xcodeproj/xcshareddata/xcschemes/DemoApp.xcscheme

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0640"
3+
LastUpgradeVersion = "0700"
44
version = "2.0">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -67,6 +67,8 @@
6767
ReferencedContainer = "container:DTCoreText.xcodeproj">
6868
</BuildableReference>
6969
</MacroExpansion>
70+
<AdditionalOptions>
71+
</AdditionalOptions>
7072
</TestAction>
7173
<LaunchAction
7274
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
@@ -77,6 +79,7 @@
7779
ignoresPersistentStateOnLaunch = "NO"
7880
debugDocumentVersioning = "YES"
7981
debugXPCServices = "NO"
82+
debugServiceExtension = "internal"
8083
allowLocationSimulation = "YES">
8184
<BuildableProductRunnable
8285
runnableDebuggingMode = "0">

DTCoreText.xcodeproj/xcshareddata/xcschemes/Documentation.xcscheme

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0640"
3+
LastUpgradeVersion = "0700"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -29,6 +29,8 @@
2929
buildConfiguration = "Debug">
3030
<Testables>
3131
</Testables>
32+
<AdditionalOptions>
33+
</AdditionalOptions>
3234
</TestAction>
3335
<LaunchAction
3436
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
@@ -38,6 +40,7 @@
3840
buildConfiguration = "Debug"
3941
ignoresPersistentStateOnLaunch = "NO"
4042
debugDocumentVersioning = "YES"
43+
debugServiceExtension = "internal"
4144
allowLocationSimulation = "YES">
4245
<MacroExpansion>
4346
<BuildableReference

DTCoreText.xcodeproj/xcshareddata/xcschemes/Static Library.xcscheme

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0640"
3+
LastUpgradeVersion = "0700"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -44,6 +44,8 @@
4444
</SkippedTests>
4545
</TestableReference>
4646
</Testables>
47+
<AdditionalOptions>
48+
</AdditionalOptions>
4749
</TestAction>
4850
<LaunchAction
4951
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
@@ -53,6 +55,7 @@
5355
buildConfiguration = "Debug"
5456
ignoresPersistentStateOnLaunch = "NO"
5557
debugDocumentVersioning = "YES"
58+
debugServiceExtension = "internal"
5659
allowLocationSimulation = "YES">
5760
<MacroExpansion>
5861
<BuildableReference

DTCoreText.xcodeproj/xcshareddata/xcschemes/UnitTest.xcscheme

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0640"
3+
LastUpgradeVersion = "0700"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -28,6 +28,8 @@
2828
</SkippedTests>
2929
</TestableReference>
3030
</Testables>
31+
<AdditionalOptions>
32+
</AdditionalOptions>
3133
</TestAction>
3234
<LaunchAction
3335
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
@@ -37,6 +39,7 @@
3739
buildConfiguration = "Debug"
3840
ignoresPersistentStateOnLaunch = "NO"
3941
debugDocumentVersioning = "YES"
42+
debugServiceExtension = "internal"
4043
allowLocationSimulation = "YES">
4144
<AdditionalOptions>
4245
</AdditionalOptions>

0 commit comments

Comments
 (0)
0