examples/cordova1/plugins/branch-cordova-sdk/src/scripts/ios/enableEntitlements.js
function removeComments(obj) {
    const keys = Object.keys(obj);
    const newObj = {};

    for (let i = 0, len = keys.length; i < len; i++) {
      if (!COMMENT_KEY.test(keys[i])) {
        newObj[keys[i]] = obj[keys[i]];
      }
    }

    return newObj;
  }
function removeComments(obj) {
    const keys = Object.keys(obj);
    const newObj = {};

    for (let i = 0, len = keys.length; i < len; i++) {
      if (!COMMENT_KEY.test(keys[i])) {
        newObj[keys[i]] = obj[keys[i]];
      }
    }

    return newObj;
  }
function removeComments ( obj ) { const keys = Object . keys ( obj ) ; const newObj = { } ; for ( let i = 0 , len = keys . length ; i < len ; i ++ ) { if ( ! COMMENT_KEY . test ( keys [ i ] ) ) { newObj [ keys [ i ] ] = obj [ keys [ i ] ] ; } } return newObj ; }
removes comments from .pbx file
removes comments from . pbx file