kpwn / yalu102

incomplete iOS 10.2 jailbreak for 64 bit devices by qwertyoruiopz and marcograssi
Do What The F*ck You Want To Public License
1.77k stars 554 forks source link

cannot compile at xcode 9 #490

Closed d0uub closed 4 years ago

d0uub commented 6 years ago

system is unavailable : not available on iOS

ghost commented 6 years ago

Having this issue too.

jairsinho commented 6 years ago

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!

novadoge commented 5 years ago

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

Bluelich commented 4 years ago

@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

d0uub commented 4 years ago

@bluelich Ok, thanks. Let me try later..