Swift installation error on Ubuntu 14.04(32 bit installation) - 64bit Machine

I have followed steps specified here

When I try to run command

swift --version

It throws error

bash: /home/dhiraj/swift2/usr/bin/swift: cannot execute binary file: Exec format error

how to resolve this?

1

1 Answer

To date, Swift is only available for 64-bit systems. You are running on 32-bit, as is visible from your error.

Currently, you have three options:

  • Install a 64-bit distribution;
  • Buy a 64-bit PC;
  • Wait for Apple to release a 32-bit version.

I'd probably opt for the 64-bit choice...

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like