Skip to content
This repository has been archived by the owner on Jan 4, 2020. It is now read-only.

"illegal hardware instruction" error message when try to edit a script #185

Open
maximkhatskevich opened this issue Sep 9, 2018 · 0 comments

Comments

@maximkhatskevich
Copy link

It happens when I have a 'Marathonfile' in the root folder and that file contains references to a local folder or another script.

For example, if I have Setup.swift script and no Marathonfile at all, when I call

marathon edit Setup.swift

it opens Xcode as expected.

If I add a URL into Marathonfile like this:

https://github.com/JohnSundell/Files.git

and then call

marathon edit Setup.swift

it opens Xcode as expected, no problem.

BUT if I add references to a folder (with valid package, in the example below current folder contains package) or reference to another (existing!) swift file in the same folder like shown below:

https://github.com/JohnSundell/Files.git
./
AnotherScript.swift

when I run

marathon edit Setup.swift

I get a very weird message like following:

[1]    10603 illegal hardware instruction  marathon edit Setup.swift

NOTE, that the 5-digit number is always different, but the following message is always the same.

If I remove references to local files - everything starts working again.

Any ideas what's going on and how to fix? Thanks!

maximkhatskevich added a commit to XCEssentials/RepoConfigurator that referenced this issue Sep 16, 2018
Implemented config scrip using pure SPM in a subfolder, because Marathon doesn’t support properly local dependencies.
JohnSundell/Marathon#185
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant