Skip to content
Guest Big Announcement

error:symbol(s) not found for architecture arm64

Featured Replies

 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

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.

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

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.