Closed jobsgonnawork closed 2 months ago
Did you make sure to clone the repo with --recurse-submodules
?
Check the ./modules/libflex/FLEX
directory and make sure it's not empty.
Same issue here: (i did clone using --recurse-submodules)
Same issue here: (i did clone using --recurse-submodules)
Could you check the ./modules/libflex/FLEX directory and make sure it's not empty.
The /modules/libflex/FLEX directory is not empty
Which version of macOS, Xcode build tools, theos and gnu make are you running?
If you could run these commands and post the results that'd be great.
xcode-select --version
cd $THEOS && git rev-parse --short HEAD
make --version
Here you go
MacOS = 11.7.5 Xcode build tools = 2384 Theos = a55932f GNU = 3.81
Looks like your mac is using GNU make provided by macOS (which hasn't been updated since 2006 because of copyright things).
This article covers how to switch to a newer version of make: https://theos.dev/docs/parallel-building
Essentially:
brew install make
echo PATH=\"$(brew --prefix make)/libexec/gnubin:\$PATH\" >> ~/.zprofile
Try this out and attempt to build it again. Feel free to tell me how it goes, so I can update the documentation if this is what fixes it!
Alright, I've managed to resolve the issue with compiling libFLEX. It turned out that there were errors stemming from conflicting SDK versions—specifically, I had SDK 17.4 conflicting with 16.1. Removing these conflicting SDKs allowed libFLEX to compile perfectly, even with an older GNU version.
So the ipa has been generated successfully
Glad it worked out in the end!
@jobsgonnawork try removing any conflicting sdks to see if that fixes your problem as well!
Yeah just remove all the sdks (you can re add them later) from ios 16.0-17.4 this should fix
I had the same problem and I don't see libflex
make invocation in build.sh
. I had to do this:
cd modules/libflex
make
before ./build.sh
to make it work. For developer: probably you would need to test build.sh
on clean git clone
and fix build scripts.
I had the same problem and I don't see
libflex
make invocation inbuild.sh
. I had to do this:cd modules/libflex make
before
./build.sh
to make it work. For developer: probably you would need to testbuild.sh
on cleangit clone
and fix build scripts.
exactly what i mentioned in my PR. SUBPROJECTS
is being used incorrectly, i don't know how it would work without doing those steps.
Fixed as of the most recent commit.
Thanks @asdfzxcvbn :)