CocoaPods/CocoaPods — Issue #136: Provide a way to override the PODS_ROOT path
Author: subdigital
Created: 2012-02-24 06:28:00+00:00
State: open

For whatever reason, the project I'm on has `$(SOURCE_ROOT)` as a folder one step up from the root of the git root. This makes a couple of things problematic:

- The `Pods.xcconfig` sets up `PODS_ROOT` as `$(SOURCE_ROOT)/Pods`
- The `Copy Pods Resources` script directly uses `$(SOURCE_ROOT)/Pods`

In my case, I need `$(SOURCE_ROOT)/../Pods`.

If a project were to provide a custom environment var for this, where should it be defined?