"개발자 도구 액세스는 디버깅을 계속하려면 다른 프로세스를 제어해야합니다"경고 중지
최근에 10.7.3으로 업그레이드했으며 로그인 후 처음으로 시뮬레이터에서 iOS 프로젝트를 디버깅하려고하면 다음 두 가지 경고가 표시됩니다.
내 사용자는 관리자입니다. 나는 이러한 경고를 본 적이 없다. 그들이 어떻게 막을 수 있습니까?
편집하다
을 _developer
사용 하는 그룹 의 회원임을 확인했습니다 id -a
.
이것에 대한 훨씬 간단한 해결책이 있습니다. 다음 명령을 실행하십시오 :
sudo /usr/sbin/DevToolsSecurity --enable
개발자 모드 활성화 : 터미널에서 다음을 실행하십시오. DevToolsSecurity -enable
Zev Eisenberg의 답변에 따르면 Xcode 4.2.1을 다시 설치하면 효과가 있습니다. 그러나 /etc/authorization
다음과 같은 차이점으로 파일을 패치하는 것이 더 쉬울 수 있습니다 .
<key>system.privilege.taskport.debug</key>
<dict>
<key>allow-root</key>
<false/>
<key>class</key>
- <string>user</string>
+ <string>rule</string>
<key>comment</key>
<string>For use by Apple. WARNING: administrators are advised
not to modify this right.</string>
<key>default-button</key>
<dict>
...
</dict>
<key>default-prompt</key>
<dict>
...
</dict>
- <key>group</key>
- <string>_developer</string>
<key>shared</key>
<true/>
- <key>timeout</key>
- <integer>36000</integer>
+ <key>k-of-n</key>
+ <integer>1</integer>
+ <key>rule</key>
+ <array>
+ <string>is-admin</string>
+ <string>is-developer</string>
+ <string>authenticate-developer</string>
+ </array>
</dict>
10.7.3으로 업그레이드 한 후 Xcode 4.2.1을 다시 설치하면 문제가 해결 된 것 같습니다.
I modified the rule for system.privilege.taskport
and the alert doesn't show up anymore.
- Open the file
/etc/authorization
. - Find the rule
system.privilege.taskport
. Under the line<key>class</key>
, change<string>rule</string>
to<string>allow</string>
I had same issue with my mac 10.12.5 & Xcode9 Run this command :
sudo security authorizationdb write system.privilege.taskport allow
Then enter your password.. Check if it still prompt you. Good luck..
Something has been modified on file /etc/authorization, I've a Lion without v10.7.3 and it has the following code
Lines 5807-5814
<key>k-of-n</key>
<integer>1</integer>
<key>rule</key>
<array>
<string>is-admin</string>
<string>is-developer</string>
<string>authenticate-developer</string>
</array>
After the update the file contains many modification due to new language supported but the lines corresponding to debugging authorization differ from the lines shown above in
Lines 7675-7676
<key>group</key>
<string>_developer</string>
I can't apply these differences to my 10.7.3 Lion installation because it's a production machine and I can't risk to corrupt it
I've all necessasy permission as shown from command id -a
uid=501(dave) gid=20(staff) groups=20(staff),
401(com.apple.access_screensharing),
402(com.apple.sharepoint.group.1),
12(everyone),
33(_appstore),
61(localaccounts),
79(_appserverusr),
80(admin),
81(_appserveradm),
98(_lpadmin),
100(_lpoperator),
204(_developer)
I just turned debugging off in (edit scheme) -> uncheck debug executable. But I also do all of my debugging on another console, so if you are developing and need the debugger then it wont help. I only have this issue with an old version of Xcode 8.2.1 since I am running the code on an old Mac using El Capitan.
Newer mac and Xcode version 10 doesn't seem to have this issue.
no need code. no need reinstall xcode. Do these steps:
1.close xcode.
2.open Keychain access.
3.double click your Keychain(the key icon which create from keychain.p12)
4.go to access control panel(name maybe not right)
5.enable all app access this.
6.save.
7.run your xcode project.
8.it works well.
'IT story' 카테고리의 다른 글
jquery-ui 정렬 가능 | (0) | 2020.08.03 |
---|---|
Intellij IDEA, 프로젝트의 모든 코드 형식 (0) | 2020.08.03 |
numpy.histogram ()은 어떻게 작동합니까? (0) | 2020.08.03 |
Apple은 개인 API를 사용하고 있다는 것을 어떻게 알 수 있습니까? (0) | 2020.08.03 |
Amazon 용 AWS_ACCESS_KEY_ID를 어떻게 얻습니까? (0) | 2020.08.03 |