首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SVProgressHUD不工作

SVProgressHUD不工作
EN

Stack Overflow用户
提问于 2017-05-25 22:21:35
回答 3查看 993关注 0票数 0

它不工作,像这个视频中的一切https://www.youtube.com/watch?v=ZpK5KQdn95w

我得到找不到模块SVProgressHUD的错误

这是我的Podfile

代码语言:javascript
复制
# 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

有人能帮帮我吗?UITest和其他测试的东西在哪里,我只是简单地删除了它们,是不是导致了问题?

EN

回答 3

Stack Overflow用户

发布于 2017-05-25 22:30:52

尝试安装以下代码:

代码语言:javascript
复制
target 'MyApp' do
  pod 'SVProgressHUD', '~> 2.1'
end

文件中的

代码语言:javascript
复制
# 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

编辑的

而不是上面的代码,执行下面的代码:

代码语言:javascript
复制
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, ‘9.0’
use_frameworks!

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

它会帮到你的。

票数 0
EN

Stack Overflow用户

发布于 2017-06-26 20:36:16

这个podfile对我来说很有效:

代码语言:javascript
复制
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
EN

Stack Overflow用户

发布于 2019-07-17 23:33:06

在Podfile中写入以下内容:

代码语言:javascript
复制
pod 'SVProgressHUD', :git => 'https://github.com/SVProgressHUD/SVProgressHUD.git'
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44182917

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档