This version of Unity is unsupported.

PBXProject.GetUnityMainTargetGuid

Declaration

public string GetUnityMainTargetGuid();

Returns

string The GUID for the main target.

Description

Returns GUID of the main target in Unity project.

Returns GUID of the main target. This target includes everything except source code, plugins, dependent frameworks and source compile/link build options use GetUnityFrameworkTargetGuid for it.