Created
October 24, 2017 01:03
-
-
Save pkamb/e0b5bf90e45cad714588feaf14eba523 to your computer and use it in GitHub Desktop.
rdar://21376114 - Custom input method app is added to Keyboard Input selector hundreds of times.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rdar://21376114 | |
# Custom input method app is added to Keyboard Input selector hundreds of times. [`NumberInput` sample code] | |
Summary: | |
Custom input method app is added to Input selector hundreds of times. | |
<bug report here> | |
Apple Developer Relations | |
June 17 2015, 12:14 PM | |
Engineering has provided the following feedback regarding this issue: | |
If you are laying down 2 copies of NumberInput IM in both /Library/Input Methods/ & ~/Library/Input Methods/, with both having the same bundleID, that is undefined behavior. | |
Probably you should make them distinct IMs, but I’m unclear why you would want both for Dev purposes. | |
And a logout after installing an InputMethod is standard procedure. | |
However, for Development, I routinely ‘ditto’ my build/Debug bits into the InputMethod: | |
$ sudo ditto ./build/Debug/NumberInput.app /Library/Input\ Methods/NumberInput.app | |
$ killall -9 NumberInput | |
# -9 (SIGKILL) is required, otherwise running apps will refuse to talk to your input method, considering it to have died “abnormally”. | |
You’ve probably figured out that InputMethod development is easiest with a 2nd machine for remote debugging (I use LLDB), rather than inside Xcode on the same machine. | |
Please let us know whether the issue is resolved for you by updating your bug report. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment