Version: 2018.4
public bool ContainsFramework (string targetGuid, string framework);

パラメーター

targetGuid[[TargetGuidByName()]] によって取得できる target の GUID
frameworkThe name of the framework. The extension of the filename must be ".framework".

戻り値

bool Returns true if the given framework is a dependency of the given target, false otherwise.

説明

Checks whether the given system framework is a dependency of a target.

The function assumes system frameworks are located in System/Library/Frameworks folder in the SDK source tree.