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

Upgrade to Cocoapod 0.36.0.beta.1 requires Umbrella Header Usage #28

Closed
JustinDSN opened this issue Jan 14, 2015 · 0 comments
Closed

Upgrade to Cocoapod 0.36.0.beta.1 requires Umbrella Header Usage #28

JustinDSN opened this issue Jan 14, 2015 · 0 comments
Assignees

Comments

@JustinDSN
Copy link

I will have to admit I'm on the bit of the leading (aka: bleeding) edge here.

I'm adding Alamofire and ProtocolBuffers-Swift to an existing AFNetworking and ProtocolBuffers-Objc project. I upgraded to Cocoapods 0.36.0.beta.1, and installed Alamofire as so: pod 'Alamofire', '~> 1.1.3'.

After performing a pod install it seems that 0.36.0.beta.1 changed its style to use Umbrella Headers instead. This means that in the Protocol Buffers generated files stop being able to find the import #import "ProtocolBuffers.h".

I was able to fix this by changing #import "ProtocolBuffers.h" to @import ProtocolBuffers; or #import <ProtocolBuffers/ProtocolBuffers.h>. It seems like @import points to the 'umbrella' header generated by Cocoapods. Not sure which one is the right one to use.

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

No branches or pull requests

2 participants