hi 我今天升级了 idea 的 2020.3 apple silicon 测试版 目前使用插件报错
错误信息如下:
java.lang.UnsatisfiedLinkError: Unable to load library 'input-source-switcher':
dlopen(libinput-source-switcher.dylib, 9): image not found
dlopen(libinput-source-switcher.dylib, 9): image not found
dlopen(/Users/Terry/Library/Frameworks/input-source-switcher.framework/input-source-switcher, 9): image not found
dlopen(/Library/Frameworks/input-source-switcher.framework/input-source-switcher, 9): image not found
dlopen(/System/Library/Frameworks/input-source-switcher.framework/input-source-switcher, 9): image not found
Native library (darwin-aarch64/libinput-source-switcher.dylib) not found in resource path (/Applications/IntelliJ
IDEA.app/Contents/lib/bootstrap.jar:/Applications/IntelliJ IDEA.app/Contents/lib/extensions.jar:/Applications/IntelliJ IDEA.app/Contents/lib/util.jar:/Applications/IntelliJ IDEA.app/Contents/lib/jdom.jar:/Applications/IntelliJ IDEA.app/Contents/lib/log4j.jar:/Applications/IntelliJ IDEA.app/Contents/lib/jna.jar)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:301)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:461)
at com.sun.jna.Native.register(Native.java:1722)
at com.sun.jna.Native.register(Native.java:1443)
at io.github.hadixlin.iss.mac.MacNative.<clinit>(MacNative.kt:9)
at io.github.hadixlin.iss.mac.MacInputMethodSwitcher.switchToEnglish(MacInputMethodSwitcher.kt:31)
at io.github.hadixlin.iss.SystemInputMethodSwitcher.switchToEnglish(SystemInputMethodSwitcher.kt:18)
at io.github.hadixlin.iss.InputMethodAutoSwitcher$focusListener$1$focusGained$
1.run(InputMethodAutoSwitcher.kt:137)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$
Worker.run(ThreadPoolExecutor.java:628)
at java.base/
java.lang.Thread.run(Thread.java:834)
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(libinput-source-switcher.dylib, 9): image not found
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:191)
... 10 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(libinput-source-switcher.dylib, 9): image not found
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:204)
... 10 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/Users/Terry/Library/Frameworks/input-source-switcher.framework/input-source-switcher, 9): image not found
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:248)
... 10 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/Library/Frameworks/input-source-switcher.framework/input-source-switcher, 9): image not found
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:248)
... 10 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/System/Library/Frameworks/input-source-switcher.framework/input-source-switcher, 9): image not found
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:248)
... 10 more
Suppressed: java.io.IOException: Native library (darwin-aarch64/libinput-source-switcher.dylib) not found in resource path (/Applications/IntelliJ
IDEA.app/Contents/lib/bootstrap.jar:/Applications/IntelliJ IDEA.app/Contents/lib/extensions.jar:/Applications/IntelliJ IDEA.app/Contents/lib/util.jar:/Applications/IntelliJ IDEA.app/Contents/lib/jdom.jar:/Applications/IntelliJ IDEA.app/Contents/lib/log4j.jar:/Applications/IntelliJ IDEA.app/Contents/lib/jna.jar)
at com.sun.jna.Native.extractFromResourcePath(Native.java:1095)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:275)
... 10 more