Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-core/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 在podfile中获取错误_Ios - Fatal编程技术网

Ios 在podfile中获取错误

Ios 在podfile中获取错误,ios,Ios,我使用podfile安装sclertview 我在SCLAlertView.swift文件中收到300个错误 我使用的是Xcode 7 如何解决这个问题 这是我的播客文件 platform :ios, '8.0' target `SCLAlertView2` do pod `SCLAlertView` end target `IceCreamShopTests` do end 它生成SCLARTERVIEW.swift的POD文件,但出现300错误 Xcode be是最新版本,不能首先

我使用podfile安装sclertview

我在SCLAlertView.swift文件中收到300个错误

我使用的是Xcode 7

如何解决这个问题

这是我的播客文件

platform :ios, '8.0'

target `SCLAlertView2` do
pod `SCLAlertView`

end

target `IceCreamShopTests` do

end
它生成SCLARTERVIEW.swift的POD文件,但出现300错误

Xcode be是最新版本,不能首先在Xcode 7上工作

如果您签入分支机构,您可以找到支持swift 2.3的SCLARTERVIEW版本

您可以直接使用而不是安装CoCoapod

第二

如果您检查sclertView.podspec,您可以找到cocoapods的版本,然后您可以通过

 pod 'SCLAlertView', '~> 0.6'
如果您想支持xcode 7.3和swift 2.3,如果您使用swift 3+则使用

pod 'SCLAlertView', '~> 0.7'

希望这些信息能解决您的问题。

这些回音是可疑的。Podfile是Ruby文件,Ruby中的back tick用于运行shell命令。