mockolo icon indicating copy to clipboard operation
mockolo copied to clipboard

Invalid CPU type

Open pavm035 opened this issue 1 year ago • 1 comments

I have two issues to report

  1. When i try to use binary directly on Intel machine it's throwing Bad CPU type, After inspecting found that this binary is only arom64 compatible and missing x86 support, Would you please consider adding support that x86(intel) architecture?

  2. Try to build docker image from this source code but it failed due to one of the system framework os.signpost not available in docker image in linux machine

pavm035 avatar Jul 22 '22 05:07 pavm035

I also had the Bad CPU type error but building the binary on the local machine and using that build fixed this error for me. Following the below instructions mentioned in the Readme should help with it.

git clone https://github.com/uber/mockolo.git
cd mockolo
swift build -c release
.build/release/mockolo -h  // see commandline input options below

After running the above commands, you can copy the executable into your project folder or into your PATH environment.

mithatsk avatar Aug 12 '22 11:08 mithatsk

@pavm035 Sorry, this issue should have been fixed by #200 here, and I would like you to try again.

uhooi avatar Nov 23 '22 06:11 uhooi

  1. Maybe solved at #200.
  2. At 2.0.0, build on Linux are supported. Please try on it.

Please feel free to reopen this if you still have trouble.

sidepelican avatar May 19 '23 02:05 sidepelican