This solution was intended for another problem, but maybe it fills your needs.
After adding your subproject to the workspace:
- Select the Target which should use the newly added subproject
- In "Link Binaries with Libraries" under Build Phases hit the +
button
- If the Library does′t show up hit "Add Other..."
- Navigate to the Folder where the project file (*.xcodeproj) lies
- Mark it and hit "Open"
- Now you should see the Project File show up under "Link Binaries
with Libraries"
- Under "Target Dependencies" in the same tab, hit the + button
- Now you should see the necessary files
- Check yours and hit "Add"
- Again in the "Link Binaries with Libraries" hit the + button
- Now your .a file should show up and you can choose and add it
Now you are using the chosen library for your target. Repeat those steps for every target which needs this subproject. Hope that helps! For me it did because i could not manage to add dependencies to it before...
Greetz, Tomte
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…