I have one workspace that contains 3 projects (Project1, Project2), which Project1 contains 2 targets (Target1, Target2), and Project2 contains 1 target (target3). And the directory structure looks like the diagram below.
How do I setup Podfile so every target has the pod 'RestKit'?
I don't know what 'link_with' and Please write me the podfile and explain to me, thank you a lot.
MyApp
|
+-- MyApp.xcworkspace
|
+-- Project1
| |
| +-- Target1.xcodeproj
| +-- (source code)
| |
| +-- Target2
| +-- (source code)
|
|
+-- Project2
| |
| +-- Target3.xcodeproj
| +-- (source code)
|
+-- Target3
|
+-- (source code)