Jump to content

7 posts in this topic

Recommended Posts

Posted

 I receive an error when compiling

Undefined symbols for architecture arm64:

  "_MSFindSymbol", referenced from:

      DylibMain() in Tweak.xm.15e788ec.o

  "_MSHookFunction", referenced from:

      DylibMain() in Tweak.xm.15e788ec.o

ld: symbol(s) not found for architecture arm64

 

However, I search for the same error

tweak Makefile:

ARCHS = armv7 arm64
include theos/makefiles/common.mk
 
TWEAK_NAME = SimpsonsCheats
SimpsonsCheats_FILES = Tweak.xm
SimpsonsCheats_FRAMEWORKS = UIKit
 
include $(THEOS_MAKE_PATH)/tweak.mk
 
 
SUBPROJECTS += SimpsonsCheats
include $(THEOS_MAKE_PATH)/aggregate.mk
 

 

and patchers makefile

ARCHS = armv7 arm64

include theos/makefiles/common.mk
 
BUNDLE_NAME = SimpsonsCheats
SimpsonsCheats_FILES = SimpsonsCheats.mm
SimpsonsCheats_INSTALL_PATH = /Library/PreferenceBundles
SimpsonsCheats_FRAMEWORKS = UIKit
SimpsonsCheats_PRIVATE_FRAMEWORKS = Preferences
 
include $(THEOS_MAKE_PATH)/bundle.mk
 
internal-stage::
$(ECHO_NOTHING)mkdir -p $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences$(ECHO_END)
$(ECHO_NOTHING)cp entry.plist $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences/SimpsonsCheats.plist$(ECHO_END)
 

 

 

I also tried #include <UIKit/UIKit.h>

All tried, still error

Please help me

Posted

I receive an error when compiling

 

However, I search for the same error

tweak Makefile:

 

 

and patchers makefile

 

 

I also tried #include <UIKit/UIKit.h>

All tried, still error

 

Please help me

I have never seen this before, but maybe you could try this: http://iosgods.com/topic/1986-use-of-undeclared-identifier-msfindsymbol/#entry23807

 

Use that solution, don't scroll up.

 

Also make sure you have LD64 installed, otherwise, I have no idea what is going on.

Posted

I don't know either but having a look in your Tweak.xm could be helpful as it's the source of the issue

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines