File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1703,13 +1703,14 @@ pbxProject.prototype.removeTarget = function(target, targetKey) {
17031703 } else if ( buildPhase . comment === buildPhaseNameForIsa ( "PBXFrameworksBuildPhase" ) ) {
17041704 section = this . hash . project . objects [ "PBXFrameworksBuildPhase" ] ;
17051705 var frameworkFiles = section [ sectionUuid ] . files ;
1706- for ( let q = 0 ; q < frameworkFiles . length ; q ++ ) {
1707- var currentBuildFileUuid = frameworkFiles [ q ] . value ;
1706+ for ( let currentBuildFile of frameworkFiles ) {
1707+ var currentBuildFileUuid = currentBuildFile . value ;
17081708 var fileRef = pbxBuildFileSection [ currentBuildFileUuid ] . fileRef ;
17091709 var stillReferenced = false ;
17101710 for ( var buildFileUuid in nonComments ( pbxBuildFileSection ) ) {
17111711 if ( pbxBuildFileSection [ buildFileUuid ] . fileRef === fileRef && buildFileUuid !== currentBuildFileUuid ) {
17121712 stillReferenced = true ;
1713+ break ;
17131714 }
17141715 }
17151716
You can’t perform that action at this time.
0 commit comments