GetUnityTargetName()
Deprecated. Returns the default main target name in Unity project.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEditor.iOS.Xcode
- Assembly: UnityEditor.iOS.Extensions.Xcode
public static string GetUnityTargetName()
Returns
Type | Description |
|---|---|
| string | The default main target name. |
Remarks
Deprecated. The returned target name can then be used to retrieve the GUID of the target via PBXProject.TargetGuidByName function. This function can only be used in Unity-generated projects. Use PBXProject.GetUnityMainTargetGuid or PBXProject.GetUnityFrameworkTargetGuid to get GUID. You need not call PBXProject.TargetGuidByName function.