NyaMisty / ssl-kill-switch3

Next Generation SSLKillSwitch with much more support!
Other
426 stars 52 forks source link

Doesn't build? #9

Closed bensh closed 8 months ago

bensh commented 8 months ago

Grabbed the code via download as .zip

Build as a ROOTFUL Substrate Tweak
==> Notice: Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://theos.dev/docs/parallel-building
==> Warning: Building for iOS 9.0, but the current toolchain can’t produce arm64e binaries for iOS earlier than 14.0. More information: https://theos.dev/docs/arm64e-deployment
> Making all for tweak SSLKillSwitch2…
Build as a ROOTFUL Substrate Tweak
Build as a ROOTFUL Substrate Tweak
Build as a ROOTFUL Substrate Tweak
==> Linking tweak SSLKillSwitch2 (arm64)…
ld: warning: -multiply_defined is obsolete
ld: warning: ignoring duplicate libraries: '-lc++'
ld: building for 'iOS', but linking in dylib (/private/var/theos/vendor/lib/CydiaSubstrate.framework/CydiaSubstrate.tbd) built for 'iOS-simulator'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/ben/Downloads/ssl-kill-switch3-release/.theos/obj/debug/arm64/SSLKillSwitch2.dylib] Error 1
make[2]: *** [/Users/ben/Downloads/ssl-kill-switch3-release/.theos/obj/debug/arm64/SSLKillSwitch2.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [SSLKillSwitch2.all.tweak.variables] Error 2
NyaMisty commented 8 months ago

Not my fault. You have a problematic toolchain. Unless the Github CI fails, you should find your own problem first

bensh commented 8 months ago

Aye, will put it down to bad coding.