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

--arch=32 failed to switch (Mac) #17301

Closed
ghost opened this issue Oct 12, 2019 · 15 comments
Closed

--arch=32 failed to switch (Mac) #17301

ghost opened this issue Oct 12, 2019 · 15 comments
Labels

Comments

@ghost
Copy link

ghost commented Oct 12, 2019

So i wanted to open "Save wizard for PS4 Max" on my Mono on mac, but i'm always getting the error message

"Error: --arch=32 Failed to switch to '/Library/Frameworks/Mono.framework/Versions/Current/bin/mono32'."

I really, really need the help because i payed for the software.

Regards.

@jaykrell
Copy link
Contributor

jaykrell commented Oct 13, 2019

Try mono or mono64. Or try Windows or Linux or an older MacOS.
mono32 is probably a losing battle on Mac (against Apple).

@filipnavara
Copy link
Contributor

What version of macOS sre you running? macOS Catalina completely dropped support for 32-bit programs.

@directhex
Copy link
Contributor

macOS Catalina cannot run mono32, and will fail on the --arch=32 flag. Apple have entirely removed support for i386 apps.

@akoeplinger
Copy link
Member

Closing until we get more info about the macOS version.

@milefork
Copy link

I can answer it, because I've the same problem. Running Catalina(10.15)
Installed Mono Version: MonoFramework-MDK-6.4.0.198.macos10.xamarin.universal

➜ bin pwd
/Library/Frameworks/Mono.framework/Versions/Current/bin
➜ bin ./mono64 --arch=32
Error: --arch=32 Failed to switch to './mono32'.
➜ bin ./mono --arch=32
Error: --arch=32 Failed to switch to './mono32'.
➜ bin ./mono32
zsh: bad CPU type in executable: ./mono32
➜ bin uname -a
Darwin MacBook-Pro-Retina.local 19.0.0 Darwin Kernel Version 19.0.0: Wed Sep 25 20:18:50 PDT 2019; root:xnu-6153.11.26~2/RELEASE_X86_64 x86_64

@vargaz
Copy link
Contributor

vargaz commented Oct 31, 2019

32 bit mono will not run on catalina, apple removed 32 bit support.

@milefork
Copy link

So combined with this limitation here #6701 . There is no way to run Windows Forms apps on Catalina with mono?

@filipnavara
Copy link
Contributor

Correct.

@bogdandanielb
Copy link

Any update on this? Or it can be called the end of the WinForms era on MAC?

@jasthema
Copy link

uninstall mono via terminall:
sudo rm -rf /Library/Frameworks/Mono.framework
sudo pkgutil --forget com.xamarin.mono-MDK.pkg
sudo rm /etc/paths.d/mono-commands

dowload last version of mono:
https://www.mono-project.com/download/stable/

then go back on termial and type:
ln -sf /Library/Frameworks/Mono.framework/Commands/mono /usr/local/bin/mono

worked for me on catalina 10.15.2

@owlmylove
Copy link

hi guys, any updates on mono --arch=32 on Catalina for fiddler?

@lambdageek
Copy link
Member

lambdageek commented Feb 11, 2020

@owlmylove macos Catalina dropped support for 32-bit apps. mono --arch=32 will not and cannot work on Catalina.

@rapito
Copy link

rapito commented Nov 30, 2021

Bumping to see if there's any update about running windows forms apps with mono

@JoshuaGalindo
Copy link

Any updates? i'm having the same issue

@lambdageek
Copy link
Member

There is no update.

  1. 64-bit builds of Mono don't support WinForms
  2. Apple dropped support for 32-bit x86 apps years ago, so 32-bit Mono won't work on recent macOS.

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

No branches or pull requests