xcode的ios模拟器太大了
2016-05-02 15:18:00 weixin_33674437 阅读数 24

XCode7.3下,默认带了iOS 9.3 Simulator,iOS 8.4 Simulator总是安装不成功。

 

 

mac os X,里的模拟器,全屏 ,windows win键+1/2/3 切换全屏,半屏,小屏 。显示不完整的问题这么解决。

 

Xcode模拟器里截屏:

File>Save Screen shot. 自动创建到桌面上。

这样保存的屏幕分辨率和你选择的Scale级别有关,需要与手机分辨率一致请选择100%

Edit>Copy Screen

Preview>File>New from Clipboard>save to file.

 

 

http://jingyan.baidu.com/article/f7ff0bfc1be7372e26bb139a.html

2018-06-13 10:35:00 weixin_34259559 阅读数 19

今天遇到模拟器无法启动问题,点击模拟器或者Xcode build模拟器就一直跳,跳一会就不跳了,然后查看模拟器状态,显示为无响应。或者黑屏,等半天不动。

如果你有类似情况可以尝试在终端执行以下命令:

1.意思是删除模拟器目录下是所有文件。

rm -rf ~/Library/Developer/CoreSimulator/Devices

2.意思是杀死模拟器服务。(亲测有效)

killall -9 com.apple.CoreSimulator.CoreSimulatorService

2019-02-22 13:03:00 weixin_33697898 阅读数 10

下载目录,xcode下载模拟器完成后,以压缩文件的形式放在这里
~/Library/Caches/com.apple.dt.Xcode/Downloads

模拟器支持文件路径,只有在列表中的模拟器才能够被支持
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

自带模拟器路径
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes

非自带模拟器需要放在这个目录
升级xcode时,可以将旧版本xcode中的自带模拟器取出,放在这个目录
/Library/Developer/CoreSimulator/Profiles/Runtimes

2018-11-10 22:14:00 weixin_33989058 阅读数 9

xcode 安装ios 模拟器

ios模拟器下载地址:

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK8_1-8.1.1.1434581536.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK8_3-8.3.1.1434581536.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK8_2-8.2.1.1434581536.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK8_4-8.4.1.1435785476.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK9_0-9.0.1.1443554484.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK9_1-9.1.1.1446593668.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK9_2-9.2.1.1451951473.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK9_3-9.3.1.1460411551.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK10_0-10.0.1.1474488730.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK10_1-10.1.1.1476902849.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK10_2-10.2.1.1484185528.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK10_3-10.3.1.1495751597.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_0-11.0.1.1508875951.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_1-11.1.1.1510784422.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_2-11.2.1.1516308624.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_3-11.3.1.1524350608.dmg

https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_4-11.4.1.1527703358.dmg

如何找到模拟器的下载地址

打开Xcode

操作如下:

Command+, -> 选择Components -> 点击想要下载的Simulator,并输入密码 -> 等几秒钟,然后点击对应的取消x

打开控制台

操作如下:

右上角搜索框输入DVTDownloadable,然后回车,即可显示刚才点击要下载的Simulator

下载后放置到用户目录:

~/Library/Caches/com.apple.dt.Xcode/Downloads/

安装完成之后,会在目录

/Library/Developer/CoreSimulator/Profiles/Runtimes/

下生成对应的 simruntime 文件。即安装的最终结果

转载于:https://my.oschina.net/who7708/blog/2874522

2012-04-09 21:13:58 gnicky 阅读数 1385

$ sudo <Xcode>/Library/uninstall-devtools --mode=all  )

/Users/admin/Library/developer/Xcode

第二步:安装3.2.6,注意要修改安装的目录为/Developer2,请参考下面的文章。下面的文章说的是3.2.5,但我用的是3.2.6也OK了。

第三步:安装4.1,默认安装在了/Developer目录中,安装成功后,把文件夹发名为/Developer3。

第四步:安装4.2.1,默认安装在了/Developer目录中。

 

安装好后,在系统信息里可以看到三个开发工具,手动修改为/Developer3的也被识别,如下图:

在安装3.2.6时,有一步,我去掉了对勾, 就是system tools和UNIX Developmanet.因为4.2.1与3.2.6的安装文档中都有类似的说明, 如下(4.2.1的):

The Xcode installer also installs system components and UNIX command line tools in a shared location on your Mac. Only one version of these components can exist on a computer at a time, and the last installed version replaces any previously installed set.

意思是 system tools和UNIX Developmanet只能存在一个版本,多次安装以最后一次为准。 我想4.2.1已带了system tools和UNIX Developmanet, 就应该不用3.2.6的了吧?但 4.2.1带的与3.2.6还的system tools和UNIX Developmanet是一类型的吗?



没有更多推荐了,返回首页