Tried compiling for tvOS but got posix_spawn error
Hi,
I tried compiling ASU for tvOS but unfortunately I got this error
pkg-actions.m:31:2: error: 'posix_spawn' is unavailable: not available on tvOS posix_spawn(&pid, args[0], NULL, NULL, (char* const*)args, NULL); ^ /my/sdk/folder/sdks/AppleTVOS13.4.sdk/usr/include/spawn.h:60:9: note: 'posix_spawn' has been explicitly marked unavailable here int posix_spawn(pid_t * __restrict, const char * __restrict, ^ 1 error generated.
I did fix this issue with my iOS sdks but can't remember where or how I fixed it as it was going back a year or so ago. if you're able to help that would be greatly appreciated :)
Edit: I was able to get it to create a Deb and install perfectly fine. The only way I was able to build a Deb was to use the command "make -i package" as that ignore any errors. It may not be the safest idea but it works. I was able to test it by sideloading a Kodi ipa
Have you tried compiling with a patched tvOS SDK? The official SDK has some functions banned and has to be modified.
It usually works fine after you remove the function prohibitions or use theos (https://github.com/theos/theos) instead.
Some SDKs and creation instructions for a more up to date one are at https://github.com/theos/sdks