Question

Hi,

I've a maybe really simple question to you. According to Apple's tip how to link to a framework, I tried to add some frameworks to my project.

All works fine, BUT the frameworks are added at the top of my project structure which is, in my opinion, somehow annoying because there exists already a framework subfolder. But if I drag&drop the linked "framework" to this folder, the framework appears red in my target's "Link Binary With Library" window. So XCode is missing the right location.

Can somebody explain me, how to move the framework or in general add the framework in the framework subfolder?!

Thanks for your help!

Was it helpful?

Solution

Try just closing XCode and restarting it. I've had the same problem, and did the same thing you did - dragged the frameworks into the "Frameworks" folder where they belong. They turn red, but when I close and reopen Xcode, they're no longer red, and I'm able to build and run as usual.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top