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

パラメーター

projThe implicit this parameter for the extension method.
mainTargetThe GUID of the main target to link the watch extension to.
nameThe name of the watch extension.
bundleIdThe 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".
infoPlistPathPath to the watch extension Info.plist document.

戻り値

string The GUID of the new target.

説明

Creates a watch extension.