[!] Invalid `Podfile` file: syntax error, unexpected tIDENTIFIER, expecting end-of-input
target "HJ" dopod 'MJExtension'
^.
# from /Users/hulijie/Downloads/WallpaperWeather-master/Podfile:2
# -------------------------------------------
# platform:ios, '8.0'
> target "HJ" dopod 'MJExtension'
# pod 'MBProgressHUD', '~> 0.9.2'
# -------------------------------------------
明明有结尾还是会报错,是因为从低版本的,只有两句pod 'MBProgressHUD', '~> 0.9.2'的podfile文件修改为
platform:ios, ‘8.0’
target “HJ” do
pod 'MJExtension'
pod 'MBProgressHUD', '~> 0.9.2'
pod 'SVProgressHUD', '~> 2.0.3'
pod 'JSONKit-NoWarning', '~> 1.2'
pod 'MJRefresh', '~> 3.1.12'
pod 'AFNetworking', '~> 3.1.0'
pod "Qiniu", "~> 7.1"
pod 'SDWebImage', '~> 3.8.1'
end
加了
platform:ios, ‘8.0’
target “HJ” do
。。。
end
找了很多方法都没有解决,后来把加的
platform:ios, ‘8.0’
target “HJ” do
。。。
end
又去掉了,pod install一遍,提示:
这时候又把
platform:ios, ‘8.0’
target “HJ” do
。。。
end
加上去,再次pod install
ok了,收工!