Copying frameworks to a project?

When trying to copy the framework to the Frameworks folder of my project in Xcode, I get the error

Failed to copy /Developer/Platforms/.../Frameworks/OpenAL.framework to / Users /.../ OpenAL.framework

I accidentally copied the wrong structure with the same name into the project by accident and deleted it, but now I cannot copy the correct file? How do I get rid of the wrong version completely before copying the corresponding version?

Thanks in advance!

0


source to share


2 answers


You cannot add new infrastructure for iPhone development. Instead, you should add existing infrastructure and find infrastructure in (for example)/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk/System/Library/Frameworks/



+2


source


Why are you trying to copy OpenAL.framework into your project? You don't need to copy the framework into your project directory to link it, and OpenAL.framework is provided by the operating system (as you can tell from it, located under /Developer

.)



Also, keep in mind that third party frameworks are not supported on iPhones, you can only use static libraries. I mention this because you added a tag iPhone

to your question, so I am assuming you are building an iPhone app.

+2


source







All Articles