Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

'AFNetworking.h' file not found #136

Open
troya2 opened this issue Nov 3, 2016 · 5 comments
Open

'AFNetworking.h' file not found #136

troya2 opened this issue Nov 3, 2016 · 5 comments

Comments

@troya2
Copy link

troya2 commented Nov 3, 2016

On a brand new swift project in XCode 8.1 with the following Podfile and only adding one line to the main ViewController.swift file:
import DZNPhotoPickerController

XCode reports the error: 'AFNetworking.h' file not found

Here's the Podfile

platform :ios, "9.3"
use_frameworks!

target 'Testing' do
  pod 'DZNPhotoPickerController'  # Download photos from the internet
end

I've attached the XCode project to this as well. I'm stumped and appreciate any help in getting this resolved.
Testing.zip

@nsleader
Copy link

Same problem

@yarodevuci
Copy link

@ngocbinh02 , @troya2, @dzenbot
Yep, the same.... any solutions??

@eyalby
Copy link

eyalby commented Dec 31, 2016

same here. any news about it ? thanks.

@alexsteinerde
Copy link

I have the same problem.

@xradeon
Copy link

xradeon commented Jul 12, 2017

Dirty temp fix.

Replace
#import "AFNetworking.h"
with
#import <AFNetworking/AFNetworking.h>

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

6 participants