Can't profile on M1 mac
已回答
I've got a CMake based C project that I'm trying to profile. On my intel based 2019 iMac the profiler runs fine, but when I try to do the exact same thing on my M1 MacBook Air I get the following error:
dyld: could not load inserted library '/Applications/CLion.app/Contents/lib/profiler/macosx/libosx-starter.dylib' because no suitable image found. Did find:
/Applications/CLion.app/Contents/lib/profiler/macosx/libosx-starter.dylib: mach-o, but wrong architecture
/Applications/CLion.app/Contents/lib/profiler/macosx/libosx-starter.dylib: stat() failed with errno=1
Debugger and normal running works just fine.
请先登录再写评论。
Were you able to find a work around? I'm having the same issue.
It's https://youtrack.jetbrains.com/issue/CPP-23530, sorry for the inconvenience. Feel free to comment or upvote the issue in order to get updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.