docs: function(obj, plugin, project, options) {
              var src = obj.src,
                  custom = obj.custom;
              if (!custom) {
                  var keepFrameworks = keep_these_frameworks;
  
                  if (keepFrameworks.indexOf(src) < 0) {
                      if (obj.type === 'podspec') {
                          //podspec handled in Api.js
                      } else {
                          project.frameworks[src] = project.frameworks[src] || 0;
                          project.frameworks[src]++;
                          project.xcode.addFramework(src, {weak: obj.weak});
                      }
                  }
                  return;
              }
              var srcFile = path.resolve(plugin.dir, src),
                  targetDir = path.resolve(project.plugins_dir, plugin.id, path.basename(src));
              if (!fs.existsSync(srcFile)) throw new CordovaError('Cannot find framework "' + srcFile + '" for plugin ' + plugin.id + ' in iOS platform');
              if (fs.existsSync(targetDir)) throw new CordovaError('Framework "' + targetDir + '" for plugin ' + plugin.id + ' already exists in iOS platform');
              var link = !!(options && options.link);
              copyFile(plugin.dir, src, project.projectDir, targetDir, link); // frameworks are directories
              // CB-10773 translate back slashes to forward on win32
              var project_relative = fixPathSep(path.relative(project.projectDir, targetDir));
              var pbxFile = project.xcode.addFramework(project_relative, {customFramework: true});
              if (pbxFile) {
                  project.xcode.addToPbxEmbedFrameworksBuildPhase(pbxFile);
              }
          }