I’ve tried to compile using this command line: openfl test ios -v
Before I updated Xcode to 9 the compilation was working (I could get my game starting on the simulator)
But since I’m on MacOS High Sierra with the last version of XCode I got this error:
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
int result = system(cmd.__s);
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/usr/include/stdlib.h:195:6: note: candidate function has been explicitly made unavailable
int system(const char *) __DARWIN_ALIAS_C(system);
1 error generated.
make: *** [build-haxe-armv7] Error 1
I found what seems to be a similar issue raised on flixel:
As my iphone 6 is runing iOS 11 I need the last Xcode to be able to test/debug my game on it.