cannot compile at xcode 9
d0uub opened this issue · comments
system is unavailable : not available on iOS
Having this issue too.
You can replace system call with popen, e.g. instead of using:
system("killall -9 cfprefsd");
use:
popen("killall -9 cfprefsd", "r");
Hope it helps!
could also modify stdlib.h
in your sdk and remove __IOS_PROHIBITED
system()
is still a valid call in iOS 11+, just doesn't exist in tvOS
@d0uub just get the function pointer before the app lanuched.
For example you can have a look of my fork https://github.com/Bluelich/yalu102