Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

PBXCapabilityType 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 PBXCapabilityType(bool requiresEntitlements, string framework, bool optionalFramework);

Parameters

_requiresEntitlements This capability requires an entitlements file therefore we need to add this entitlements file to the code signing entitlement.
_framework The framework to be added to the project for this capability. If null, no framework is added.
_optionalFramework Set as true to indicate the described framework as optional for this capability. It will only be added to the PBXProject when forced.

Description

This object represents what a capability changes in the PBXProject file.


Declaration

public PBXCapabilityType(bool requiresEntitlements, string[] frameworks, bool optionalFrameworks);

Parameters

_requiresEntitlements Indicates whether this capability requires an entitlements file. If set to true, add the entitlements file to the code signing entitlement.
_frameworks The frameworks to be added to the project for this capability. If set to null, no frameworks are added.
_optionalFrameworks Set as true to indicate the described frameworks as optional for this capability. The frameworks will only be added to the PBXProject when forced.

Description

This object represents what a capability changes in the PBXProject file.