code: function getBundleIdentifier (projectObject) {
      var packageName = projectObject.getPackageName();
      var bundleIdentifier = packageName;
  
      var variables = packageName.match(/\$\((\w+)\)/); // match $(VARIABLE), if any
      if (variables && variables.length >= 2) {
          bundleIdentifier = projectObject.xcode.getBuildProperty(variables[1]);
      }
  
      return bundleIdentifier;
  }
docs: Gets the resolved bundle identifier from a project.
  Resolves the variable set in INFO.plist, if any (simple case)
  
  @param {*} projectObject