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

Makefile:4: /makefiles/common.mk: No such file or directory Catalina #51

Closed CobreDev closed 4 years ago

CobreDev commented 4 years ago

When I try to install Simject on macOS Catalina, it says this:

Makefile:4: /makefiles/common.mk: No such file or directory
Makefile:10: /tool.mk: No such file or directory
make[1]: *** No rule to make target `/tool.mk'.  Stop.
make: *** [clean] Error 2

I'm not sure if this is a problem caused by running Xcode 10 instead of 11, but that wouldn't make very much sense. Thanks

PoomSmart commented 4 years ago

You need to define $THEOS variable.

https://github.com/theos/theos/wiki/Installation-macOS (Step 2)

CobreDev commented 4 years ago

I have tried. I uninstalled and reinstalled Theos even.

On Nov 10, 2019, at 3:13 AM, Thatchapon Unprasert notifications@github.com wrote:

Closed #51 https://github.com/angelXwind/simject/issues/51.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/angelXwind/simject/issues/51?email_source=notifications&email_token=AIXBI6NJWHXAX6QQHOHVCCDQS67CNA5CNFSM4JLJRIX2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUYGLOBI#event-2785851141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIXBI6MK3EZUJFZNPAPGDOTQS67CNANCNFSM4JLJRIXQ.

PoomSmart commented 4 years ago

What's the output of echo $THEOS from your Terminal?

CobreDev commented 4 years ago

$ echo $THEOS

$

I'm not sure why it's blank, I think Catalina broke something

lucaIz-ldx commented 4 years ago

Did you change default shell to zsh in Catalina? If true, try "echo "export THEOS=~/theos" >> ~/.zprofile"

CobreDev commented 4 years ago

@lucaIz-ldx it doesn't visually output anything. Is it supposed to?

Edit: I'm stupid. It worked fine in a new window. Thanks!

lucaIz-ldx commented 4 years ago

@mac-user669 No. Restart terminal and run "echo $THEOS" should output "/Users/XXX/theos". I also got this problem after change default shell to zsh in Catalina.

CobreDev commented 4 years ago

Check the edit

On Nov 19, 2019, at 2:06 PM, lucaIz-ldx notifications@github.com wrote:

@mac-user669 https://github.com/mac-user669 No. Restart terminal and run "echo $THEOS" should output "/Users/XXX/theos". I also got this problem after change default shell to zsh in Catalina.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/angelXwind/simject/issues/51?email_source=notifications&email_token=AIXBI6IR7CLQCEEI25IBWKLQUQ2MTA5CNFSM4JLJRIX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEPLQ2Y#issuecomment-555661419, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIXBI6IOYKXVJZ2QWKNLZJLQUQ2MTANCNFSM4JLJRIXQ.