How to build to iOS- getting errors

I have High Sierra 10.13 and Version 9.1 (9B55).
I ran the command openfl test ios.
It took a very long time and then said :

1 error generated.
make: *** [build-haxe-armv7] Error 1


The following build commands failed:
ExternalBuildToolExecution Build\ Haxe
(1 failure)

it took about 30 minutes at least is that normal ?

I also opened the created xcode project and tried to build from there and got an error also.
it said:
build haxe 1 issue
Error: /usr/local/lib/haxe/lib/hxcpp/3,4,188/src/hx/libs/std/Sys.cpp:271:17: error: call to unavailable function ‘system’: not available on iOS

I believe it’s this fix:

I don’t think there’s been a release since

1 Like

that did the trick! thank you so much

1 Like