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

Problem with cocoapods 0.36 use_framework! #91

Closed
zixsma opened this issue Mar 17, 2015 · 10 comments
Closed

Problem with cocoapods 0.36 use_framework! #91

zixsma opened this issue Mar 17, 2015 · 10 comments

Comments

@zixsma
Copy link

zixsma commented Mar 17, 2015

After update cocoapods to version 0.36 and use Framework. I found that AFOauth2Manager cannot import AFNetworking library to use in code. Xcode show error in AFOauth2Manager code where import AFNetworking code.

@andresbrun
Copy link

Same here with 0.37.

@jadidian
Copy link

Same here, AFOAuth2Manager and use_frameworks! don't work together, I spent hours trying different config / header search paths / framework search paths without success. Not sure this is an issue with AFOAuth2Manager or CocoaPods though

@ryanmaxwell
Copy link

yep this is making it difficult to use in swift

@juanuribeo13
Copy link
Contributor

I fixed this by changing the following imports

  • #import "AFURLRequestSerialization.h"
  • #import "AFHTTPRequestOperationManager.h"

to

  • #import <AFNetworking/AFURLRequestSerialization.h>
  • #import <AFNetworking/AFHTTPRequestOperationManager.h>

This pull request fixes the problem #100

@zixsma
Copy link
Author

zixsma commented Aug 19, 2015

Thank you very much @juanuribeo13 .

@grnbeagle
Copy link

👍

1 similar comment
@GregPrice24
Copy link

👍

priteshshah1983 added a commit to magnetsystems/AFOAuth2Manager that referenced this issue Oct 6, 2015
@eriksundin
Copy link

+1

@kcharwood
Copy link
Contributor

I've merged in the change

@sergii-frost
Copy link

Hi, I've faced this issue when using latest available release (2.2.0). Could you please release version with this fix?

This issue was closed.
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

10 participants