Apple Silicon support
See original GitHub issueHi, the plugin crash on new Apple Silicon SoC. Here is a log:
java.lang.UnsatisfiedLinkError: /Users/vico/Library/Caches/JetBrains/PhpStorm2020.3/tmp/jna4569697145745322662.tmp: dlopen(/Users/vico/Library/Caches/JetBrains/PhpStorm2020.3/tmp/jna4569697145745322662.tmp, 1): no suitable image found. Did find:
/Users/vico/Library/Caches/JetBrains/PhpStorm2020.3/tmp/jna4569697145745322662.tmp: no matching architecture in universal wrapper
/Users/vico/Library/Caches/JetBrains/PhpStorm2020.3/tmp/jna4569697145745322662.tmp: no matching architecture in universal wrapper
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2627)
at java.base/java.lang.Runtime.load0(Runtime.java:768)
at java.base/java.lang.System.load(System.java:1837)
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:947)
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:922)
at com.sun.jna.Native.<clinit>(Native.java:190)
at com.sun.jna.Pointer.<clinit>(Pointer.java:54)
at com.sun.jna.Structure.<clinit>(Structure.java:2131)
at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.RpcService.update(RpcService.kt:121)
at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.RpcService.update$default(RpcService.kt:77)
at com.almightyalpaca.jetbrains.plugins.discord.plugin.render.RenderService$render$2.invokeSuspend(RenderService.kt:75)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
java.lang.NoClassDefFoundError: Could not initialize class com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.connection.NativeRpcConnection
at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.RpcService.update(RpcService.kt:121)
at com.almightyalpaca.jetbrains.plugins.discord.plugin.rpc.RpcService.update$default(RpcService.kt:77)
at com.almightyalpaca.jetbrains.plugins.discord.plugin.render.RenderService$render$2.invokeSuspend(RenderService.kt:75)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
PC Info:
- MacBook Pro M1
- PHPStorm 2020.3
- MacOS Big Sur 11.0.1
Important note: I don’t have Rosseta installed since PHPStorm 2020.3 support natively Apple Silicon, I think this is the cause of the error: no matching architecture in universal wrapper
.
Thank you, if you need any more details, feel free to ask me.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:22 (11 by maintainers)
Top Results From Across the Web
Is Apple Silicon ready?
Application M1 optimized Rosetta 2 M1 Supported version
GitKraken ✓ ✓ 8.3.0
Whatsapp ⚠️ ✓ beta
Mac Mouse Fix ✓ ‑ 2.0
Read more >Mac computers with Apple silicon
Contact Apple Support. Need more help? Save time by starting your support request online and we'll connect you to an expert. Get started ......
Read more >Product Compatibility for Apple M1 Silicon Macs, Updated ...
ScopeBox 4.1 supports m1 Macs for all sources who have updated their driver support. This includes support for Blackmagic Design devices; UVC ...
Read more >Apple Silicon and Apple M2 and M1 Ultra app and game ...
Apps that are reported to support Apple Silicon · DisplayPilot · Logitech Presentation · G*Power · ClickShare · DADman · Aptakube · Schedulist...
Read more >Apple Silicon: The Complete Guide - MacRumors
The M1 Macs support USB 4 and Thunderbolt 3. Current Arm-Based Macs. Apple has released the 2020 MacBook Air, 13-inch MacBook Pro, and ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is now on stable v1.7.0 🥳
EAP version has just been approved 🎉