I just tried to update from cocoapods 0.39.x to Cocoapods 1.0. Running
pod install
from the terminal causes no warnings. Everything seems normal. However, when I try to build my project it outputs:
AFNetworking/AFNetworking.h file not found
My pod file looks like this (there are a few more dependencies but I only listed a part of it):
platform :ios, '8.0'
use_frameworks!
source 'https://github.com/CocoaPods/Specs.git'
target 'MyApp' do
pod 'AFNetworking', '~> 2.6'
pod 'BEMCheckBox'
pod 'ActionSheetPicker-3.0', '~> 2.0.5'
pod 'SCLAlertView'
pod 'DZNEmptyDataSet'
pod 'SSZipArchive'
end
target 'MyAppTests' do
end
Since some projects are written in Objective-C, i created a bridging header:
#import <AFNetworking/AFNetworking.h>
#import <ActionSheetPicker_3_0/ActionSheetPicker.h>
#import <SSZipArchive/SSZipArchive.h>
#import <DZNEmptyDataSet/UIScrollView+EmptyDataSet.h>
I explicitly included $(inherited) in the Header Search Paths, the User Header Search paths, and the Framework Search paths but the error does not go away.
Does someone have an idea on how to fix this?