You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: