Version: 2021.3
LanguageEnglish
  • C#

ProjectCapabilityManager Constructor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public ProjectCapabilityManager(string pbxProjectPath, string entitlementFilePath, string targetName, string targetGuid);

Parameters

pbxProjectPath The project path provided by IPostprocessBuildWithReport.OnPostprocessBuild.
entitlementFileName Name of the entitlements file.
targetName Name of the target project.
targetGuid The GUID of the target as returned by PBXProject.TargetGuidByName

Description

Creates a new ProjectCapabilityManager object.

Note: To use this method, you need to provide either a targetName or a targetGuid. If you provide both or none, an exception will occur.