Skip to content

Commit 0e671bc

Browse files
committed
Xcode project
1 parent d1c5977 commit 0e671bc

3 files changed

Lines changed: 353 additions & 2 deletions

File tree

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
build/
1+
build/
2+
3+
xcuserdata/
4+
*.xcworkspace/
5+
6+
bin/PDFixSDKSample*
7+
8+
bin/*.dll
9+
bin/*.dylib
Lines changed: 339 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,339 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 50;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
C4EF7257208E809A00743B48 /* Main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C4EF7246208E809900743B48 /* Main.cpp */; };
11+
C4EF7258208E809A00743B48 /* Utils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C4EF7254208E809A00743B48 /* Utils.cpp */; };
12+
/* End PBXBuildFile section */
13+
14+
/* Begin PBXCopyFilesBuildPhase section */
15+
C448F8BB2075997300422D58 /* CopyFiles */ = {
16+
isa = PBXCopyFilesBuildPhase;
17+
buildActionMask = 2147483647;
18+
dstPath = /usr/share/man/man1/;
19+
dstSubfolderSpec = 0;
20+
files = (
21+
);
22+
runOnlyForDeploymentPostprocessing = 1;
23+
};
24+
/* End PBXCopyFilesBuildPhase section */
25+
26+
/* Begin PBXFileReference section */
27+
C448F8BD2075997300422D58 /* PDFixSDKSample */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = PDFixSDKSample; sourceTree = BUILT_PRODUCTS_DIR; };
28+
C4EF723C208E809900743B48 /* RegexSearch.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = RegexSearch.hpp; path = ../../src/RegexSearch.hpp; sourceTree = "<group>"; };
29+
C4EF723D208E809900743B48 /* ExtractTables.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = ExtractTables.hpp; path = ../../src/ExtractTables.hpp; sourceTree = "<group>"; };
30+
C4EF723E208E809900743B48 /* ConvertToHtml.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = ConvertToHtml.hpp; path = ../../src/ConvertToHtml.hpp; sourceTree = "<group>"; };
31+
C4EF723F208E809900743B48 /* EmbedFonts.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = EmbedFonts.hpp; path = ../../src/EmbedFonts.hpp; sourceTree = "<group>"; };
32+
C4EF7240208E809900743B48 /* RenderPage.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = RenderPage.hpp; path = ../../src/RenderPage.hpp; sourceTree = "<group>"; };
33+
C4EF7241208E809900743B48 /* SetFieldFlags.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = SetFieldFlags.hpp; path = ../../src/SetFieldFlags.hpp; sourceTree = "<group>"; };
34+
C4EF7242208E809900743B48 /* GetWhitespace.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = GetWhitespace.hpp; path = ../../src/GetWhitespace.hpp; sourceTree = "<group>"; };
35+
C4EF7243208E809900743B48 /* CertDigitalSignature.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = CertDigitalSignature.hpp; path = ../../src/CertDigitalSignature.hpp; sourceTree = "<group>"; };
36+
C4EF7244208E809900743B48 /* SetFormFieldValue.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = SetFormFieldValue.hpp; path = ../../src/SetFormFieldValue.hpp; sourceTree = "<group>"; };
37+
C4EF7245208E809900743B48 /* OcrWithTesseract.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = OcrWithTesseract.hpp; path = ../../src/OcrWithTesseract.hpp; sourceTree = "<group>"; };
38+
C4EF7246208E809900743B48 /* Main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Main.cpp; path = ../../src/Main.cpp; sourceTree = "<group>"; };
39+
C4EF7247208E809900743B48 /* GetBookmarks.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = GetBookmarks.hpp; path = ../../src/GetBookmarks.hpp; sourceTree = "<group>"; };
40+
C4EF7248208E809900743B48 /* ExtractText.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = ExtractText.hpp; path = ../../src/ExtractText.hpp; sourceTree = "<group>"; };
41+
C4EF7249208E809900743B48 /* MakeAccessible.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = MakeAccessible.hpp; path = ../../src/MakeAccessible.hpp; sourceTree = "<group>"; };
42+
C4EF724A208E809900743B48 /* AddWatermark.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = AddWatermark.hpp; path = ../../src/AddWatermark.hpp; sourceTree = "<group>"; };
43+
C4EF724B208E809900743B48 /* PrintPage.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = PrintPage.hpp; path = ../../src/PrintPage.hpp; sourceTree = "<group>"; };
44+
C4EF724C208E809900743B48 /* DocumentMetadata.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = DocumentMetadata.hpp; path = ../../src/DocumentMetadata.hpp; sourceTree = "<group>"; };
45+
C4EF724D208E809A00743B48 /* RegexsetPattern.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = RegexsetPattern.hpp; path = ../../src/RegexsetPattern.hpp; sourceTree = "<group>"; };
46+
C4EF724E208E809A00743B48 /* AddComment.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = AddComment.hpp; path = ../../src/AddComment.hpp; sourceTree = "<group>"; };
47+
C4EF724F208E809A00743B48 /* RemoveComments.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = RemoveComments.hpp; path = ../../src/RemoveComments.hpp; sourceTree = "<group>"; };
48+
C4EF7250208E809A00743B48 /* RegisterEvent.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = RegisterEvent.hpp; path = ../../src/RegisterEvent.hpp; sourceTree = "<group>"; };
49+
C4EF7251208E809A00743B48 /* FlattenAnnots.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = FlattenAnnots.hpp; path = ../../src/FlattenAnnots.hpp; sourceTree = "<group>"; };
50+
C4EF7252208E809A00743B48 /* AddTags.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = AddTags.hpp; path = ../../src/AddTags.hpp; sourceTree = "<group>"; };
51+
C4EF7253208E809A00743B48 /* ExportFormFieldValues.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = ExportFormFieldValues.hpp; path = ../../src/ExportFormFieldValues.hpp; sourceTree = "<group>"; };
52+
C4EF7254208E809A00743B48 /* Utils.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Utils.cpp; path = ../../src/Utils.cpp; sourceTree = "<group>"; };
53+
C4EF7255208E809A00743B48 /* DigitalSignature.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = DigitalSignature.hpp; path = ../../src/DigitalSignature.hpp; sourceTree = "<group>"; };
54+
C4EF7256208E809A00743B48 /* ExtractImages.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = ExtractImages.hpp; path = ../../src/ExtractImages.hpp; sourceTree = "<group>"; };
55+
/* End PBXFileReference section */
56+
57+
/* Begin PBXFrameworksBuildPhase section */
58+
C448F8BA2075997300422D58 /* Frameworks */ = {
59+
isa = PBXFrameworksBuildPhase;
60+
buildActionMask = 2147483647;
61+
files = (
62+
);
63+
runOnlyForDeploymentPostprocessing = 0;
64+
};
65+
/* End PBXFrameworksBuildPhase section */
66+
67+
/* Begin PBXGroup section */
68+
C448F8B42075997300422D58 = {
69+
isa = PBXGroup;
70+
children = (
71+
C4EF724E208E809A00743B48 /* AddComment.hpp */,
72+
C4EF7252208E809A00743B48 /* AddTags.hpp */,
73+
C4EF724A208E809900743B48 /* AddWatermark.hpp */,
74+
C4EF7243208E809900743B48 /* CertDigitalSignature.hpp */,
75+
C4EF723E208E809900743B48 /* ConvertToHtml.hpp */,
76+
C4EF7255208E809A00743B48 /* DigitalSignature.hpp */,
77+
C4EF724C208E809900743B48 /* DocumentMetadata.hpp */,
78+
C4EF723F208E809900743B48 /* EmbedFonts.hpp */,
79+
C4EF7253208E809A00743B48 /* ExportFormFieldValues.hpp */,
80+
C4EF7256208E809A00743B48 /* ExtractImages.hpp */,
81+
C4EF723D208E809900743B48 /* ExtractTables.hpp */,
82+
C4EF7248208E809900743B48 /* ExtractText.hpp */,
83+
C4EF7251208E809A00743B48 /* FlattenAnnots.hpp */,
84+
C4EF7247208E809900743B48 /* GetBookmarks.hpp */,
85+
C4EF7242208E809900743B48 /* GetWhitespace.hpp */,
86+
C4EF7246208E809900743B48 /* Main.cpp */,
87+
C4EF7249208E809900743B48 /* MakeAccessible.hpp */,
88+
C4EF7245208E809900743B48 /* OcrWithTesseract.hpp */,
89+
C4EF724B208E809900743B48 /* PrintPage.hpp */,
90+
C4EF723C208E809900743B48 /* RegexSearch.hpp */,
91+
C4EF724D208E809A00743B48 /* RegexsetPattern.hpp */,
92+
C4EF7250208E809A00743B48 /* RegisterEvent.hpp */,
93+
C4EF724F208E809A00743B48 /* RemoveComments.hpp */,
94+
C4EF7240208E809900743B48 /* RenderPage.hpp */,
95+
C4EF7241208E809900743B48 /* SetFieldFlags.hpp */,
96+
C4EF7244208E809900743B48 /* SetFormFieldValue.hpp */,
97+
C4EF7254208E809A00743B48 /* Utils.cpp */,
98+
C448F8BE2075997300422D58 /* Products */,
99+
);
100+
sourceTree = "<group>";
101+
};
102+
C448F8BE2075997300422D58 /* Products */ = {
103+
isa = PBXGroup;
104+
children = (
105+
C448F8BD2075997300422D58 /* PDFixSDKSample */,
106+
);
107+
name = Products;
108+
sourceTree = "<group>";
109+
};
110+
/* End PBXGroup section */
111+
112+
/* Begin PBXNativeTarget section */
113+
C448F8BC2075997300422D58 /* PDFixSDKSample */ = {
114+
isa = PBXNativeTarget;
115+
buildConfigurationList = C448F8C42075997300422D58 /* Build configuration list for PBXNativeTarget "PDFixSDKSample" */;
116+
buildPhases = (
117+
C448F8B92075997300422D58 /* Sources */,
118+
C448F8BA2075997300422D58 /* Frameworks */,
119+
C448F8BB2075997300422D58 /* CopyFiles */,
120+
);
121+
buildRules = (
122+
);
123+
dependencies = (
124+
);
125+
name = PDFixSDKSample;
126+
productName = pdfix_sample;
127+
productReference = C448F8BD2075997300422D58 /* PDFixSDKSample */;
128+
productType = "com.apple.product-type.tool";
129+
};
130+
/* End PBXNativeTarget section */
131+
132+
/* Begin PBXProject section */
133+
C448F8B52075997300422D58 /* Project object */ = {
134+
isa = PBXProject;
135+
attributes = {
136+
LastUpgradeCheck = 0930;
137+
ORGANIZATIONNAME = PDFix;
138+
TargetAttributes = {
139+
C448F8BC2075997300422D58 = {
140+
CreatedOnToolsVersion = 9.3;
141+
};
142+
};
143+
};
144+
buildConfigurationList = C448F8B82075997300422D58 /* Build configuration list for PBXProject "PDFixSDKSample" */;
145+
compatibilityVersion = "Xcode 9.3";
146+
developmentRegion = en;
147+
hasScannedForEncodings = 0;
148+
knownRegions = (
149+
en,
150+
);
151+
mainGroup = C448F8B42075997300422D58;
152+
productRefGroup = C448F8BE2075997300422D58 /* Products */;
153+
projectDirPath = "";
154+
projectRoot = "";
155+
targets = (
156+
C448F8BC2075997300422D58 /* PDFixSDKSample */,
157+
);
158+
};
159+
/* End PBXProject section */
160+
161+
/* Begin PBXSourcesBuildPhase section */
162+
C448F8B92075997300422D58 /* Sources */ = {
163+
isa = PBXSourcesBuildPhase;
164+
buildActionMask = 2147483647;
165+
files = (
166+
C4EF7257208E809A00743B48 /* Main.cpp in Sources */,
167+
C4EF7258208E809A00743B48 /* Utils.cpp in Sources */,
168+
);
169+
runOnlyForDeploymentPostprocessing = 0;
170+
};
171+
/* End PBXSourcesBuildPhase section */
172+
173+
/* Begin XCBuildConfiguration section */
174+
C448F8C22075997300422D58 /* Debug */ = {
175+
isa = XCBuildConfiguration;
176+
buildSettings = {
177+
ALWAYS_SEARCH_USER_PATHS = NO;
178+
CLANG_ANALYZER_NONNULL = YES;
179+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
180+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
181+
CLANG_CXX_LIBRARY = "libc++";
182+
CLANG_ENABLE_MODULES = YES;
183+
CLANG_ENABLE_OBJC_ARC = YES;
184+
CLANG_ENABLE_OBJC_WEAK = YES;
185+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
186+
CLANG_WARN_BOOL_CONVERSION = YES;
187+
CLANG_WARN_COMMA = YES;
188+
CLANG_WARN_CONSTANT_CONVERSION = YES;
189+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
190+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
191+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
192+
CLANG_WARN_EMPTY_BODY = YES;
193+
CLANG_WARN_ENUM_CONVERSION = YES;
194+
CLANG_WARN_INFINITE_RECURSION = YES;
195+
CLANG_WARN_INT_CONVERSION = YES;
196+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
197+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
198+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
199+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
200+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
201+
CLANG_WARN_STRICT_PROTOTYPES = YES;
202+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
203+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
204+
CLANG_WARN_UNREACHABLE_CODE = YES;
205+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
206+
CODE_SIGN_IDENTITY = "";
207+
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)";
208+
COPY_PHASE_STRIP = NO;
209+
DEBUG_INFORMATION_FORMAT = dwarf;
210+
ENABLE_STRICT_OBJC_MSGSEND = YES;
211+
ENABLE_TESTABILITY = YES;
212+
GCC_C_LANGUAGE_STANDARD = gnu11;
213+
GCC_DYNAMIC_NO_PIC = NO;
214+
GCC_NO_COMMON_BLOCKS = YES;
215+
GCC_OPTIMIZATION_LEVEL = 0;
216+
GCC_PREPROCESSOR_DEFINITIONS = (
217+
"DEBUG=1",
218+
"$(inherited)",
219+
);
220+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
221+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
222+
GCC_WARN_UNDECLARED_SELECTOR = YES;
223+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
224+
GCC_WARN_UNUSED_FUNCTION = YES;
225+
GCC_WARN_UNUSED_VARIABLE = YES;
226+
HEADER_SEARCH_PATHS = ../../include;
227+
MACOSX_DEPLOYMENT_TARGET = 10.13;
228+
MTL_ENABLE_DEBUG_INFO = YES;
229+
OBJROOT = "${PROJECT_DIR}/../../build";
230+
ONLY_ACTIVE_ARCH = YES;
231+
SDKROOT = macosx;
232+
SYMROOT = "${PROJECT_DIR}/../../bin";
233+
};
234+
name = Debug;
235+
};
236+
C448F8C32075997300422D58 /* Release */ = {
237+
isa = XCBuildConfiguration;
238+
buildSettings = {
239+
ALWAYS_SEARCH_USER_PATHS = NO;
240+
CLANG_ANALYZER_NONNULL = YES;
241+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
242+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
243+
CLANG_CXX_LIBRARY = "libc++";
244+
CLANG_ENABLE_MODULES = YES;
245+
CLANG_ENABLE_OBJC_ARC = YES;
246+
CLANG_ENABLE_OBJC_WEAK = YES;
247+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
248+
CLANG_WARN_BOOL_CONVERSION = YES;
249+
CLANG_WARN_COMMA = YES;
250+
CLANG_WARN_CONSTANT_CONVERSION = YES;
251+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
252+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
253+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
254+
CLANG_WARN_EMPTY_BODY = YES;
255+
CLANG_WARN_ENUM_CONVERSION = YES;
256+
CLANG_WARN_INFINITE_RECURSION = YES;
257+
CLANG_WARN_INT_CONVERSION = YES;
258+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
259+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
260+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
261+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
262+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
263+
CLANG_WARN_STRICT_PROTOTYPES = YES;
264+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
265+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
266+
CLANG_WARN_UNREACHABLE_CODE = YES;
267+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
268+
CODE_SIGN_IDENTITY = "";
269+
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)";
270+
COPY_PHASE_STRIP = NO;
271+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
272+
ENABLE_NS_ASSERTIONS = NO;
273+
ENABLE_STRICT_OBJC_MSGSEND = YES;
274+
GCC_C_LANGUAGE_STANDARD = gnu11;
275+
GCC_NO_COMMON_BLOCKS = YES;
276+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
277+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
278+
GCC_WARN_UNDECLARED_SELECTOR = YES;
279+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
280+
GCC_WARN_UNUSED_FUNCTION = YES;
281+
GCC_WARN_UNUSED_VARIABLE = YES;
282+
HEADER_SEARCH_PATHS = ../../include;
283+
MACOSX_DEPLOYMENT_TARGET = 10.13;
284+
MTL_ENABLE_DEBUG_INFO = NO;
285+
OBJROOT = "${PROJECT_DIR}/../../build";
286+
SDKROOT = macosx;
287+
SYMROOT = "${PROJECT_DIR}/../../bin";
288+
};
289+
name = Release;
290+
};
291+
C448F8C52075997300422D58 /* Debug */ = {
292+
isa = XCBuildConfiguration;
293+
buildSettings = {
294+
CODE_SIGN_IDENTITY = "";
295+
CODE_SIGN_STYLE = Manual;
296+
DEVELOPMENT_TEAM = "";
297+
INSTALL_PATH = "${PROJECT_DIR}/bin";
298+
PRODUCT_NAME = "$(TARGET_NAME)";
299+
PROVISIONING_PROFILE_SPECIFIER = "";
300+
};
301+
name = Debug;
302+
};
303+
C448F8C62075997300422D58 /* Release */ = {
304+
isa = XCBuildConfiguration;
305+
buildSettings = {
306+
CODE_SIGN_IDENTITY = "";
307+
CODE_SIGN_STYLE = Manual;
308+
DEVELOPMENT_TEAM = "";
309+
INSTALL_PATH = "${PROJECT_DIR}/bin";
310+
PRODUCT_NAME = "$(TARGET_NAME)";
311+
PROVISIONING_PROFILE_SPECIFIER = "";
312+
};
313+
name = Release;
314+
};
315+
/* End XCBuildConfiguration section */
316+
317+
/* Begin XCConfigurationList section */
318+
C448F8B82075997300422D58 /* Build configuration list for PBXProject "PDFixSDKSample" */ = {
319+
isa = XCConfigurationList;
320+
buildConfigurations = (
321+
C448F8C22075997300422D58 /* Debug */,
322+
C448F8C32075997300422D58 /* Release */,
323+
);
324+
defaultConfigurationIsVisible = 0;
325+
defaultConfigurationName = Release;
326+
};
327+
C448F8C42075997300422D58 /* Build configuration list for PBXNativeTarget "PDFixSDKSample" */ = {
328+
isa = XCConfigurationList;
329+
buildConfigurations = (
330+
C448F8C52075997300422D58 /* Debug */,
331+
C448F8C62075997300422D58 /* Release */,
332+
);
333+
defaultConfigurationIsVisible = 0;
334+
defaultConfigurationName = Release;
335+
};
336+
/* End XCConfigurationList section */
337+
};
338+
rootObject = C448F8B52075997300422D58 /* Project object */;
339+
}

src/PrintPage.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ Example how to print page.
2121
#include <algorithm>
2222
#include "Pdfix.h"
2323

24+
#if defined (__ANDROID__) || defined (__APPLE__) || defined (__GNUC__)
25+
typedef unsigned char BYTE;
26+
#endif
27+
2428
template<typename T>
2529
struct MallocDeleter {
2630
void operator() (T* ptr) {
@@ -133,4 +137,4 @@ void PrintPage(
133137
pdfix->Destroy();
134138
#endif
135139
}
136-
//! [PrintPage_cpp]
140+
//! [PrintPage_cpp]

0 commit comments

Comments
 (0)