Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

PBXProject.AddFrameworkToProject

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

Parameters

targetGuid The GUID of the build configuration as returned by BuildConfigByName().
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.