Error: call to unavailable function 'system' IOS


Hello I had this error when compiling my project with the new version of haxe, someone knows how to fix it?

error ios


i have the lastest haxe, lime and openfl what can be the problem?


It’s an Xcode 9 problem, patched in HXCPP, but unreleased (as of writing)


then it’s just waiting for them to fix that detail, right?


You can apply this patch manually to your own copy of HXCPP, or use haxelib git to install the GIT version


it work’s thanks :smiley: :smiley: :smiley:


Is this issue fixed ?
my hxcpp version is 3,4,188 ( latest version for now)
I have the same error :

Build Haxe 1 issue
Shell Script Invocation Error
Call to unavailable function ‘system’:not available on ios Sys.cpp

If not fixed , how to patch manually ? download from github and replace 3,4,188 folder ?


Just figured It out
to fix it , replace the git version with current latest version , and cd tools/hxcpp haxe compile.hxml to build hxcpp before you can use the git verison

thanks to this thread and singmajesty