I'm using swift 3 xCode 8.My project's name is jzy_weather2.
when I try to import MBProgressHUD.h
from the Pods, TWO error appears, one is MBProgressHUD.h file not found
, the other is failed to import bridging header /myPath/myProj/myProj/myProj-Bridging-Header.h
This is the code in Podfile,Both Podfile's blocks below are OK when pod install
platform :ios, '10.0'
def myPods
pod 'MBProgressHUD', '~> 1.0.0'
end
target 'jzy_weather2' do
use_frameworks!
myPods
target 'jzy_weather2Tests' do
inherit! :search_paths
end
target 'jzy_weather2UITests' do
inherit! :search_paths
end
end
and also try like this
platform :ios, '10.0'
def myPods
pod 'MBProgressHUD', '~> 1.0.0'
end
target 'jzy_weather2' do
use_frameworks!
myPods
end
target 'jzy_weather2Tests' do
myPods
end
target 'jzy_weather2UITests' do
myPods
end
the is the code that written in jzy_weather2-Bridging-Header.h
#import "MBProgressHUD.h"
and I've also tried this syntax
#import <MBProgressHUD.h>
and I've read some solutions like there solutions in StackOverflow, I don't know whether I've MISS some right solutions in this link, because there're too many solutions in it.
This is my Project info, I think this is the right solution for some one, but My two errors still occurs
Is there anything wrong with my configuration or code? Or maybe in the xCode 8, I should write another kind of configuration?