init(signingIdentifier:designatedRequirement:)
Create an app rule that matches an app with a given signing identifier and a given designated requirement.
Declaration
init(signingIdentifier: String, designatedRequirement: String)Parameters
- signingIdentifier:
The signing identifier of the app that matches the rule. For apps that are signed using Xcode, the app’s signing identifier is equivalent to the app’s bundle identifier.
- designatedRequirement:
The designated requirement of the app that matches the rule. The designated requirement for an app can be obtained using the
codesigncommand-line developer tool.
Return Value
A newly-initialized NEAppRule object.