Skip to content

Commit 489292c

Browse files
committed
Infoplist pfad
1 parent 90e4131 commit 489292c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/pbxProject.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ pbxProject.prototype.addTarget = function(name, type) {
10321032
isa: 'XCBuildConfiguration',
10331033
buildSettings: {
10341034
GCC_PREPROCESSOR_DEFINITIONS: ['"DEBUG=1"', '"$(inherited)"'],
1035-
INFOPLIST_FILE: targetName + '-Info.Plist',
1035+
INFOPLIST_FILE: '"' + path.join(targetName, targetName + '-Info.plist' + '"'),
10361036
LD_RUNPATH_SEARCH_PATHS: '"$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"',
10371037
PRODUCT_NAME: targetName,
10381038
SKIP_INSTALL: 'YES'
@@ -1042,7 +1042,7 @@ pbxProject.prototype.addTarget = function(name, type) {
10421042
name: 'Release',
10431043
isa: 'XCBuildConfiguration',
10441044
buildSettings: {
1045-
INFOPLIST_FILE: targetName + '-Info.Plist',
1045+
INFOPLIST_FILE: '"' + path.join(targetName, targetName + '-Info.plist' + '"'),
10461046
LD_RUNPATH_SEARCH_PATHS: '"$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"',
10471047
PRODUCT_NAME: targetName,
10481048
SKIP_INSTALL: 'YES'

0 commit comments

Comments
 (0)