# AddExternalLibraryToEmbedFrameworks(PBXProject, string, string, string, string, string)

> Adds a library from the external project to the embedded frameworks list.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.iOS.Xcode.Extensions](/engine/6000.7/script-reference/unityeditor/ios/xcode/extensions.md)
* **Assembly:** UnityEditor.iOS.Extensions.Xcode

```csharp
public static void AddExternalLibraryToEmbedFrameworks(this PBXProject proj, string targetGuid, string filename, string remoteFileGuid, string projectPath, string remoteInfo)
```

### Parameters

**** (\[PBXProject]\(/engine/6000.7/script-reference/unityeditor/ios/xcode/pbxproject)): **** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The GUID of the target that depends on the embedded framework library you are adding.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The library file name.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The GUID of the library target in the external project.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The path to the external project. This must match the path you use for this parameter in AddExternalProjectDependency.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;
