akemin-dayo / simject

simject is a command-line tool and iOS dynamic library that allows developers to easily test their tweaks on the iOS Simulator.
BSD 2-Clause "Simplified" License
486 stars 55 forks source link

error while running `make all` : 'system' is unavailable: not available on iOS #87

Open omkarpg-maai opened 1 month ago

omkarpg-maai commented 1 month ago

full error while running make all :

resim.mm:56:15: error: 'system' is unavailable: not available on iOS
        int status = system(cmd);
                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/include/stdlib.h:184:6: note: 'system' has been explicitly marked unavailable here
int      system(const char *) __DARWIN_ALIAS_C(system);
         ^
1 error generated.
make[1]: *** [build] Error 1
make: *** [all] Error 2

has anyone faced this issue before ?