kiding/SokIM

입력 모니터링 권한 허용 확인 못하는 문제

teslamint opened this issue · 2 comments

입력 모니터링 권한을 허용해도 앱에서 확인이 안되고 있어 키 입력이 안되는 상황입니다.

2022-12-31 12:31:56.836 Db SokIM[29780:74a9b] SokIM/InputMonitor.swift: start()
2022-12-31 12:31:56.836 E  SokIM[29780:74a9b] [com.apple.iohid:default] 0x1000009dd: TCC deny IOHIDDeviceOpen
2022-12-31 12:31:56.836 E  SokIM[29780:74a9b] [com.apple.iohid:default] 0x1000009dd: TCC deny IOHIDDeviceOpen
2022-12-31 12:31:56.836 I  SokIM[29780:74a9b] [com.apple.iohid:default] Failed to create IOHIDQueue plugin result: 0x10000003
2022-12-31 12:31:56.837 Db SokIM[29780:74a9b] [com.apple.defaults:User Defaults] looked up value <private> for key Debug in CFPrefsPlistSource<0x6000016a5600> (Domain: com.kiding.inputmethod.sok, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No) via CFPrefsSearchListSource<0x6000016acc00> (Domain: com.kiding.inputmethod.sok, Container: (null))
2022-12-31 12:31:56.838 Db SokIM[29780:74a9b] SokIM/InputMonitor.swift: description -536870174
2022-12-31 12:31:56.839 E  SokIM[29780:74a9b] SokIM/AppDelegate.swift: startMonitor() 입력 모니터링 권한을 허용해 주세요.
2022-12-31 12:31:56.840 Db SokIM[29780:74a9b] [com.apple.defaults:User Defaults] looked up value <private> for key Debug in CFPrefsPlistSource<0x6000016a5600> (Domain: com.kiding.inputmethod.sok, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No) via CFPrefsSearchListSource<0x6000016acc00> (Domain: com.kiding.inputmethod.sok, Container: (null))
2022-12-31 12:31:56.840 Db SokIM[29780:74a9b] SokIM/StatusBar.swift: setStatus(_:)
2022-12-31 12:31:56.841 Db SokIM[29780:74a9b] [com.apple.defaults:User Defaults] looked up value <private> for key Debug in CFPrefsPlistSource<0x6000016a5600> (Domain: com.kiding.inputmethod.sok, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No) via CFPrefsSearchListSource<0x6000016acc00> (Domain: com.kiding.inputmethod.sok, Container: (null))
2022-12-31 12:31:56.841 Db SokIM[29780:74a9b] SokIM/InputMonitor.swift: description -536870174
2022-12-31 12:31:56.841 Db SokIM[29780:74a9b] [com.apple.defaults:User Defaults] looked up value <private> for key Debug in CFPrefsPlistSource<0x6000016a5600> (Domain: com.kiding.inputmethod.sok, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No) via CFPrefsSearchListSource<0x6000016acc00> (Domain: com.kiding.inputmethod.sok, Container: (null))
2022-12-31 12:31:56.841 Db SokIM[29780:74a9b] SokIM/StatusBar.swift: setMessage(_:)
2022-12-31 12:31:57.844 Db SokIM[29780:74a9b] [com.apple.defaults:User Defaults] looked up value <private> for key Debug in CFPrefsPlistSource<0x6000016a5600> (Domain: com.kiding.inputmethod.sok, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No) via CFPrefsSearchListSource<0x6000016acc00> (Domain: com.kiding.inputmethod.sok, Container: (null))
2022-12-31 12:31:57.844 Db SokIM[29780:74a9b] SokIM/AppDelegate.swift: startMonitor()
2022-12-31 12:31:57.844 Df SokIM[29780:74a9b] SokIM/AppDelegate.swift: startMonitor() 모니터 시작 중...
2022-12-31 12:31:57.844 Db SokIM[29780:74a9b] [com.apple.defaults:User Defaults] looked up value <private> for key Debug in CFPrefsPlistSource<0x6000016a5600> (Domain: com.kiding.inputmethod.sok, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No) via CFPrefsSearchListSource<0x6000016acc00> (Domain: com.kiding.inputmethod.sok, Container: (null))

앱 서명이 되어 있지 않아 권한 부분이 다소 이상하게 작동하고 있습니다. 이 부분은 애플 개발자 계정 구매 후 패키지 서명하면 기대하는대로 작동할 걸로 예상하고 있습니다.

README.md를 따라 앱을 직접 시스템 설정에 드래그 앤 드랍 (이미 있는 경우 - 버튼을 눌러 삭제 후) 해주시면 해결됩니다.

네, 개발 인증서로 사이닝하니까 잘 되네요.