Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

PBXProject.AddFrameworkToProject

public void AddFrameworkToProject(string targetGuid, string framework, bool weak);

Parameters

targetGuid The GUID of the build configuration as returned by TargetGuidByName.
framework The name of the framework. The extension must be ".framework".
weak True if the framework is required, false if optional.

Description

Adds a framework dependency for the specified target.