Jump to content

Compiling with Theos Error


Go to solution Solved by EricLegend,

6 posts in this topic

Recommended Posts

Posted

Hello, after installing Kirb's Theos using this tutorial https://iosgods.com/topic/18345-tutorial-how-to-setupinstall-kirbs-theos-on-your-idevice/ I am getting this error when compiling. This code worked fine when I was on 9.0.2 using the original those I can't get the original these to compile anymore. So I stuck with Kirb's, Anyone have any idea how to fix this? Here is my Make File Also.

 

Error:

 [0;33m==>  [1;39mLinking tweak Kik8 (armv7)? [m
Undefined symbols for architecture armv7:
  "_LCPParseColorString", referenced from:
      _logos_method$_ungrouped$KikIncomingTextMessageCell$setupSubviews(KikIncomingTextMessageCell*, objc_selector*) in Tweak.xm.e9b866a7.o
      _logos_method$_ungrouped$KikOutgoingTextMessageCell$setupSubviews(KikOutgoingTextMessageCell*, objc_selector*) in Tweak.xm.e9b866a7.o
      _logos_method$_ungrouped$KikOutgoingTextMessageCell$updateSubviews(KikOutgoingTextMessageCell*, objc_selector*) in Tweak.xm.e9b866a7.o
      _logos_meta_method$_ungrouped$BubbleColors$colorHexFromColorEnum$(objc_class*, objc_selector*, long long) in Tweak.xm.e9b866a7.o
      ____ZL73_logos_method$_ungrouped$KESettingsViewController$generateSettingsOptionsP24KESettingsViewControllerP13objc_selector_block_invoke in Tweak.xm.e9b866a7.o
      ____ZL73_logos_method$_ungrouped$KESettingsViewController$generateSettingsOptionsP24KESettingsViewControllerP13objc_selector_block_invoke.1609 in Tweak.xm.e9b866a7.o
  "_OBJC_CLASS_$_PFColorAlert", referenced from:
      objc-class-ref in Tweak.xm.e9b866a7.o
ld: symbol(s) not found for architecture armv7
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/var/mobile/K10/.theos/obj/debug/armv7/Kik8.dylib] Error 1
make[2]: *** [/var/mobile/K10/.theos/obj/debug/armv7/Kik8.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [Kik8.all.tweak.variables] Error 2

Make file: 

TARGET = iphone::8.1
THEOS_PACKAGE_DIR_NAME = debs
ARCHS = armv7 arm64
ifndef BAILEYSMACBOOK # define in shell profile if using a diff theos env
	export THEOS=/private/var/theos
endif
include $(THEOS)/makefiles/common.mk

TWEAK_NAME = Kik8
Kik8_FILES = Tweak.xm UISwitchRedesign.xm
Kik8_FRAMEWORKS = UIKit CoreGraphics
# Kik8_LIBRARIES = colorpicker # Make sure to put the latest libcolorpicker.dylib from ios /usr/lib/libcolorpicker.dylib
PROJECTNAME_LDFLAGS += -Wl,-segalign,4000

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 Kik" # No Reason to kill SpringBoard since we're only injecting into kik

SUBPROJECTS += kik8sb
include $(THEOS_MAKE_PATH)/tweak.mk

Thank you. Have a good day/night.

Posted

Seems like you need to import libcolorpicker...properly?

  • Solution
Posted (edited)

Seems like you need to import libcolorpicker...properly?

Seems I didn't but after importing it correctly and putting the Dylib in its right place, the error still shows up :/

Updated by EricLegend
Posted

Seems I didn't but after importing it correctly and putting the Dylib in its right place, the error still shows up :/

 

Seems I didn't but after importing it correctly and putting the Dylib in its right place, the error still shows up :/

Have you read the documentation for it? Last I checked, it explained how to integrate it :)

Posted

Have you read the documentation for it? Last I checked, it explained how to integrate it :)

I used this one, http://git.pixelfiredev.com/pixelfire/libcolorpicker

I've always had problems when I tried to use Kirb's theos. What happens when you try compiling with the oroginal?

I can't remember it was too long ago, if I can't figure this out I'll reinstall that one.

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