Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Pods-environment.h" not found with CocoaPods 0.34.1 #8

Closed
mschm opened this issue Oct 15, 2014 · 4 comments
Closed

"Pods-environment.h" not found with CocoaPods 0.34.1 #8

mschm opened this issue Oct 15, 2014 · 4 comments

Comments

@mschm
Copy link

mschm commented Oct 15, 2014

This issue applies to CocoaPods 0.34.1 and above installations.

Building JXLS fails because the file Pods-environment.h (import in JXLS.h) has moved to ../Target Support Files/Pods/
See the CocoaPods changelog at http://blog.cocoapods.org/CocoaPods-0.34

To fix this issue and stay compatible with older CocoaPods installations I suggest to make use of the __has_include macro as discussed here: CocoaPods/CocoaPods#2536

@JanX2
Copy link
Owner

JanX2 commented Nov 20, 2014

Please make a pull request.

@JanX2 JanX2 closed this as completed Nov 20, 2014
@kts
Copy link

kts commented Jan 16, 2015

I am still getting this error. Is there an example of how to fix this with __has_include?

@kts
Copy link

kts commented Jan 16, 2015

After further inspection, it looks like this isn't really needed. If anyone else sees this same problem - it looks safe to just remove the #ifdef COCOAPODS block in JXLS.h - it's only needed for the #if block below.

@JasmeetDev
Copy link

Has anyone resolved this issue
Any help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants