Version: 2017.1
public static string AddWatchExtension (iOS.Xcode.PBXProject proj, string mainTarget, string name, string bundleId, string infoPlistPath);

パラメーター

proj The implicit this parameter for the extension method.
mainTarget The GUID of the main target to link the watch extension to.
name The name of the watch extension.
bundleId The bundle ID of the watch extension. This bundle ID must include the bundle ID that is later used for watch app as a prefix. That is, the structure of the ID is as follows: watchAppBundleId + ".a_subdomain".
infoPlistPath Path to the watch extension Info.plist document.

戻り値

string The GUID of the new target.

説明

Creates a watch extension.

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