Skip to content

Commit 7b6bd41

Browse files
remuslazaryouming-lin
authored andcommitted
Added a basic Info.plist file (#37)
It prevents the following error while trying to validate or upload a project using this framework to the App Store via iTunes Connect iTunes Store operation failed. This bundle path.to/Frameworks/HTMLEntities.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion.
1 parent 334e9de commit 7b6bd41

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

HTMLEntities-Carthage.xcodeproj/project.pbxproj

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
/* End PBXContainerItemProxy section */
2828

2929
/* Begin PBXFileReference section */
30+
D8835F911F69ABA100694AD9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
3031
OBJ_10 /* ParseError.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ParseError.swift; sourceTree = "<group>"; };
3132
OBJ_11 /* String+HTMLEntities.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "String+HTMLEntities.swift"; sourceTree = "<group>"; };
3233
OBJ_12 /* Utilities.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Utilities.swift; sourceTree = "<group>"; };
@@ -58,6 +59,14 @@
5859
/* End PBXFrameworksBuildPhase section */
5960

6061
/* Begin PBXGroup section */
62+
D8835F921F69ABD800694AD9 /* Supporting Files */ = {
63+
isa = PBXGroup;
64+
children = (
65+
D8835F911F69ABA100694AD9 /* Info.plist */,
66+
);
67+
name = "Supporting Files";
68+
sourceTree = "<group>";
69+
};
6170
OBJ_13 /* Tests */ = {
6271
isa = PBXGroup;
6372
children = (
@@ -91,6 +100,7 @@
91100
OBJ_6 /* Package.swift */,
92101
OBJ_7 /* Sources */,
93102
OBJ_13 /* Tests */,
103+
D8835F921F69ABD800694AD9 /* Supporting Files */,
94104
OBJ_17 /* docs */,
95105
OBJ_18 /* Products */,
96106
);
@@ -214,6 +224,7 @@
214224
isa = XCBuildConfiguration;
215225
buildSettings = {
216226
APPLICATION_EXTENSION_API_ONLY = YES;
227+
CURRENT_PROJECT_VERSION = 1;
217228
ENABLE_TESTABILITY = YES;
218229
FRAMEWORK_SEARCH_PATHS = (
219230
"$(inherited)",
@@ -236,6 +247,7 @@
236247
isa = XCBuildConfiguration;
237248
buildSettings = {
238249
APPLICATION_EXTENSION_API_ONLY = YES;
250+
CURRENT_PROJECT_VERSION = 1;
239251
ENABLE_TESTABILITY = YES;
240252
FRAMEWORK_SEARCH_PATHS = (
241253
"$(inherited)",
@@ -260,10 +272,12 @@
260272
CLANG_ENABLE_OBJC_ARC = YES;
261273
COMBINE_HIDPI_IMAGES = YES;
262274
COPY_PHASE_STRIP = NO;
275+
CURRENT_PROJECT_VERSION = 1;
263276
DEBUG_INFORMATION_FORMAT = dwarf;
264277
DYLIB_INSTALL_NAME_BASE = "@rpath";
265278
ENABLE_NS_ASSERTIONS = YES;
266279
GCC_OPTIMIZATION_LEVEL = 0;
280+
INFOPLIST_FILE = Info.plist;
267281
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
268282
MACOSX_DEPLOYMENT_TARGET = 10.9;
269283
ONLY_ACTIVE_ARCH = YES;
@@ -320,9 +334,11 @@
320334
CLANG_ENABLE_OBJC_ARC = YES;
321335
COMBINE_HIDPI_IMAGES = YES;
322336
COPY_PHASE_STRIP = YES;
337+
CURRENT_PROJECT_VERSION = 1;
323338
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
324339
DYLIB_INSTALL_NAME_BASE = "@rpath";
325340
GCC_OPTIMIZATION_LEVEL = s;
341+
INFOPLIST_FILE = Info.plist;
326342
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
327343
MACOSX_DEPLOYMENT_TARGET = 10.9;
328344
OTHER_SWIFT_FLAGS = "-DXcode";

Info.plist

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 Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleVersion</key>
6+
<string>$(CURRENT_PROJECT_VERSION)</string>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)