每次打開Xcode都顯示“developer tools access needs to take control of another process for debugging to continue”,如何關閉呢?

Shin Chao
Shin Chao
Nov 2 · 2 min read

重新安裝作業系統後,每次開起Xcode都會跳出一個訊息,要我輸入登入的帳號密碼,所以覺得特別麻煩,因此上網研究了一下,要如何關閉這個訊息呢?原來是要變成開發者模式。

其實滿簡單的,就是必須叫出Terminal,使用輸入指令的方式來開啟開發者模式。

Step1: 點選Lanchpad →Other →Terminal

Step2: 在Terminal上輸入“DevToolsSecurity -enable”,按下Enter。

Step3: 因為要變更權限,所以這時會跳出要輸入帳號密碼的畫面。

Step4: 輸入完帳號密碼,按下Enter,就會顯示Developer mode is now enabled.,這樣就開啟了開發者模式,這樣之後開啟Xcode就不須要再輸入帳號密碼了。

彼得潘的 Swift iOS App 開發教室

學習 Swift iOS App 開發的學生作品集

    Shin Chao

    Written by

    Shin Chao

    彼得潘的 Swift iOS App 開發教室

    學習 Swift iOS App 開發的學生作品集

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade