Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Minor import paths issue #107

Open
soundspectrum opened this issue Nov 16, 2015 · 1 comment
Open

Minor import paths issue #107

soundspectrum opened this issue Nov 16, 2015 · 1 comment

Comments

@soundspectrum
Copy link

Hello,

In AFHTTPRequestSerializer+OAuth2.h and AFOAuth2Manager.h, I suggest you change

#import <AFNetworking/...h>

to:

#import <AFNetworking.h>

for increased compatibility. They currently result in an error if include paths aren't set to include system paths, which is important to many developers.

Thanks,
Drew

@djbe
Copy link

djbe commented Jan 11, 2016

Actually it should stay as #import <AFNetworking/AFNetworking.h>, otherwise it will break when used with cocoapods and the use_frameworks! flag.

I did note that the 3.0.0 branch switched to module imports (@import). Could this be reverted? Modules are not available when using objective-c++.

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

No branches or pull requests

1 participant