# Adding Custom Frameworks to XCode project using the ProJucer

**URL:** <https://forum.juce.com/t/adding-custom-frameworks-to-xcode-project-using-the-projucer/27984>\
**Category:** The Projucer\
**Created:** [June 4, 2018, 9:01am UTC](https://forum.juce.com/t/adding-custom-frameworks-to-xcode-project-using-the-projucer/27984 "2018-06-04T09:01:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![parkellipsen](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@parkellipsen](https://forum.juce.com/u/parkellipsen)\
**Post date:** [June 4, 2018, 9:01am UTC](https://forum.juce.com/t/adding-custom-frameworks-to-xcode-project-using-the-projucer/27984/1 "2018-06-04T09:01:56Z")

</div>

Hi,

i’m trying to add some custom frameworks (that is, frameworks that reside only in the project repository, not globally on my system) to my XCode project using the Projucer, but i couldn’t manage so far …

In XCode, i add the frameworks by going to the “Link Binary with Libraries” tab, click ‘+’, then ‘Add Other’, and then add the frameworks from the respective folders.

Adding the frameworks under “Extra frameworks” in the Projucer doesn’t work, it only seems to work with frameworks that are available system-wide.

So each time i save my projucer project i have to re-add the frameworks, which is annoying to a degree.

Is there any way to work around that ?

Best,  
n

---

<div class="post-metadata">

**Author:** ![lukasz.k](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@lukasz.k](https://forum.juce.com/u/lukasz.k)\
**Post date:** [June 4, 2018, 1:19pm UTC](https://forum.juce.com/t/adding-custom-frameworks-to-xcode-project-using-the-projucer/27984/2 "2018-06-04T13:19:31Z")

</div>

Hey.

We have recently added support for this in Projucer on develop, [commit 70ad101](https://github.com/WeAreROLI/JUCE-dev/commit/70ad10155f2b30e4ef4a4c6af903d477c1b363b4). The `Extra Frameworks` field is now called `Extra System Frameworks` and there is a new field `Extra Custom Frameworks` to specify non system frameworks. You need to provide a path to your custom framework in the latter. Also, remember to update compiler and linker flag `-F` (frameworks search path).

As a side note, Projucer supports now embedded frameworks too via `Embedded Frameworks`, what will appear under `Embed Frameworks` build phase in Xcode.

Below, a complete example on how to setup Mixpanel framework in Projucer (which requires embedding the framework in binary). If your framework does not have to be embedded, then you can just add it to `Extra Custom Frameworks` field.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/6/60e7ebd0181008874e48b2354a4e56694c5f4682.png)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/1/1ed11513fe205876dd7e111784345bea65c6611b.png)

Hope that helps!

---

<div class="post-metadata">

**Author:** ![matkatmusic](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@matkatmusic](https://forum.juce.com/u/matkatmusic)\
**Post date:** [September 12, 2018, 9:57am UTC](https://forum.juce.com/t/adding-custom-frameworks-to-xcode-project-using-the-projucer/27984/3 "2018-09-12T09:57:33Z")

</div>

I’m still using ProJucer 4.3.1, but when I add absolute paths to the `Extra Frameworks` field in addition to System frameworks, they all show up fine in Xcode.

---

<div class="post-metadata">

**Author:** ![parkellipsen](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@parkellipsen](https://forum.juce.com/u/parkellipsen)\
**Post date:** [April 29, 2019, 1:52pm UTC](https://forum.juce.com/t/adding-custom-frameworks-to-xcode-project-using-the-projucer/27984/4 "2019-04-29T13:52:41Z")

</div>

This works fine in my standalone application, but right now i’m realising that Xcode can’t find the framework headers when I use the same settings in my plugin project.

Is there anything specific about plugins in this regard ?

---

<div class="post-metadata">

**Author:** ![mcmartin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mcmartin/32/7432_2.png) [@mcmartin](https://forum.juce.com/u/mcmartin)\
**Post date:** [May 1, 2019, 1:09pm UTC](https://forum.juce.com/t/adding-custom-frameworks-to-xcode-project-using-the-projucer/27984/5 "2019-05-01T13:09:49Z")

</div>

What do you mean by “Xcode can’t find the framework headers”. What errors are you getting exactly?

---

<div class="post-metadata">

**Author:** ![parkellipsen](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@parkellipsen](https://forum.juce.com/u/parkellipsen)\
**Post date:** [May 2, 2019, 8:49am UTC](https://forum.juce.com/t/adding-custom-frameworks-to-xcode-project-using-the-projucer/27984/6 "2019-05-02T08:49:06Z")

</div>

Well, I get an error on the line where I include the framework header, telling me that the header file can’t be found.

---

<div class="post-metadata">

**Author:** ![StefanS](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@StefanS](https://forum.juce.com/u/StefanS)\
**Post date:** [January 8, 2024, 12:43pm UTC](https://forum.juce.com/t/adding-custom-frameworks-to-xcode-project-using-the-projucer/27984/7 "2024-01-08T12:43:03Z")

</div>

> [@parkellipsen](#):
>
> Well, I get an error on the line where I include the framework header, telling me that the header file can’t be found.

Bringing this old Thread back to life. I just came across the same issue while trying to embed the Pro Tools Scripting SDK into a plugin. It seems that you have to enter the framework path into both `Extra Custom Frameworks` and `Embedded Frameworks` to be found, although the info text box on the latter says that it is not necessary to specify the path on both.  
It took me some time to find out, because that’s not the case when you create a GUI app project, only happening on plugins.
