PlayerSettings.SetApplicationIdentifier

Switch to Manual
public static void SetApplicationIdentifier (BuildTargetGroup targetGroup, string identifier);

Description

Set the application identifier for the specified platform.

The location of the application identifier in the build output depends on the platform build target. On iOS, tvOS and Mac OS X platforms, the identifier is written to the 'CFBundleIdentifier' field in the info.plist file. This file is created and placed in the build output folder when the Unity project is built. Additionally, on Mac OS X, the bundle identifier can be found in the info.plist file in the final .app file, after finishing the Xcode build process. On Android the identifier is saved to the 'package' field in the AndroidManifest.xml file.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961