Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

EditorExportPlatformIOS

继承: EditorExportPlatform < RefCounted < Object

iOS 导出器。

教程

属性

String

application/app_store_team_id

String

application/bundle_identifier

String

application/code_sign_identity_debug

String

application/code_sign_identity_release

int

application/export_method_debug

int

application/export_method_release

bool

application/export_project_only

int

application/icon_interpolation

int

application/launch_screens_interpolation

String

application/provisioning_profile_uuid_debug

String

application/provisioning_profile_uuid_release

String

application/short_version

String

application/signature

int

application/targeted_device_family

String

application/version

bool

architectures/arm64

bool

capabilities/access_wifi

bool

capabilities/push_notifications

String

custom_template/debug

String

custom_template/release

String

icons/app_store_1024x1024

String

icons/ipad_76x76

String

icons/ipad_152x152

String

icons/ipad_167x167

String

icons/iphone_120x120

String

icons/iphone_180x180

String

icons/notification_40x40

String

icons/notification_60x60

String

icons/settings_58x58

String

icons/settings_87x87

String

icons/spotlight_40x40

String

icons/spotlight_80x80

String

landscape_launch_screens/ipad_1024x768

String

landscape_launch_screens/ipad_2048x1536

String

landscape_launch_screens/iphone_2208x1242

String

landscape_launch_screens/iphone_2436x1125

String

portrait_launch_screens/ipad_768x1024

String

portrait_launch_screens/ipad_1536x2048

String

portrait_launch_screens/iphone_640x960

String

portrait_launch_screens/iphone_640x1136

String

portrait_launch_screens/iphone_750x1334

String

portrait_launch_screens/iphone_1125x2436

String

portrait_launch_screens/iphone_1242x2208

String

privacy/camera_usage_description

Dictionary

privacy/camera_usage_description_localized

String

privacy/microphone_usage_description

Dictionary

privacy/microphone_usage_description_localized

String

privacy/photolibrary_usage_description

Dictionary

privacy/photolibrary_usage_description_localized

Color

storyboard/custom_bg_color

String

storyboard/custom_image@2x

String

storyboard/custom_image@3x

int

storyboard/image_scale_mode

bool

storyboard/use_custom_bg_color

bool

storyboard/use_launch_screen_storyboard

bool

user_data/accessible_from_files_app

bool

user_data/accessible_from_itunes_sharing


属性说明

String application/app_store_team_id

Apple 团队 ID,唯一的 10 字符的字符串。要找到你的团队 ID,请检查 Apple 开发者帐户仪表板中的“会员详细信息”部分,或代码签名证书的“组织单位”。见 查找你的团队 ID


String application/bundle_identifier

反向 DNS 格式的唯一应用程序标识符,只能包含字母数字字符(A-Za-z0-9)、连字符(-)和句点(.)。


String application/code_sign_identity_debug

用于调试导出的签名身份的“全名”、“通用名”或 SHA-1 哈希值。


String application/code_sign_identity_release

用于发布导出的签名身份的“全名”、“通用名”或 SHA-1 哈希值。


int application/export_method_debug

应用程序分发目标(调试导出)。


int application/export_method_release

应用程序分发目标(发布导出)。


bool application/export_project_only

如果为 true,则导出 iOS 项目文件而不构建一份 XCArchive 或 .ipa 文件。如果为 false,则导出 iOS 项目文件并同时构建一份 XCArchive 和 .ipa 文件。将 Godot 与 Fastlane 或其他构建管道结合使用时,你可能需要将其设置为 true


int application/icon_interpolation

用于调整应用程序图标大小的插值方法。


int application/launch_screens_interpolation

用于调整启动屏幕图像大小的插值方法。


String application/provisioning_profile_uuid_debug

预置描述文件的 UUID。如果留空,则 Xcode 会自动下载或创建一个预置描述文件。见编辑、下载或删除预置描述文件

可以使用环境变量 GODOT_IOS_PROVISIONING_PROFILE_UUID_DEBUG 覆盖。


String application/provisioning_profile_uuid_release

预置描述文件的 UUID。如果留空,则 Xcode 会自动下载或创建一个预置描述文件。见编辑、下载或删除预置描述文件

可以使用环境变量 GODOT_IOS_PROVISIONING_PROFILE_UUID_RELEASE 覆盖。


String application/short_version

用户可见的应用程序版本,只能包含数字字符(0-9)和句点(.)。如果留空,则回退到 ProjectSettings.application/config/version


String application/signature

特定于该捆绑包的四字符创建者码。可选的。


int application/targeted_device_family

支持的设备家族。


String application/version

机器可读的应用程序版本,采用 major.minor.patch 格式,只能包含数字字符(0-9)和句点(.)。该值必须在被推送到 App Store 的每个新版本中递增。


bool architectures/arm64

如果为 truearm64 二进制文件将包含在导出的项目中。


bool capabilities/access_wifi

如果为 true,则启用与 Wi-Fi 访问相关的网络功能。见 App 所需的设备功能


bool capabilities/push_notifications

如果为 true,则启用推送通知。见 App 所需的设备功能


String custom_template/debug

到自定义导出模板的路径。如果留空,则默认模板将被使用。


String custom_template/release

到自定义导出模板的路径。如果留空,则默认模板将被使用。


String icons/app_store_1024x1024

App Store 应用程序图标文件。如果留空,则会回退至 ProjectSettings.application/config/icon。见 App 图标


String icons/ipad_76x76

