Post

Replies

Boosts

Views

Activity

Reply to Mac Catalyst App can't launch, reason: Library not loaded: /usr/lib/libc++.1.dylib
@DTS Engineer Thanks for your help. Your crash report is similar to mine, except for the name of the dynamic library. In addition, I don't understand what will cause the App to be launched in the Rosetta environment? Generally, users don't know what Rosetta is, and usually open the App by double-clicking it, not right-clicking it to open it in Rosetta. My user said that everything was normal in recent days, and he couldn't reduce the crash. I don't understand why this problem is sometimes good and sometimes bad? Is it possible that it is a bug in macOS, or that the dynamic library cache sometimes has problems?
Topic: App & System Services SubTopic: Core OS Tags:
May ’25
Reply to Mac Catalyst App can't launch, reason: Library not loaded: /usr/lib/libc++.1.dylib
[quote='841012022, DTS Engineer, /thread/785083?answerId=841012022#841012022'] My immediate suggestion is that you ask them to check the state of the Open Using Rosetta checkbox [/quote] I checked and my app doesn't have the "Open using Rosetta" option. I don't know why. Safari does. Please see the screenshot. I also confirmed with the user that he always double-clicks to launch the app and has never changed the Rosetta-related configuration. He can't launch it again today, and he is reinstalling macOS out of helplessness.
Topic: App & System Services SubTopic: Core OS Tags:
May ’25
Reply to Mac Catalyst App can't launch, reason: Library not loaded: /usr/lib/libc++.1.dylib
Emm... Sorry, I made a mistake earlier. My app does only support Intel chips (maybe it's the default setting of Catalyst compilation?) And my app can only be started in the Rosetta environment. However, most users can start it normally, and only a few users occasionally encounter the problem of libc++.1.dylib not found. So, it may be that the Rosetta environment is not stable?
Topic: App & System Services SubTopic: Core OS Tags:
May ’25
Reply to Mac Catalyst App can't launch, reason: Library not loaded: /usr/lib/libc++.1.dylib
[quote='841144022, DTS Engineer, /thread/785083?answerId=841144022#841144022'] You really should have native Apple silicon support [/quote] OK, thank you very much for your help. I checked my project configuration and it seems to be fine. I don't know why it only builds the x86-64 architecture. I will continue to find how to make this catalyst application support both Intel and Apple chips. Thank you.
Topic: App & System Services SubTopic: Core OS Tags:
May ’25