Adding frameworks in Projucer file

I’m having a problem with including frameworks in my Projucer files. When I add a framework them, Xcode opens with the framework and show it under the ‘LinkBinary with Libraries’ section. But building fails with Xcode unless I either, a) move the framework to second on the list, or simply delete it from the list and add it again?

Anyone have any suggestions? It’s driving me barmy to have to do this every time I update my project.

p.s. just found another link from 4 years ago about this. I’ll see if I can find out more by comparing the working on non-working projects…

Adding FRAMEWORK_SEARCH_PATHS="/Library/frameworks/" seems to have done the trick. Odd that Xcode doesn’t look here by default? Anyway, sorted. Case closed.

1 Like