SVProgressHUD not working

1.4k Views Asked by At

Its not working did everything like in this video https://www.youtube.com/watch?v=ZpK5KQdn95w

I get the error that the Module SVProgressHUD is not found

here is my Podfile

# Uncomment the next line to define a global platform for your project
 platform :ios, '9.0'

target 'Bachelmatt Garage' do
  # Comment the next line if you're not using Swift and don't want to 
use dynamic frameworks
  use_frameworks!
  pod 'SVProgressHUD';
  end

Can someone help me please? There where also things for the UITest and ther other Test in there i simply removed them is that causing the Problem?

3

There are 3 best solutions below

2
On

Try to install below code:

target 'MyApp' do
  pod 'SVProgressHUD', '~> 2.1'
end

In your file

# Uncomment the next line to define a global platform for your project
 platform :ios, '9.0'

target 'Bachelmatt Garage' do
  # Comment the next line if you're not using Swift and don't want to 
use dynamic frameworks
  use_frameworks!
     pod 'SVProgressHUD', '~> 2.1'
  end

Edited

Instead above, Do below code:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, ‘9.0’
use_frameworks!

target ‘YouMe’ do
 pod 'SVProgressHUD', '~> 2.1'
 end

It will help you.

0
On

This podfile is working for me:

use_frameworks!
target 'appName' do
            pod 'SVProgressHUD', '~> 2.1.2'
            pod 'Alamofire', '~> 4.0'
            pod 'FileKit', '~> 4.0.1'
target 'appNameShareExtension' do
        inherit! :search_paths # Because else we get the "conflicting names"
end
end
0
On

In the Podfile write this:

pod 'SVProgressHUD', :git => 'https://github.com/SVProgressHUD/SVProgressHUD.git'