ios - Xcode build fails using RestKit and AFNetworking via Cocoapods after a copy target -


i have returned large project uses restkit , many other libraries. existing target builds , archives fine. xcode 6.4, sdk ios 8.4, target ios 7.0.

i did this:

  1. duplicated existing target.
  2. added pre-processor macros , different product name
  3. expected new target build , archive successfully.

now build fails with: (null): library not found -lpods-afnetworking

notes:

  • i have compared raw target details , identical apart few changes noted above.
  • i don't want run pod install on project. why? because i'm afraid, yes. , because don't want spend time - need make variant build , move on else. pod install after period away cause unwanted breakage.
  • i have had problem before on same project, , yes cursing former me not making better notes @ time, former me says fatigued , pissed off @ time , couldn't bear minute, , knew come bite later me in arse.

so before bang head against again, hoping kind , generous soul reading share golden path of light leads , away pain directly promised land of clean build.


Comments