"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getIosBuildDestination = exports.iosBuildPlatforms = void 0;
const utils_1 = require("./utils");
exports.iosBuildPlatforms = {
    simulator: {
        name: 'iphonesimulator',
        ext: 'app',
        buildCmd: 'build',
    },
    iphone: {
        name: 'iphoneos',
        ext: 'ipa',
        buildCmd: 'archive',
    },
};
function getIosBuildDestination(platform, buildType) {
    // todo handle Debug/release
    const destinationDir = `${(0, utils_1.getRootDestinationFolder)()}/ios/${platform.name}-${buildType}/Debug`;
    const destination = `${destinationDir}/${(0, utils_1.getAppName)()}.${platform.ext}`;
    return { destinationDir, destination };
}
exports.getIosBuildDestination = getIosBuildDestination;
