Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PBXProject.AddFrameworkToProject

Switch to Manual
public function AddFrameworkToProject(targetGuid: string, framework: string, weak: bool): void;

Parameters

targetGuidThe GUID of the build configuration as returned by BuildConfigByName().
frameworkThe name of the framework. The extension must be ".framework".
weakTrue if the framework is required, false if optional.

Description

Adds a framework dependency for the specified target.