반응형
Apple Silicon Universal Binary Build를 통하여 .pkg 생성을 하였지만, Apple Silicon M1 환경에서 Rosetta 2 프로그램 실행시 아래와 같이 경고 문구가 발생하는 경우가 발생하는 경우가 있습니다.
이러한 경우에는 distribution.xml 파일 내용 중 hostArchitectures 값에 'arm64' 환경을 추가하여야 합니다.
hostArchtectures="x86_64,arm64"
아래의 도표는 distribution.xml 파일에 대한 속성 값에 대한 세부 내용입니다.
⚓ Distribution Definition XML Schema Reference Attributes
Attribute Name | Type | Description |
allow-external-scripts | Boolean | Optional. Specifies whether the run and runOnce JavaScript functions can be executed. Values: false (default) or true. For information about these functions, see System in Installer JavaScript Reference. |
customize | String | Optional. Specifies whether the user can customize the installation by selecting or deselecting installation choices. Values: allow (default) gives the user an opportunity to customize the installation, always presents the customization view automatically. never does not provide access to the customization view. |
hostArchitectures | String | Optional. A comma-separated list of supported architecture codes. Valid codes are i386, x86_64, and ppc. Note that i386 matches both 32-bit and 64-bit systems, but x86_64 matches only 64-bit systems. |
mpkg | String | Optional. Identifies a package (pkg-ref element) whose installation operations must be performed as part of the installation of this distribution. Deprecated. |
require-scripts | Boolean | Optional. Indicates whether the distribution uses JavaScript code. Values: true (default) or false. If this value is false, all attributes whose value may be a JavaScript expression must be set to either true or false. Available in OS X v10.6.6 and later. |
rootVolumeOnly |
Boolean | Optional. Specifies whether the user can choose an installation volume other than the boot volume. Values: true or false. Deprecated. Use domains instead. |
type | - | Reserved. |
visibleOnlyForPredicate | - | Reserved. |
🚀 REFERENCE
반응형
'# 애플 [Apple] > macOS' 카테고리의 다른 글
[🍎 macOS] 번들 (Bundle) (0) | 2022.02.24 |
---|---|
[🍎 macOS] AppKit과 UIKit 차이점 (What is the difference between AppKit and UIKit) (0) | 2022.02.23 |
[🍎 macOS] macOS Code Signing (0) | 2022.02.23 |
[🍎 macOS] Difference between .pkg and .dmg (0) | 2021.12.06 |
[🍎 macOS] App Sandbox (0) | 2021.11.24 |
댓글