Jump to content

42 posts in this topic

Recommended Posts

Posted (edited)
41 minutes ago, staybizzy said:

@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

No problem lol.

Updated by Fadexz
  • Replies 41
  • Created
  • Last Reply

Top Posters In This Topic

Posted
1 hour ago, Fadexz said:

@staybizzy /var/mobile/hello/theos/ is not the normal directory, I think it should be /var/theos/ instead.

Try making the tweak again with the new SDK and just copy the text in the files to the new ones (tweak.xm and makefile).

/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 ??

Posted (edited)

@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 

Updated by staybizzy
Posted
10 minutes ago, staybizzy said:

@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 

Just reinstall Theos, you haven't installed it properly. You don't even have Perl installed correctly.

Posted

Last login: Fri Oct  6 14:52:20 on ttys000
Bizzy:~ mobile$ su
Password:
Bizzy:/var/mobile root# theos
NIC 2.0 - New Instance Creator
------------------------------
  [1.] iphone/application
  [2.] iphone/library
  [3.] iphone/preference_bundle
  [4.] iphone/tool
  [5.] iphone/tweak
Choose a Template (required): 

reinstalled so is that Theos @ perl running ?? 

Posted
2 hours ago, staybizzy said:

Last login: Fri Oct  6 14:52:20 on ttys000
Bizzy:~ mobile$ su
Password:
Bizzy:/var/mobile root# theos
NIC 2.0 - New Instance Creator
------------------------------
  [1.] iphone/application
  [2.] iphone/library
  [3.] iphone/preference_bundle
  [4.] iphone/tool
  [5.] iphone/tweak
Choose a Template (required): 

reinstalled so is that Theos @ perl running ?? 

Sweet so its working now.

Posted

@Fadexz so after spending all day deleting everything anything to do with installation of Theos and restarting from scratch end line it works I finally added a message to the power off button and it works?? so just doing abit more info searching then will be back thanks for ur time much appreciated thank you ?

Posted

@2packed Yeh I had to do the same afew time afew install methods for Theos on iOS 10 didn't work as they wasn't full and complete packages but all good and sorted thank you for your reply 

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