Version: 2023.2
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(string _id, bool _requiresEntitlements, string _framework, bool _optionalFramework);

Parameters

_id The string used in the PBXProject file to identify the capability and mark it as enabled.
_requiresEntitlements This capability requires an entitlements file therefore we need to add this entitlements file to the code signing entitlement.
_framework Specify which framework need to be added to the project for this capability, if "" no framework are added.
_optionalFramework Some capability (right now only iCloud) adds a framework, not all the time but just when some option are checked; this parameter indicates if one of them is checked.

Description

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