examples/cordova1/plugins/branch-cordova-sdk/src/scripts/ios/updateDevelopmentTeam.js
function updateDevelopmentTeam(content, preferences) {
    const release = preferences.iosTeamRelease;
    const debug = preferences.iosTeamDebug
      ? preferences.iosTeamDebug
      : preferences.iosTeamRelease;

    if (release === null) {
      throw new Error(
        'BRANCH SDK: Invalid "ios-team-release" in <branch-config> in your config.xml. Docs https://goo.gl/GijGKP'
      );
    }

    content.ios.release.developmentTeam = release;
    content.ios.debug.developmentTeam = debug;
  }
function updateDevelopmentTeam(content, preferences) {
    const release = preferences.iosTeamRelease;
    const debug = preferences.iosTeamDebug
      ? preferences.iosTeamDebug
      : preferences.iosTeamRelease;

    if (release === null) {
      throw new Error(
        'BRANCH SDK: Invalid "ios-team-release" in <branch-config> in your config.xml. Docs https://goo.gl/GijGKP'
      );
    }

    content.ios.release.developmentTeam = release;
    content.ios.debug.developmentTeam = debug;
  }
function updateDevelopmentTeam ( content , preferences ) { const release = preferences . iosTeamRelease ; const debug = preferences . iosTeamDebug ? preferences . iosTeamDebug : preferences . iosTeamRelease ; if ( release === null ) { throw new Error ( 'BRANCH SDK: Invalid "ios-team-release" in <branch-config> in your config.xml. Docs https://goo.gl/GijGKP' ) ; } content . ios . release . developmentTeam = release ; content . ios . debug . developmentTeam = debug ; }
update build.json with developmentTeam from config.xml
update build . json with developmentTeam from config . xml