Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/20.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
在carthage构建--无跳过当前--缓存构建--平台iOS时,找不到任何可用的iOS模拟器_Ios_Swift_Carthage - Fatal编程技术网

在carthage构建--无跳过当前--缓存构建--平台iOS时,找不到任何可用的iOS模拟器

在carthage构建--无跳过当前--缓存构建--平台iOS时,找不到任何可用的iOS模拟器,ios,swift,carthage,Ios,Swift,Carthage,我得到以下错误: 生成框架carthage build时找不到任何可用的iOS模拟器--不跳过当前--缓存构建--平台iOS 我正在使用Xcode 10.1。尝试在终端中运行xcrun simctl list以查看是否有模拟器。我运行xcrun simctl list devices——json得到以下响应“devices”:{“com.apple.CoreSimulator.SimRuntime.iOS-11-4”:[{“可用性”:(不可用,未找到运行时配置文件)”,“状态”:“Shutdow

我得到以下错误:

生成框架carthage build时找不到任何可用的iOS模拟器--不跳过当前--缓存构建--平台iOS


我正在使用Xcode 10.1。

尝试在终端中运行
xcrun simctl list
以查看是否有模拟器。我运行xcrun simctl list devices——json得到以下响应“devices”:{“com.apple.CoreSimulator.SimRuntime.iOS-11-4”:[{“可用性”:(不可用,未找到运行时配置文件)”,“状态”:“Shutdown”,“isAvailable”:false,“name”:“iPhone 5s”,“udid”:“790ED014-E29E-4E33-BE71-46BDF1D36E68”,“availabilityError”:“未找到运行时配置文件”}。然后尝试添加其他模拟器/
下载模拟器
。迦太基似乎找不到模拟器,因为您没有。