@@ -58293,7 +58293,7 @@ async function unlockTemporaryKeychain(keychainPath, tempCredential) {
5829358293Object.defineProperty(exports, "__esModule", ({ value: true }));
5829458294exports.XcodeProject = void 0;
5829558295class XcodeProject {
58296- constructor(projectPath, projectName, platform, destination, bundleId, projectDirectory, versionString, bundleVersion, scheme, credential, xcodeVersion, derivedDataPath ) {
58296+ constructor(projectPath, projectName, platform, destination, bundleId, projectDirectory, versionString, bundleVersion, scheme, credential, xcodeVersion) {
5829758297 this.projectPath = projectPath;
5829858298 this.projectName = projectName;
5829958299 this.platform = platform;
@@ -58306,7 +58306,6 @@ class XcodeProject {
5830658306 this.credential = credential;
5830758307 this.xcodeVersion = xcodeVersion;
5830858308 this.isSteamBuild = false;
58309- this.derivedDataPath = derivedDataPath;
5831058309 }
5831158310 isAppStoreUpload() {
5831258311 return this.exportOption === 'app-store' || this.exportOption === 'app-store-connect';
@@ -58528,7 +58527,7 @@ async function GetProjectDetails(credential, xcodeVersion) {
5852858527 core.info(`CFBundleVersion: ${cFBundleVersion}`);
5852958528 const derivedDataPathInput = core.getInput('derived-data-path') || path.join(projectDirectory, 'DerivedData');
5853058529 core.debug(`DerivedData path input: ${derivedDataPathInput}`);
58531- const projectRef = new XcodeProject_1.XcodeProject(projectPath, projectName, platform, destination, bundleId, projectDirectory, cFBundleShortVersionString, cFBundleVersion, scheme, credential, xcodeVersion, derivedDataPathInput );
58530+ const projectRef = new XcodeProject_1.XcodeProject(projectPath, projectName, platform, destination, bundleId, projectDirectory, cFBundleShortVersionString, cFBundleVersion, scheme, credential, xcodeVersion);
5853258531 projectRef.autoIncrementBuildNumber = core.getInput('auto-increment-build-number') === 'true';
5853358532 await getExportOptions(projectRef);
5853458533 if (projectRef.isAppStoreUpload()) {
@@ -58783,7 +58782,6 @@ async function ArchiveXcodeProject(projectRef) {
5878358782 '-destination', projectRef.destination,
5878458783 '-configuration', configuration,
5878558784 '-archivePath', archivePath,
58786- `-derivedDataPath`, projectRef.derivedDataPath,
5878758785 `-authenticationKeyID`, projectRef.credential.appStoreConnectKeyId,
5878858786 `-authenticationKeyPath`, projectRef.credential.appStoreConnectKeyPath,
5878958787 `-authenticationKeyIssuerID`, projectRef.credential.appStoreConnectIssuerId
@@ -58848,7 +58846,6 @@ async function ExportXcodeArchive(projectRef) {
5884858846 '-archivePath', archivePath,
5884958847 '-exportPath', projectRef.exportPath,
5885058848 '-exportOptionsPlist', exportOptionsPath,
58851- `-derivedDataPath`, projectRef.derivedDataPath,
5885258849 `-authenticationKeyID`, projectRef.credential.appStoreConnectKeyId,
5885358850 `-authenticationKeyPath`, projectRef.credential.appStoreConnectKeyPath,
5885458851 `-authenticationKeyIssuerID`, projectRef.credential.appStoreConnectIssuerId
@@ -59346,6 +59343,10 @@ async function execXcodeBuild(xcodeBuildArgs) {
5934659343 output += data.toString();
5934759344 }
5934859345 },
59346+ env: {
59347+ CC: 'ccache clang',
59348+ CXX: 'ccache clang++'
59349+ },
5934959350 ignoreReturnCode: true
5935059351 });
5935159352 await parseBundleLog(output);
@@ -59377,10 +59378,6 @@ async function execWithXcBeautify(xcodeBuildArgs) {
5937759378 errorOutput += data.toString();
5937859379 }
5937959380 },
59380- env: {
59381- CC: 'ccache clang',
59382- CXX: 'ccache clang++'
59383- },
5938459381 silent: true,
5938559382 ignoreReturnCode: true
5938659383 });
0 commit comments