xcode 工程没有模拟器_Xcode 9-没有iOS 11模拟器

When I open up the new Xcode 9 and go to Preferences > Components I don't see an option to download iOS 11 simulators. I'm 100% sure I have the latest Xcode 9 beta 4

Basically one is able to use it for any Xcode version by determining the DTXcoce:

defaults read /Applications/Xcode-beta.app/Contents/Info DTXcode .

A result like 0900 must be converted to 9.0.0

And the DVTPlugInCompatibilityUUID:

defaults read /Applications/Xcode-beta.app/Contents/Info DVTPlugInCompatibilityUUID

Then download: https://devimages-cdn.apple.com/downloads/xcode/simulators/index--.dvtdownloadableindex .

And lastly in order to be able to open it: plutil -convert xml1

Can someone verify I have the right dvtdownloadableindex? Or provide a url to the right version? Otherwise I hope someone can provide the url for the complete simulator package by downloading and cancelling the simulator while looking in to console.app like in this article

解决方案

I seem to be pretty stupid, wasting too much time than necessary.

The new iOS 11 simulators were already included in the new Xcode, (however the won't appear in the settings of Xcode) . You can just open up the simulator (/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app) and choose an iOS 11 device in the Hardware > Device menu bar.

Xcode.app can be Xcode-beta.app too.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值