Removed

PBXProject.GetUnityTargetName

Obsolete This function is deprecated. There are two targets now, call GetUnityMainTargetGuid() - for app or GetUnityFrameworkTargetGuid() - for source/plugins to get Guid instead of calling to TargetGuidByName(GetUnityTargetName()).

Declaration

public static string GetUnityTargetName();

Returns

string The default main target name.

Description

Deprecated. Returns the default main target name in Unity project.

Deprecated. The returned target name can then be used to retrieve the GUID of the target via TargetGuidByName function. This function can only be used in Unity-generated projects. Use GetUnityMainTargetGuid or GetUnityFrameworkTargetGuid to get GUID no need to call TargetGuidByName function.


Did you find this page useful? Please give it a rating: