Error: call to unavailable function 'system' IOS


#1

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

error ios


#2

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


#3

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


#4

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


#5

You can apply this patch manually to your own copy of HXCPP, or use haxelib git https://github.com/haxefoundation/hxcpp to install the GIT version


#6

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


#7

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 ?
Thanks


#8

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