SOLVED - Mac "strip" command issue

Hey, been using OpenFL/Haxe for about a month now. Fun stuff, but I’m running into an issue. I have been able to compile to the “mac” target on one machine (a MacBook Air), but not the other (a MacBook pro). Both are running 10.14.6 Mojave.

The issue I’m running into is, where the Air will compile the code with no issues, but the Pro fails on linking ApplicationMain in the hxcpp process:

strip: invalid option -- u

Anyone ever run across this issue? Anyone know how to solve it? I couldn’t find any info in Google.

Figured it out! The location of “strip” was wrongly being used from /usr/local/opt/binutils/bin instead of the XCode Library stuff. Once I removed that path, all was well again.

1 Like