File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ pbxProject.prototype.addResourceFile = function (path, opt) {
126126
127127 file . uuid = this . generateUuid ( ) ;
128128
129- this . removeFromPbxBuildFileSection ( file ) ; // PBXBuildFile
129+ this . addToPbxBuildFileSection ( file ) ; // PBXBuildFile
130130 this . addToPbxResourcesBuildPhase ( file ) ; // PBXResourcesBuildPhase
131131
132132 return file ;
@@ -190,7 +190,7 @@ pbxProject.prototype.removeFromPbxFileReferenceSection = function (file) {
190190 for ( i in this . pbxFileReferenceSection ( ) ) {
191191 if ( this . pbxFileReferenceSection ( ) [ i ] . name == refObj . name &&
192192 this . pbxFileReferenceSection ( ) [ i ] . path == refObj . path ) {
193- file . fileRef = i ;
193+ file . fileRef = file . uuid = i ;
194194 delete this . pbxFileReferenceSection ( ) [ i ] ;
195195 break ;
196196 }
You can’t perform that action at this time.
0 commit comments