This version of Unity is unsupported.

PBXProject.GetUnityMainTargetGuid

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 evryting except source code, plugins, dependent frameworks and source compile/link build options use GetUnityFrameworkTargetGuid for it.