它不工作,像这个视频中的一切https://www.youtube.com/watch?v=ZpK5KQdn95w
我得到找不到模块SVProgressHUD的错误
这是我的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有人能帮帮我吗?UITest和其他测试的东西在哪里,我只是简单地删除了它们,是不是导致了问题?
发布于 2017-05-25 22:30:52
尝试安装以下代码:
target 'MyApp' do
pod 'SVProgressHUD', '~> 2.1'
end文件中的
# 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编辑的
而不是上面的代码,执行下面的代码:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, ‘9.0’
use_frameworks!
target ‘YouMe’ do
pod 'SVProgressHUD', '~> 2.1'
end它会帮到你的。
发布于 2017-06-26 20:36:16
这个podfile对我来说很有效:
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发布于 2019-07-17 23:33:06
在Podfile中写入以下内容:
pod 'SVProgressHUD', :git => 'https://github.com/SVProgressHUD/SVProgressHUD.git'https://stackoverflow.com/questions/44182917
复制相似问题