Duxducis
Duxducis

Reputation: 457

How can I include .a libraries in Xcode?

so I've been trying to include the Bullet physics library to my project and Cmake generated an Xcode project for me which built to static libraries or .a files. All the demos work perfectly from within that project, but I need to be able to use them in my project in C++ Xcode, I've already included the necessary headers, but how do I use the .a files in Xcode 4? Or what else should I do?

Upvotes: 0

Views: 234

Answers (1)

Paul R
Paul R

Reputation: 213170

You can just add the .a files to the project in the same way that you add source files or frameworks, i.e. drag them to the project window or use Files => Add Files to "foo"....

Upvotes: 1

Related Questions