youknowone / UI7Kit

Backport flat-style UIKit from iOS7 to iOS5+
Other
1.67k stars 199 forks source link

Pods-environment.h doesn't exist when targets are used in Podfile #147

Closed vpdn closed 10 years ago

vpdn commented 10 years ago

In "UI7Kit.h", there's a check for "Pods-environment.h".

#ifdef COCOAPODS
#include "../Pods-environment.h"
#else // no cocoapods, so enable everything

If targets are defined in a Podfile however, the naming convention is "Pods-[targetName]-environment.h" and the default "Pods-environment.h" won't be generated. This results in a compilation error if UI7Kit is included as a pod.