iPad 主屏幕应用程序图标文件(1x DPI)。如果留空,则会回退至 ProjectSettings.application/config/icon。见 App 图标


String icons/ipad_152x152

iPad 主屏幕应用程序图标文件(2x DPI)。如果留空,则会回退至 ProjectSettings.application/config/icon。见 App 图标


String icons/ipad_167x167

iPad 主屏幕应用程序图标文件(3x DPI)。如果留空,则会回退至 ProjectSettings.application/config/icon。见 App 图标


String icons/iphone_120x120

iPhone 主屏幕应用程序图标文件(2x DPI)。如果留空,则会回退至 ProjectSettings.application/config/icon。见 App 图标


String icons/iphone_180x180

iPhone 主屏幕应用程序图标文件(3x DPI)。如果留空,则会回退至 ProjectSettings.application/config/icon。见 App 图标


String icons/notification_40x40

iPad 和 iPhone 上的通知图标文件(2x DPI)。如果留空,则会回退至 ProjectSettings.application/config/icon。见 App 图标


String icons/notification_60x60

iPad 和 iPhone 上的通知图标文件(3x DPI)。如果留空,则会回退至 ProjectSettings.application/config/icon。见 App 图标


String icons/settings_58x58

iPad 和 iPhone 上的应用程序设置图标文件(2x DPI)。如果留空,则会回退至 ProjectSettings.application/config/icon。见 App 图标


String icons/settings_87x87

iPhone 上的应用程序设置图标文件(3x DPI)。如果留空,则会回退至 ProjectSettings.application/config/icon。见 App 图标


String icons/spotlight_40x40

iPad 上的“聚焦”图标文件(1x DPI)。如果留空,则会回退至 ProjectSettings.application/config/icon。见 App 图标


String icons/spotlight_80x80

iPad 和 iPhone 上的“聚焦”图标文件(2x DPI)。如果留空,则会回退至 ProjectSettings.application/config/icon。见 App 图标


String landscape_launch_screens/ipad_1024x768

应用程序启动屏幕图像文件。如果留空,则会回退至 ProjectSettings.application/boot_splash/image


String landscape_launch_screens/ipad_2048x1536

应用程序启动屏幕图像文件。如果留空,则会回退至 ProjectSettings.application/boot_splash/image


String landscape_launch_screens/iphone_2208x1242

应用程序启动屏幕图像文件。如果留空,则会回退至 ProjectSettings.application/boot_splash/image


String landscape_launch_screens/iphone_2436x1125

应用程序启动屏幕图像文件。如果留空,则会回退至 ProjectSettings.application/boot_splash/image


String portrait_launch_screens/ipad_768x1024

应用程序启动屏幕图像文件。如果留空,则会回退至 ProjectSettings.application/boot_splash/image


String portrait_launch_screens/ipad_1536x2048

应用程序启动屏幕图像文件。如果留空,则会回退至 ProjectSettings.application/boot_splash/image


String portrait_launch_screens/iphone_640x960

应用程序启动屏幕图像文件。如果留空,则会回退至 ProjectSettings.application/boot_splash/image


String portrait_launch_screens/iphone_640x1136

应用程序启动屏幕图像文件。如果留空,则会回退至 ProjectSettings.application/boot_splash/image


String portrait_launch_screens/iphone_750x1334

应用程序启动屏幕图像文件。如果留空,则会回退至 ProjectSettings.application/boot_splash/image


String portrait_launch_screens/iphone_1125x2436

应用程序启动屏幕图像文件。如果留空,则会回退至 ProjectSettings.application/boot_splash/image


String portrait_launch_screens/iphone_1242x2208

应用程序启动屏幕图像文件。如果留空,则会回退至 ProjectSettings.application/boot_splash/image


String privacy/camera_usage_description

请求访问设备相机时显示的(英文)消息。


Dictionary privacy/camera_usage_description_localized

请求访问设备相机时显示的(本地化)消息。


String privacy/microphone_usage_description

请求访问设备麦克风时显示的(英文)消息。


Dictionary privacy/microphone_usage_description_localized

请求访问设备麦克风时显示的(本地化)消息。


String privacy/photolibrary_usage_description

请求访问用户照片图库时显示的(英文)消息。


Dictionary privacy/photolibrary_usage_description_localized

请求访问用户照片图库时显示的(本地化)消息。


Color storyboard/custom_bg_color

Storyboard 启动屏幕的自定义背景色。


String storyboard/custom_image@2x

应用程序启动屏幕图像文件(2x DPI)。如果留空,则会回退至 ProjectSettings.application/boot_splash/image


String storyboard/custom_image@3x

应用程序启动屏幕图像文件(3x DPI)。如果留空,则会回退至 ProjectSettings.application/boot_splash/image


int storyboard/image_scale_mode

启动屏幕图像缩放模式。


bool storyboard/use_custom_bg_color

如果为 true,则会将 storyboard/custom_bg_color 用作启动屏幕的背景色,否则会使用项目设置 application/boot_splash/bg_color


bool storyboard/use_launch_screen_storyboard

如果为 true,则使用 storyboard 启动屏幕,不使用启动屏幕图像。


bool user_data/accessible_from_files_app

如果为 true,应用的“Documents”文件夹可以在“文件”应用中访问。见 LSSupportsOpeningDocumentsInPlace


bool user_data/accessible_from_itunes_sharing

如果为 true,应用的“Documents”文件夹可以在 iTunes 文件共享中访问。见 UIFileSharingEnabled