I'm developing a C++ project by using Xcode 4.6.1
as IDE.
Now, I'd like to add a static library mylib.a
and the related header mylib.h
.
I read about this solution, but it doesn't work (while clicking on Target Dependencies, the box is still remaining empty).
Is there a way to achieve this task?
UPDATE:
I created a group, then I added the file mylib.a
on it. It seems to work fine, but at compile-time a warning as follows appears:
ld: warning: ignoring file /Users/vdenotaris/Desktop/Code/MyStaticLib/mylib.a, file was built for archive which is not the architecture being linked
(i386):/Users/vdenotaris/Desktop/Code/MyStaticLib/mylib.a