Rednick16 / libSupport

libSupport is like a toolbox for tinkering with apps. It's a dynamic library that lets you mess around with how different parts of an app work.
45 stars 8 forks source link

Missing Static Directory #8

Open randommodder11 opened 1 year ago

randommodder11 commented 1 year ago

When building the source on theos for computer (MOBILE_THEOS = 0), the following error appears:

ld: warning: directory not found for option '-L./support/static' ld: warning: directory not found for option '-L../support/static' ld: library not found for -lSupport clang: error: linker command failed with exit code 1 (use -v to see invocation)

in the support folder, there is no file or folder named static, which i believe is what Theos is looking for.

When setting MOBILE_THEOS to 1, when on computer, the package builds however the file size is only 700 bytes and does not contain any plist or dynamic library inside of it. Unless there is something I'm missing, there appears to be no real way to build the source code provided. @Rednick16

Rednick16 commented 1 year ago

Iv decided not to use the static lib atm to many issues theos just doesn’t work.

I am searching for a better solution to this atm, use MOBILE_THEOS=1 after building use sideloadly inject libSupport and ur hack.

About the there is no way to compile it I assume you successfully compiled it the library was only used to link now copy the compiled target.dylib & libSupport.dylib to ur Frameworks folder just use sideloadly to inject it.