apple build --platform macos --tauri: Mac App Store build of a Tauri app (sandbox entitlements, profile, productbuild pkg, path-free, checks); apple upload accepts the pkg
This commit is contained in:
parent
29a9683ab7
commit
cd6667e0b6
8 changed files with 726 additions and 22 deletions
|
|
@ -26,6 +26,7 @@ import { capacitorProject, webStep } from '../lib/web-assets';
|
|||
import { archiveArgs, type AscAuth, distributionErrors, exportArgs, foreignRsync, remoteBuildSession, xcodePath, flutterConfigArgs, ipaInfo, ipaVersionProblem, pickXcode, scanXcode, showCmd } from '../lib/xcode';
|
||||
import { bundleTrackingIssues, ipaManifests } from '../lib/privacy-files';
|
||||
import { ascClient } from './asc';
|
||||
import { parsePlatform } from './platform';
|
||||
import { findBundleId } from './signing';
|
||||
import * as rt from '../lib/rt';
|
||||
import { shipPhase } from '../lib/ship-step';
|
||||
|
|
@ -98,6 +99,8 @@ export async function exportIpa(o: { root: string; out: string; archivePath: str
|
|||
export async function run(ctx: Ctx): Promise<void> {
|
||||
const { config, root, resolve } = ctx.loaded;
|
||||
const a = ctx.args;
|
||||
// Mac App Store build of a Tauri app (cli/apple/build-mas.ts)
|
||||
if (a.has('tauri') || parsePlatform(a.get('platform')) === 'MAC_OS') return (await import('./build-mas')).run(ctx);
|
||||
const bundleId = need(config.apple?.bundleId, 'apple.bundleId');
|
||||
const cfg = config.apple?.build ?? {};
|
||||
const signing = config.apple?.signing ?? {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue