在下载文档/API 更新之前,有没有办法让 XCode 询问? [英] Is there a way to have XCode ask before downloading documentation/API updates?

查看:32
本文介绍了在下载文档/API 更新之前,有没有办法让 XCode 询问?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

默认情况下,XCode 设置为下载与应用程序可用的各种文档和 API 库相关的更新.此可以从 XCode 首选项屏幕禁用.但是,我不想禁用自动更新,而是提示我开始更新,以便我可以在以后关闭它们以供下载.

By default, XCode is setup to download updates associated with the various documentation and API libraries available to the application. This can be disabled from the XCode preferences screen. However, I'd prefer not to disable the automatic updates but, rather, prompt me to start the updates so that I can potentially dismiss them for download at a later time.

我的推理是因为我主要通过网络连接工作,该网络连接通过 4G 无线热点访问互联网,该热点受到超额费用的影响.事实上,我大约 90% 的时间都在使用 Mac 工作,通过此设备连接到互联网.当我需要下载任何形式的大型软件更新时,我总是将我的 Macbook 带到一个开放的、直接连接到互联网的源,让它做它需要做的事情.

My reasoning is because I primarily work through a network connection that gains access to the internet through a 4G wireless hotspot that gets hit by overage fees. In fact, I'm connected through this device, to the internet, about 90% of the time I'm working on my Mac. When I need to download any form of large software update, I always take my Macbook to an open, direct-connect source to the internet and let it do what it needs to do.

这适用于大多数软件,但不适用于 XCode.

This works fine for most software, but not XCode.

我希望我的更新保持自动状态(这样我至少会被告知有可用更新),但是,我希望可以选择是否启动它们.

I want my updates to remain automatic (so that I am at least informed that there is an update available,) however, I'd like to have the choice whether to initiate them or not.

有什么办法可以让 XCode 在下载前询问吗?

Is there something that I can do to make XCode ask before downloading?

快速说明

我知道我们有技术头脑的人是怎样的——你们中有一半人仍然想知道为什么我在 4G 热点上工作并想要解决这个问题,而不是我问的那个.(是的,我也倾向于这样想.)

I know how we technical minded folk are-- half of you are still wondering why I work off of a 4G hotspot and want to fix that problem, instead of the one I asked. (Yes, I tend to think this way too.)

但是,我在一个 IT 部门的环境中工作,该部门坚决拒绝允许除 Win XP 和 Win 7 之外的任何操作系统进入他们的网络.工程团队(我为之工作)必须有互联网连接和用于存储和备份数据的内部网络,我们正在开发与我们的产品集成的 iOS 软件.这显然是有问题的,因为我们需要使用 Macbook 来完成我们的工作.

However, I work in an environment that has an IT department that adamantly refuses to allow any operating systems, other than Win XP and Win 7, onto their network. The Engineering team (which I work for) has to have an internet connection and an internal network for storing and backing up data and we are developing iOS software that is integrated with our products. This is obviously problematic since we need to use Macbooks to do our work.

我们解决这个困境的方法是建立我们自己的小型 LAN,我们访问互联网的唯一方法是通过蜂窝 WiFi.我们地区提供的所有 WiFi ISP 计划都是基于层级的,当我们使用的数据超过分配的数据时,将收取超额费用(以合理的费率).我们不介意超过我们的配额,但是,我们需要保持合理.当我们中的一些人每个月必须下载几 GB 的数据时,像这样的自动更新可能会开始对我们的网络造成巨大打击.

Our solution to this dilemma has been to setup our own, small LAN and our only way of getting internet access is through cellular WiFi. All WiFi ISP plans that are available in our region are tier-based and overages are charged (at a reasonable rate) when we use more than our allotment of data. We don't mind going over our quota, however, we need to keep it reasonable. Automatic updates like this can start to take a huge hit on our network when a few of us have to download a few GBs of data each month.

推荐答案

LittleSnitch 之类的软件 可能是最好的解决方案(防火墙).
如果 Xcode 尝试自我更新,则会显示下面的对话框.
现在您可以简单地AllowDeny 连接.
这样您就可以准确地控制所有连接(以及您的隐私).
其他应用程序也可能消耗相当多的带宽.

Software like LittleSnitch might be the best solution (firewall).
In case Xcode tries to update itself, the dialog below shown.
Now you can simply Allow or Deny the connection.
This way you can accurately control all connections (and your privacy).
Other applications might also consume quite some bandwidth.

附注
为什么不将便宜的 XP 盒连接到网络,
哪个与所有 Mac 共享互联网连接?

这篇关于在下载文档/API 更新之前,有没有办法让 XCode 询问?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