Xcode, how to add a static library project to another project?

I have 2 Xcode iphone projects. 1 creates a static library. I want to use this static library in another project.

how to link this static library project with my other project. so when I compile my other project, it will automatically compile the static library project and use that library.

how to do it?

+3
source share
1 answer

It is pretty simple:

First you need to drag the static library project file (xcodeproj) into your project to make a cross-project link.

: "Link Binary With Libraries" .

API- GData: http://code.google.com/p/gdata-objectivec-client/wiki/BuildingTheLibrary

( " iPhone" )

, , .

+5

Source: https://habr.com/ru/post/1778582/


All Articles