Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with Tiger 386 #32

Open
shiypc opened this issue Feb 13, 2024 · 2 comments
Open

Issues with Tiger 386 #32

shiypc opened this issue Feb 13, 2024 · 2 comments

Comments

@shiypc
Copy link

shiypc commented Feb 13, 2024

I'm using a Core 2 Duo Late 2007 MacBook Pro with Mac OS X 10.4.11 installed. Discord Lite will crash upon launch with the following error.

dyld: Library not loaded: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
  Referenced from: /Applications/Discord Lite.app/Contents/MacOS/Discord Lite
  Reason: no suitable image found.  Did find:
        /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation: no matching architecture in universal wrapper
        /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation: no matching architecture in universal wrapper
Trace/BPT trap
logout
[Process completed]

A workaround is to run the app using PPC Rosetta, however performance is bad and eventually becomes entirely unusable, where Discord will hang indefinitely on an empty screen with no servers or channels.

Edit: These issues are not present in Snow Leopard where DIscord Lite can run in native AMD64 mode.

@dosdude1
Copy link
Owner

dosdude1 commented Aug 8, 2024

Intel Tiger uses some weird load commands I haven't been able to figure out how to properly incorporate into an executable, so unfortunately it doesn't work natively there. But this is not an issue with Intel 10.5 and later.

@dosdude1
Copy link
Owner

This should now be resolved, though for 10.4 will require thinning the FAT binary to be i386-only using Lipo. You can do so by executing the following on a machine that has Xcode command-line tools installed: lipo -thin i386 Discord\ Lite.app/Contents/MacOS/Discord\ Lite -output Discord\ Lite.app/Contents/MacOS/Discord\ Lite

Or of course you can build it from source for i386 only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants