xcode prompt file is locked for editing doesn't remember Unlock choice after choosing “Do not show this message again”

萝らか妹 提交于 2020-01-23 14:14:06

问题


If I start typing in a readonly file in Xcode for the first time, I get prompted with a dialog that basically says the file is locked for editing, and asks me if I want to unlock it.

If I choose Unlock, I can continue editing the file. At one point, I got annoyed at this (as I will always want it to unlock), and so I clicked "Do not show this message again", with the expectation that it would remember my choice.

However, while I no longer get prompted, it also does not unlock the files anymore - it seems the default without being prompted is always "Don't Unlock".

Is there a way to automatically choose "Unlock" without being prompted every time?

(Bit of background - I'm using Perforce for source control, and have an Xcode Behavior script set up to check out files when they are unlocked based on http://kb.perforce.com/article/1735/automatically-checking-out-files-for-edit-in-xcode-43, since Xcode no longer integrates nicely with Perforce)


回答1:


It looks like the answer to this is "No".

The behavior (and wording used in the dialog) is not to remember your selection, but to simply not prompt you again (and not make any changes).




回答2:


go to xcode-> preferences-> General -> Dialog warnings reset



来源:https://stackoverflow.com/questions/11440544/xcode-prompt-file-is-locked-for-editing-doesnt-remember-unlock-choice-after-cho

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!