Skip to content
This repository was archived by the owner on Nov 14, 2017. It is now read-only.

Use <global> includes for AFNetworking classes#45

Merged
CodaFi merged 2 commits into
CodaFi:masterfrom
glyuck:master
Sep 1, 2015
Merged

Use <global> includes for AFNetworking classes#45
CodaFi merged 2 commits into
CodaFi:masterfrom
glyuck:master

Conversation

@glyuck

@glyuck glyuck commented Jun 3, 2015

Copy link
Copy Markdown
Contributor

So pod can be build as dynamic framework

When using cocoapods use_submodules! option, I get following error messages after trying to build my app:

Pods/AFNetworking-RACExtensions/RACAFNetworking/AFHTTPRequestOperationManager+RACSupport.h:9:9: 'AFHTTPRequestOperationManager.h' file not found
...
MyApp/Code/API/API.swift:12:8: Could not build Objective-C module 'AFNetworking_RACExtensions'

To fix this AFNetworking-RACExtensions needs to use global includes (#import <some/header.h>) because AFNetworking headers are not in scope of the framework's public headers.

@orkenstein

Copy link
Copy Markdown

Please, merge it @CodaFi

@CodaFi

CodaFi commented Sep 1, 2015

Copy link
Copy Markdown
Owner

✨ Thanks! ✨

CodaFi added a commit that referenced this pull request Sep 1, 2015
Use <global> includes for AFNetworking classes
@CodaFi CodaFi merged commit b6f096b into CodaFi:master Sep 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants