File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58401,7 +58401,8 @@ async function getExportOptions(projectRef) {
5840158401 exportOptions['manageAppVersionAndBuildNumber'] = true;
5840258402 }
5840358403 projectRef.exportOption = method;
58404- exportOptionsPath = await writeExportOptions(projectRef.projectPath, exportOptions);
58404+ exportOptionsPath = `${projectRef.projectPath}/exportOptions.plist`;
58405+ await fs.promises.writeFile(exportOptionsPath, plist.build(exportOptions));
5840558406 }
5840658407 else {
5840758408 exportOptionsPath = exportOptionPlistInput;
@@ -58422,11 +58423,6 @@ async function getExportOptions(projectRef) {
5842258423 }
5842358424 projectRef.exportOptionsPath = exportOptionsPath;
5842458425}
58425- async function writeExportOptions(projectPath, exportOptions) {
58426- const exportOptionsPath = `${projectPath}/exportOptions.plist`;
58427- await fs.promises.writeFile(exportOptionsPath, plist.build(exportOptions));
58428- return exportOptionsPath;
58429- }
5843058426async function getDefaultEntitlementsMacOS(projectRef) {
5843158427 const entitlementsPath = `${projectRef.projectPath}/Entitlements.plist`;
5843258428 projectRef.entitlementsPath = entitlementsPath;
Original file line number Diff line number Diff line change @@ -436,7 +436,8 @@ async function getExportOptions(projectRef: XcodeProject): Promise<void> {
436436 exportOptions [ 'manageAppVersionAndBuildNumber' ] = true ;
437437 }
438438 projectRef . exportOption = method ;
439- exportOptionsPath = await writeExportOptions ( projectRef . projectPath , exportOptions ) ;
439+ exportOptionsPath = `${ projectRef . projectPath } /exportOptions.plist` ;
440+ await fs . promises . writeFile ( exportOptionsPath , plist . build ( exportOptions ) ) ;
440441 } else {
441442 exportOptionsPath = exportOptionPlistInput ;
442443 }
@@ -456,12 +457,6 @@ async function getExportOptions(projectRef: XcodeProject): Promise<void> {
456457 projectRef . exportOptionsPath = exportOptionsPath ;
457458}
458459
459- async function writeExportOptions ( projectPath : string , exportOptions : any ) : Promise < string > {
460- const exportOptionsPath = `${ projectPath } /exportOptions.plist` ;
461- await fs . promises . writeFile ( exportOptionsPath , plist . build ( exportOptions ) ) ;
462- return exportOptionsPath ;
463- }
464-
465460async function getDefaultEntitlementsMacOS ( projectRef : XcodeProject ) : Promise < void > {
466461 const entitlementsPath = `${ projectRef . projectPath } /Entitlements.plist` ;
467462 projectRef . entitlementsPath = entitlementsPath ;
You can’t perform that action at this time.
0 commit comments