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
2e8593ed5c
commit
9a937b5512
8 changed files with 726 additions and 22 deletions
|
|
@ -20,7 +20,7 @@ export type CapabilityType = typeof CAPABILITY_TYPES[number];
|
|||
|
||||
/** Certificate types storebound creates: Apple Distribution (DISTRIBUTION, all platforms), the older iOS Distribution,
|
||||
* and Developer ID Application (Mac apps outside the App Store; Account Holder only). */
|
||||
export const CERT_TYPES = ['DISTRIBUTION', 'IOS_DISTRIBUTION', 'DEVELOPER_ID_APPLICATION', 'DEVELOPER_ID_APPLICATION_G2'] as const;
|
||||
export const CERT_TYPES = ['DISTRIBUTION', 'IOS_DISTRIBUTION', 'DEVELOPER_ID_APPLICATION', 'DEVELOPER_ID_APPLICATION_G2', 'MAC_APP_DISTRIBUTION', 'MAC_INSTALLER_DISTRIBUTION'] as const;
|
||||
export type CertType = typeof CERT_TYPES[number];
|
||||
|
||||
/** Profile types for store builds (Profile.profileType). */
|
||||
|
|
@ -105,7 +105,7 @@ export function pickCertificate(certs: ApiCert[], type: CertType, hasKey: (c: Ap
|
|||
}
|
||||
|
||||
/** Apple caps distribution certificates per team (Apple Distribution: 3 per team). */
|
||||
export const CERT_LIMIT: Partial<Record<CertType, number>> = { DISTRIBUTION: 3, IOS_DISTRIBUTION: 3, DEVELOPER_ID_APPLICATION: 5, DEVELOPER_ID_APPLICATION_G2: 5 };
|
||||
export const CERT_LIMIT: Partial<Record<CertType, number>> = { DISTRIBUTION: 3, IOS_DISTRIBUTION: 3, DEVELOPER_ID_APPLICATION: 5, DEVELOPER_ID_APPLICATION_G2: 5, MAC_APP_DISTRIBUTION: 3, MAC_INSTALLER_DISTRIBUTION: 3 };
|
||||
|
||||
export function certificateReq(type: CertType, csr: string): Req {
|
||||
return { method: 'POST', path: '/v1/certificates', note: `create ${type} certificate (key in .storebound/signing, never printed)`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue