Jump to content

Stay Bizzy

Senior Member
  • Posts

    112
  • Joined

  • Last visited

Everything posted by Stay Bizzy

  1. @Fadexz @DiDA Right so this error ld: unexpected token: !tapi-tbd-v2 file '/var/mobile/test/theos/sdks/iPhoneOS10.1.sdk/usr/lib/libobjc.tbd' for architecture arm64 is because I had apples framework in with Theos so I deleted it all out then my tweaks started to compile - but - when I get the 2 files the .plist and .dylib and paste them to library then dynamiclibrarys then respringing then try the tweak and nothing is that because I have other tweaks installed ?? But I did delete some but still nothing lol and now when I run Theos command or "Theos" some reason I've lost my NIC bridge link up and get this Can't locate NIC/Bridge/Context.pm in @INC (you may need to install the NIC::Bridge::Context module) (@INC contains: /private/var/theos/bin/lib /usr/local/lib/perl5/site_perl/5.22.0/armv7-apple-darwin /usr/local/lib/perl5/site_perl/5.22.0 /usr/local/lib/perl5/5.22.0/armv7-apple-darwin /usr/local/lib/perl5/5.22.0 /usr/local/lib/perl5/site_perl .) at /var/theos/bin/nic.pl line 20. BEGIN failed--compilation aborted at /var/theos/bin/nic.pl line 20. if some one can tell me what file I need to put where I have all the folders backed up just need to know where to paste them back in lol thanks biz
  2. /var/mobile/hello/theos(symlink) to /var/theos/sdks/iPhoneOS10.1.sdk/usr/lib/libojc.tbd ??? this is where I am at I started all again fresh Bizzy:/var/mobile/test root# make package Making all for tweak Test... Preprocessing Tweak.xm... Compiling Tweak.xm... Linking tweak Test... ld: unexpected token: !tapi-tbd-v2 file '/var/mobile/test/theos/sdks/iPhoneOS10.1.sdk/usr/lib/libobjc.tbd' for architecture arm64 clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [obj/Test.dylib.64873355.unsigned] Error 1 make[1]: *** [internal-library-all_] Error 2 make: *** [Test.all.tweak.variables] Error 2 Bizzy:/var/mobile/test root# --- make file --- TARGET := iphone:clang:10.1:3.7 ARCHS := armv7 arm64 include theos/makefiles/common.mk TWEAK_NAME = Test Test_FILES = Tweak.xm include $(THEOS_MAKE_PATH)/tweak.mk Test_FRAMEWORKS = UIKit CFLAGS = -w after-install:: install.exec ---- tweak.xm ---- #import <substrate.h> #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> %hook SBPowerDownController -(void)orderFront{ UIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"Hello" message:@"Noooo" delegate:self cancelButtonTitle:@"Okay" otherButtonTitles: nil]; [alert show]; } %end i tried it on my iPhone 4s 9.3.5 wouldn't install big boss recommended tools I also tried to install theos on iPhone 6s + 10.2 Yalu portal jailbreak and would t get some packages either ... I'm trying guys ??
  3. @Fadexz haha I didn't even know I was doing it there back to drawing board lol thanks for noticing that And yeh /var/theos hahaha
  4. Ok scratch that I get this error now hello... Copying resource directories into the application wrapper... Linking application hello... ld: unexpected token: !tapi-tbd-v2 file '/var/mobile/hello/theos/sdks/iPhoneOS10.1.sdk/usr/lib/libobjc.tbd' for architecture armv7 clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [obj/hello.app/hello.64873355.unsigned] Error 1 make[1]: *** [internal-application-all_] Error 2 make: *** [hello.all.application.variables] Error 2 Bizzy:/var/mobile/hello root#
  5. @Fadexz @QuasaR does this look like it's picking up the library now ??????? Just I'm getting aload of errors I've been filling in symbols ie ( : ) ( ; ) that the errors as me but stuck on afew errors AVAILABILITY_INTERNAL__IPHONE_9_0 ^ In file included from <built-in>:346: In file included from <command line>:3: In file included from /var/mobile/hello/theos/Prefix.pch:2: In file included from /var/mobile/hello/theos/sdks/iPhoneOS10.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12: In file included from /var/mobile/hello/theos/sdks/iPhoneOS10.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:6: /var/mobile/hello/theos/sdks/iPhoneOS10.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:299:1: error: cannot declare variable inside @interface or @protocol NS_AVAILABLE(10_11, 9_0); ^ /var/mobile/hello/theos/sdks/iPhoneOS10.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:249:34: note: expanded from macro 'NS_AVAILABLE' #define NS_AVAILABLE(_mac, _ios) CF_AVAILABLE(_mac, _ios) ^ /var/mobile/hello/theos/sdks/iPhoneOS10.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:59:34: note: expanded from macro 'CF_AVAILABLE' #define CF_AVAILABLE(_mac, _ios) __OSX_AVAILABLE_START... ^ /var/mobile/hello/theos/include/Availability.h:155:50: note: expanded from macro '__OSX_AVAILABLE_STARTING' #define __OSX_AVAILABLE_STARTING(_osx, _ios) __AVA... ^ -----------/ everytime I fix some I get another 20 errors lol
  6. @QuasaR hey , ok I tried that and I still get the same result but I couldn't clone it in had to download and unzip it in as I get a certificate problem when trying to clone, thanks for your reply
  7. @Fadexz me too. Il try again today if no luck will try on iOS 9.3.5 jailbreak see if any luck on that device , but I'm getting somewhere lol 1step forward 2steps back lol thanks again
  8. @Fadexz Yup that's correct iostoolchain, and okey I will stick another load of headers in there haha and see if that works thank you again ?
  9. @Joka nice buddy so much easier ?
  10. Ok so tried changing name on sdk folder I now get this Compiling Tweak.xm... In file included from <built-in>:351: In file included from <command line>:3: /var/mobile/biztweak/theos/Prefix.pch:2:10: fatal error: 'Foundation/Foundation.h' file not found #import <Foundation/Foundation.h> ^ so i go to var/mobile/biztweak/theos/prefix.pch:2:10:fatal error and I see this ⬇️ #ifdef __OBJC__ #import <Foundation/Foundation.h> #if TARGET_IPHONE || TARGET_IPHONE_SIMULATOR #import <UIKit/UIKit.h> #endif #define CLASS(cls) objc_getClass(#cls) #ifdef DEBUG #define __DEBUG__ #endif #ifdef __DEBUG__ #define CMLog(format, ...) NSLog(@"(%s) in [%s:%d] ::: %@", __PRETTY_FUNCTION__, __FILE__, __LINE__, [NSString stringWithFormat:format, ## __VA_ARGS__]) #define MARK CMLog(@"%s", __PRETTY_FUNCTION__); #define START_TIMER NSTimeInterval start = [NSDate timeIntervalSinceReferenceDate]; #define END_TIMER(msg) NSTimeInterval stop = [NSDate timeIntervalSinceReferenceDate]; CMLog([NSString stringWithFormat:@"%@ Time = %f", msg, stop-start]) #else #define CMLog(format, ...) #define MARK #define START_TIMER #define END_TIMER(msg) //#define NSLog(...) #endif #define NB [NSBundle mainBundle] #define UD [NSUserDefaults standardUserDefaults] #define FM [NSFileManager defaultManager] #endif ~~~~~~~~~~~~~~~~~~~~~ And at the top is #import <Foundation/Foundation.h> ^ so the files is where it said it was but won't pick it up lol And I also have same line in the tweak.xm also so confused.com lol
  11. @FadexzIt was auto corrected then sorry lol yeh I tried that And now I get Your current SYSROOT, "/var/mobile/biztweak/theos/sdks/iPhoneOS8.4sdk", appears to be missing. so changed the Export TARGET := iphone:clang:8.4:3.7 To export TARGET :=iPhone:clang:10.1:3.7 to try target the 10.1 sdks and then says same error but not been able to find the 10.1 sdks il try change then name of the folder to iohoneOS10.1sdk and see if that helps locate it apart from that I'm lost lol thanks for ur time helping me and searching thins for me
  12. @Fadexz il try it but I've tried a lot of templates and even copied make files and tweak.xm from YouTube running the same Theo's and won't link the library on mine so think later today will try Theo's on my iPhone 4s 9.3.5 jailbreak think Theo's will work on the Phoenix jailbreak 9.3.5 ??
  13. @Valathene @DiDA i have the same error ld: library not found for -lobjc clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [obj/hello.app/hello.64873355.unsigned] Error 1 And running the same iOS 10.1.1 Yalu I thinks it's the case of locating that file and then linking it but I've looked and any library folder I came across I tried to copy and paste and then trying with a link still the same error library not found and not signing it :((((
  14. @Fadexz hey I still get the same error ld: library not found for -lobjcclang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)make[2]: *** [obj/firstPatch.bundle/firstPatch.64873355.unsigned] Error 1 I've make links and links with library's and out them in the sdk folder tried afew other lines and still same error, think Theo's could be broken ?? Or is it working just not linking to the library needed ?? Thanks again
  15. Make file TARGET := iphone:clang TARGET_SDK_VERSION := 8.1 TARGET_IPHONEOS_DEPLOYMENT_VERSION :=8 ARCHS := armv7 arm64 include /var/theos/makefiles/common.mk TWEAK_NAME = Biztweak Biztweak_FILES = Tweak.xm Biztweak_FRAMEWORKS = UIKit include $(THEOS_MAKE_PATH)/tweak.mk after-install:: install.exec "killall -9 SpringBoard"
  16. Update ---- @Fadexz Fixed the %end error now saying Compiling Tweak.xm... Linking tweak Biztweak... ld: library not found for -lobjc clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [obj/Biztweak.dylib.64873355.unsigned] Error 1 make[1]: *** [internal-library-all_] Error 2 make: *** [Biztweak.all.tweak.variables] Error 2 i have sdks 8.1 and also 10.1 in the include folder haha so I'm lost again lol @DiDA can you shine some light please tweak.xm - #import <substrate.h> #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> %hook SBPowerDownController -(void)orderFront{ UIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"hello" message:@"??Noooo??" delegate:self cancelButtonTitle:@"okey" otherButtonTitles:nil]; [alert show]; } %end ¯\_(ツ)_/¯ help ? @Joka any ideas buddy ?
  17. @Fadexz Ok so I got them errors sorted out but now I get this ⬇️⬇️⬇️⬇️ Tweak.xm:16: error: %end does not make sense inside a block **this is my tweak.xm ** %hook SBPowerDownController -{void)orderFront{ UIAlertView *alert = [UIAlertView alloc]initWithTitle:@"hello" message:@"??Noooo??" delegate:self cancelButtonTitle:@"okey" otherButtonTitles:nil]; [alert show]; } %end ---------------- I know it's something simple but ive tried to copy %end from others, rewriting it and still says same thing can someone please tell me what I'm doing wrong haha had me up a few nights now haha thanks for all ur help biz Oh I went from patch to tweak and started all projects again ☹️
  18. @Fadexz any better ? Yup sorry
  19. @fadexz yeh I figured it all out I know where to find it now ?? thanks again ?
  20. @Fadexz It took that aliased.pm line 42 away thank you , now last errors that show up on each thing I try make application,tweak patch etc which are ---- Bizzy:~ mobile$ su Password: su: incorrect password Bizzy:~ mobile$ cd hello Bizzy:~/hello mobile$ ls Makefile Tweak.xm control hello.plist obj/ theos@ Bizzy:~/hello mobile$ make package /var/mobile/hello/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang. /var/mobile/hello/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries. Making all for tweak hello... Preprocessing Tweak.xm... /bin/sh: ./obj/Tweak.xm.mm: Permission denied make[2]: *** [obj/Tweak.xm.4d4aef16.o] Error 1 make[1]: *** [internal-library-all_] Error 2 make: *** [hello.all.tweak.variables] Error 2 nearly there ?
  21. @Fadexz yup got ya sorry lol ok will give it a try and thank you for your time ?
  22. Haha I'm still trying came across a few lumps on the road lol I get this error when making a package (tweak) ------ Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Had a look a aliased.pm line 42 and because it's all abit new I don't know if it's telling me I need to add something to it or it because I have tweak already , tried to do a simple alert message this is my tweak.xm if any one can help much appreciated thank you biz %hook SBPowerDownController -(void)orderfront{ UIAlertView *alert = [UIAlertView alloc]initwithtitle:@"Bizzy" message"??" delegate:self cancelButtonTitle:@"dismiss" Otherbuttontitles:nil]; [alert show]; ) %end
  23. If the Yalu jailbreak app is still showing on ur home screen delete it and then try again also make sure ur passcode is off sometimes helps, hope that helps
  24. If correct ifeq ($(THEOS_CURRENT_INSTANCE),) include $(THEOS_MAKE_PATH)/master/tweak.mk else ifeq ($(_THEOS_CURRENT_TYPE),tweak) include $(THEOS_MAKE_PATH)/instance/tweak.mk endif endif this what u mean sorry I'm new to this lol I can't find tweak.xm just tweak.mk
  25. Hey guys biz again, im stuck on creating my first patch conquered afew problems i.e. Preference.h file then pthread.h file missing now I'm stuck on these and I'm lost ⬇️ Bizzy:/var/mobile/firstpatch root# make package /var/mobile/firstpatch/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang. /var/mobile/firstpatch/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries. Making all for bundle firstPatch... Copying resource directories into the bundle wrapper... Linking bundle firstPatch... ⬇️⬇️ Errors start ⬇️⬇️ ld: library not found for -lobjc clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [obj/firstPatch.bundle/firstPatch.64873355.unsigned] Error 1 make[1]: *** [internal-bundle-all_] Error 2 make: *** [firstPatch.all.bundle.variables] Error 2 Got far in learning all this today and Thanks for your time biz
×
  • 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