[iOS] Third-party libraries not found for "staging" config: Solution! #426
Description
Hi!
I installed CodePush in my app today and followed the instructions for multi-environments, where the docs say to create a "staging" project configuration. After doing that, the project would not build at all when the scheme was set to "staging", complaining that no libraries could be found. Re-linking with rnpm didn't help, but I figured out that the issue was that no third-party libraries (including code-push!) include the staging configuration, making the build fail.
The solution was this stackoverflow answer: http://stackoverflow.com/questions/30884778/how-to-compile-a-project-with-app-and-library-in-the-same-workspace-with-differe/30884779#30884779
I had to change it a bit, using the same string for "header search paths" as "framework search paths" (functionally omitting the /include
part of that string), but now everything works.
I think this should be mentioned in the documentation right where the user is instructed to create the "staging" configuration.