Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot compile at xcode 9 #490

Closed
d0uub opened this issue Nov 2, 2017 · 5 comments
Closed

cannot compile at xcode 9 #490

d0uub opened this issue Nov 2, 2017 · 5 comments

Comments

@d0uub
Copy link

d0uub commented Nov 2, 2017

system is unavailable : not available on iOS

@ghost
Copy link

ghost commented Nov 7, 2017

Having this issue too.

@jairsinho
Copy link

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
Copy link

novadoge commented Feb 3, 2019

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
Copy link

Bluelich commented Aug 30, 2019

@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
Copy link
Author

d0uub commented Aug 30, 2019

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

@d0uub d0uub closed this as completed Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants