#development
1 messages · Page 319 of 1
I wanted to make a separate package, that I will then list as a dependencies
I already support 3rd party .png, I was just wondering if it was possible or not, as it will allow my user to benefit from 700+ icons
How easy is it to test for regressions
Very time consuming
Heyo, may be a stupid question but is there any difference between hooking class method and instance method ?
Im trying to hook a class method from UIImage but it seems to be ignored
Im trying to hook [UIImage systemImageNamed], so to test I tried this:
%hook UIImage
+(id)systemImageNamed:(id)arg1 {
// %orig;
return nil;
}
+(id)_systemImageNamed:(id)arg1 fallback:(id)arg2 {
// %orig;
return nil;
}
+(id)systemImageNamed:(id)arg1 withConfiguration:(id)arg2 {
// %orig;
return nil;
}
+(id)_systemImageNamed:(id)arg1 fallback:(id)arg2 withConfiguration:(id)arg3 {
// %orig;
return nil;
}
+(id)_systemImageNamed:(id)arg1 withConfiguration:(id)arg2 {
// %orig;
return nil;
}
+(id)systemImageNamed:(id)arg1 compatibleWithTraitCollection:(id)arg2 {
// %orig;
return nil;
}
+(id)_systemImageNamed:(id)arg1 withConfiguration:(id)arg2 allowPrivate:(BOOL)arg3 {
// %orig;
return nil;
}
+(id)_systemImageNamed:(id)arg1 {
// %orig;
return nil;
}
+(id)__systemImageNamed:(id)arg1 {
// %orig;
return nil;
}
+(id)__systemImageNamedSwift:(id)arg1 {
// %orig;
return nil;
}
+(id)__systemImageNamed:(id)arg1 compatibleWithTraitCollection:(id)arg2 {
// %orig;
return nil;
}
+(id)__systemImageNamed:(id)arg1 withConfiguration:(id)arg2 {
// %orig;
return nil;
}
%end
Which is obviously not the thing to do and will probably crash my device but it doesn't do anything
It does, so what ?
Oh ok ok
May it come from my Filter ? Idk shit about that
{ Filter = { Bundles = ( "com.apple.springboard" ); }; }
It's just to test, as none return nil
Hmm, what should be the plist for CC ?
Idk how to check Logs on tweaks dev....
Shame on me
Doesn't seems to be called... 😦
/package ffmpeg
PROCURSUS FFMPEG
Hmm, now that I think of it, that method [UIImage systemImageNamed] is called by one of my other tweak, which is a CCModule using CCSupport
Is it possible that my hook aren't working/enabled yet ?
.
Wait what
Pixelomer banned again?
BRUH
Lmfao
No idea what that means
Played minesweeper with parcility?
Me too. I like his work as well
pixel didn't seem to get mad over it kekw
f
/repo pixelomer
Repo with slug pixelomer doesn't exist!
[[ignoreme123]]
```Minesweeper! (10x10)```
||:one:||||:one:||||:one:||||:one:||||:one:||||:one:||||:zero:||||:zero:||||:one:||||:one:||
||:one:||||:bomb:||||:two:||||:two:||||:bomb:||||:one:||||:zero:||||:zero:||||:one:||||:bomb:||
||:one:||||:one:||||:two:||||:bomb:||||:two:||||:one:||||:zero:||||:zero:||||:one:||||:one:||
||:zero:||||:zero:||||:one:||||:one:||||:one:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||
||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||
||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||
||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||:zero:||:zero:||||:zero:||||:zero:||
||:one:||||:one:||||:two:||||:two:||||:two:||||:one:||||:zero:||||:zero:||||:zero:||||:zero:||
||:two:||||:bomb:||||:four:||||:bomb:||||:bomb:||||:one:||||:zero:||||:zero:||||:one:||||:one:||
||:two:||||:bomb:||||:four:||||:bomb:||||:three:||||:one:||||:zero:||||:zero:||||:one:||||:bomb:||
pixelomer
3-breaking.parcility.be.like
Free
System
com.pixelomer.ignoreme123
This package is fine.
Can we just add a pixelomer bot fucking exception?
BRUH
Only pixel can fuck with bots
True
ye i havent been on discord in 2 weeks
cant be asked
this platforms gone to shit
wdym
but its 100000000x worse now lol
@grave sparrow making a tweak to open a app when you invoke reachability
What do you think
That might be useful
To quickly open a app
😂😂
I can’t even register touches in reachability
Only present views
I did. I looked at reachit
My problem is i can’t find a good first project
Lmfao of course
But i want to actually post it for people to use
So something useful
Reroute all safari trafic to a rick roll
😂😂
That would be easy
Aw hell naw
Thats too complex for me
I am a beginner😂
But the reachability gesture to open app
Would you use that?
To quickly open an app
If ur a power user. Like quickly open safari
😂 hes a legend
Damn. So i am completely clueless on what to make
not a fan of hooking react
I just want a project i can keep working on
And keep adding new stuff
I am in college
Yes sir
Canvas tweak
😂
do they even have api
True its so ass
I am not built to do that
this is what happens when you boot windows with opencore 
ok
I restored my test phone so many times a while back and forgot to disable this, so on occasion I’m doing something and half the screen disappears
I’m used to it doing nothing on my main phone
lmao
“just kill yourself!” —Ryan Petrich 2013
false
-(BOOL)launchApplicationWithIdentifier:(id)arg1 suspended:(BOOL)arg2;
@end``` throws error -> ```==> Compiling Tweak.x (arm64)…
Tweak.x:4:1: error: duplicate interface definition for class 'UIApplication'
@interface UIApplication : UIResponder
^
/Applications/Xcode.app/Contents/Developrm /Users/dopeboy/Desktop/reachapp/.theos/obj/debug/arm64e/Tweak.x.m
er/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:111:49: note: previous definition is here
UIKIT_EXTERN API_AVAILABLE(ios(2.0)) @interface UIApplication : UIResponder```
without it Tweak.x:10:36: error: no visible @interface for 'UIApplication' declares the selector 'launchApplicationWithIdentifier:suspended:' [[UIApplication sharedApplication] launchApplicationWithIdentifier:@"com.apple.camera" suspended:0];}
You can google that error
i tried to search it up but i am not getting a solution
You want a class category
+(id)sharedApplication;
-(BOOL)launchApplicationWithIdentifier:(id)arg1 suspended:(BOOL)arg2;
@end``` @twilit jungle
this worked, is this what you meant
Yes
self.customView.userInteractionEnabled = YES;
UITapGestureRecognizer *tapRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapAction:)];
tapRecognizer.numberOfTapsRequired = 1;
self.customView.layer.masksToBounds = NO;
self.customView.clipsToBounds = YES;
NSLog(@"pussy");
[self.customView addGestureRecognizer:tapRecognizer];
self.customView.backgroundColor = [UIColor blueColor];
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.windowLevel = UIWindowLevelAlert + 2;
[self.window setHidden:NO];
[self.window setAlpha:1.0];
[self.window setBackgroundColor:[UIColor clearColor]];
[self.window addSubview:self.customView];``` anyone know why the view isnt added to the window? the window shoes up fine if i change color from clear to red
good one bud
you helped me figure it out
its literally the coordinates lmfao

the view did not show because. i had it showing up outside the screen
alright
lmfao

you literally replied to my message lmfao whats wrong with this guy
if you don't want to be pinged, don't reply to my message bro
i don't see why you have to report me to the mods lmfao. just say don't ping me.

@tardy narwhal i just thanked him for making me realize something
After he replied to me
Is it that serious to report me to mods?
I ended up looking at my code and finding the mistake
true
I remember having a really funny and frustrating incident with categories
I had something like @interface name : NSObject (private) and it kept erroring out
Because I forgot private is a fucking reserved word
How can I enter in multiline mode in Frida. I would like to write a loop like
var methods = eval(ObjC.classes.UIViewController.$methods);
for item in methods {
console.log(item)
};
i can enter the first line but the loop when typed in single line I get Syntax error : SyntaxError: expecting '('
n
for Christmas all procursus descriptions have been changed to a simple "hayden outdoors"
keep it classy this holiday season
True
_ _
patrick knows whats up

@primal perch
leave your test phone in a buddy's room.
install mpg123 and wget with apt over ssh
wget a loud noise mp3
mpg123 /path/to/mp3
have fun
YES
I AM NOT FAILING MY CLASSES
this is practice its not even graded nfr
lol
Nfr
was pixelomer banned again?
_ _
yes

bruh


```Minesweeper! (10x10)```
||:one:||||:one:||||:one:||||:one:||||:one:||||:one:||||:zero:||||:zero:||||:one:||||:one:||
||:one:||||:bomb:||||:two:||||:two:||||:bomb:||||:one:||||:zero:||||:zero:||||:one:||||:bomb:||
||:one:||||:one:||||:two:||||:bomb:||||:two:||||:one:||||:zero:||||:zero:||||:one:||||:one:||
||:zero:||||:zero:||||:one:||||:one:||||:one:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||
||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||
||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||
||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||:zero:||:zero:||||:zero:||||:zero:||
||:one:||||:one:||||:two:||||:two:||||:two:||||:one:||||:zero:||||:zero:||||:zero:||||:zero:||
||:two:||||:bomb:||||:four:||||:bomb:||||:bomb:||||:one:||||:zero:||||:zero:||||:one:||||:one:||
||:two:||||:bomb:||||:four:||||:bomb:||||:three:||||:one:||||:zero:||||:zero:||||:one:||||:bomb:||
pixelomer
3-breaking.parcility.be.like
com.pixelomer.ignoreme123
@moderator s

That was not #development message was a reply to. It was because something got auto purged by bot.

why tf are OTA updates still disabled after restoring to 14.2 on my phone wtf
woe
if i make a blue rectangle in reachability using this self.customView = [[UIView alloc] initWithFrame:CGRectMake(50, -200, 200, 200)]; it shows up. so i decided to present a window in reachability. so i decided to use self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; but this only covers the homescreen except the reachability. so i decided to provide coordinates. self.window = [[UIWindow alloc] initWithFrame:CGRectMake(50, -200, 200, 200)]; but this makes the window disappear. then i noticed the window.level property matters alot because some values put the reachability above the status bar and some below so its a heirarchy. so i checked the window.level property in SBReachabilityWindow which is a CGFloat and its value is 1114 so i did the same thing as that and still nothing showed up. I just have a question regarding if i should be focused on the window.level which might be the problem or could it be something else that is stopping the window from appearing in reachability.
here is my full code ```self.customView = [[UIView alloc] initWithFrame:CGRectMake(50, -200, 200, 200)];
self.customView.userInteractionEnabled = YES;
UITapGestureRecognizer *tapRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapAction:)];
tapRecognizer.numberOfTapsRequired = 1;
self.customView.layer.masksToBounds = NO;
self.customView.clipsToBounds = YES;
[self.customView addGestureRecognizer:tapRecognizer];
self.customView.backgroundColor = [UIColor blueColor];
self.window = [[UIWindow alloc] initWithFrame:CGRectMake(50, -200, 200, 200)];
self.window.windowLevel = 1114;
[self.window setHidden:NO];
[self.window setAlpha:1.0];
[self.window setBackgroundColor:[UIColor redColor]];
[self.window addSubview:self.customView];
[self.window bringSubviewToFront:self.customView];```

@twilit jungle any idea lord gh0st
Uiview shows up but uiwindow does not🤕
Uiwindow is perfect because i can place my uiview in it and my gestures are recognized
Uiwindow shows up on the homescreen but does not cover reachability
What could it be
I made sure to google last night and after hours i decided to post on here so i dont get roasted
Learn UIKit please. Also stop adding windows to SpringBoard while you are at it, there are way too many already.
Yeah, Windows 10 is already to much, we don't need any more Windows, lol.

Just as a reminder could you tell me what i did wrong. So i could fix my mistake. And i will be reading a book on UIKit
You don't need to read a book on UIKit, unless thats how you learn. Practicing it in a more controlled environment like app development would be better than trying to pick it up with tweak development. With tweak development you are not learning how UIKit works, you are learning how developer of X feature abused it to their usage.
Actually i am going through apples documenation as we speak
The window level represents the z-index
Right.
The reason your window doesn't show up is because its literally offscreen.
Reachability isn't magically moving pixels.
Its telling specific view controllers that reachability has enabled so it should move its content down.
Right
So i can’t really do anything at this point
Is it fine if i learn swift and uikit in app dev?
I could still apply that knowledge here
Since you have created a new window, you are taking responsibility of lot of things that happen in background for you. And since the window doesn't have a view controller you are taking on even more responsibilities.
Yes, UIKit is going to be same regardless of the language you use. Its just going to be different syntax that you'll have to keep in mind.
And technically you can hack up a solution with a new window but thats going to be a worse rabbit hole than directly hooking reachability's views/windows.
Right okay. So i will put a halt on tweak dev and start doing app development. Its just i am not that interested in app dev because i have no idea what to make
@twilit jungle what would you reckon i should start making
App development is more like a stepping stone but 🤷
Since you have previous programming, I'd say make an app that you'd use or remake an app that you have on your device. Something that is slightly complex but not too much.
Or just play with basic rectangle views, until you understand how all the different things related to it work.
Alright thanks alot man. You are major help. I think ill start by watching stanford cs193p because i read somewhere it helps alot. And then start doing some replicating of some apps.
Lmfao

I'm taking one course this year 🙃 so I want to find a computer science related online course to do as well
have any of y'all taken a course that you would recommend. Highkey I'm just bored and want to get school credit for something.
preferably a web/JS related course or obj-c/iOS related stuff
ios related courses do swift now
what does your school give credit for
Fuck mvc
yeah that’s @vivid dew
verified cummer
same
ok but what's the eta on release
I look forward to this api
i expect to be able to make post requests to the cum api as well

Leviathan Virtual Sex
signature creature a sea monster instead of a dragon
Polimane
I love the UI so muchhh
Wait what?
Why are we talking about plastic penises
How did pixelomer get banned
He got himself banned
```Minesweeper! (10x10)```
||:one:||||:one:||||:one:||||:one:||||:one:||||:one:||||:zero:||||:zero:||||:one:||||:one:||
||:one:||||:bomb:||||:two:||||:two:||||:bomb:||||:one:||||:zero:||||:zero:||||:one:||||:bomb:||
||:one:||||:one:||||:two:||||:bomb:||||:two:||||:one:||||:zero:||||:zero:||||:one:||||:one:||
||:zero:||||:zero:||||:one:||||:one:||||:one:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||
||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||
||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||
||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||:zero:||:zero:||||:zero:||||:zero:||
||:one:||||:one:||||:two:||||:two:||||:two:||||:one:||||:zero:||||:zero:||||:zero:||||:zero:||
||:two:||||:bomb:||||:four:||||:bomb:||||:bomb:||||:one:||||:zero:||||:zero:||||:one:||||:one:||
||:two:||||:bomb:||||:four:||||:bomb:||||:three:||||:one:||||:zero:||||:zero:||||:one:||||:bomb:||
pixelomer
3-breaking.parcility.be.like
com.pixelomer.ignoreme123
His tweet sums it up
How does that warrent a ban 

Lol
What?
Hi btw
oh
Why was my message deleted?
Well this is weird
Oh
it wasn’t even that bad
lol
Did i do something?
but he broke the terms aaron gave him like a bozo
[[ignoreme123]]
```Minesweeper! (10x10)```
||:one:||||:one:||||:one:||||:one:||||:one:||||:one:||||:zero:||||:zero:||||:one:||||:one:||
||:one:||||:bomb:||||:two:||||:two:||||:bomb:||||:one:||||:zero:||||:zero:||||:one:||||:bomb:||
||:one:||||:one:||||:two:||||:bomb:||||:two:||||:one:||||:zero:||||:zero:||||:one:||||:one:||
||:zero:||||:zero:||||:one:||||:one:||||:one:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||
||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||
||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||
||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||||:zero:||:zero:||:zero:||||:zero:||||:zero:||
||:one:||||:one:||||:two:||||:two:||||:two:||||:one:||||:zero:||||:zero:||||:zero:||||:zero:||
||:two:||||:bomb:||||:four:||||:bomb:||||:bomb:||||:one:||||:zero:||||:zero:||||:one:||||:one:||
||:two:||||:bomb:||||:four:||||:bomb:||||:three:||||:one:||||:zero:||||:zero:||||:one:||||:bomb:||
pixelomer
3-breaking.parcility.be.like
com.pixelomer.ignoreme123
epic bot patch
not even our bot 😳

I am not qualified but 
LOL
STAN PROCURSUS
shit
make do
Making all for tweak Fondue…
==> Compiling Classes/FondueBannerWindow.m (arm64e)…
bash: line 1: /opt/theos/toolchain/linux/iphone/bin/clang++: No such file or directory
your toolchain is broken
where do i get a working one
reinstall it
been making a snowboard theme for 13 exclusively
still in very early stages, but should i start a repo and put it up?
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
is my tweak broken or is the toolchain broken
from what it seems like, it's your toolchain @granite frigate

gm mai
hi renai
how is your day
crap as usual
where can i get one that works?
@gaunt mesa oof
ive scoured google and every reddit thread i can find 
@granite frigate https://github.com/sbingner/llvm-project
alrighty
get the latest release
oki
download and extract the lzma file (i think it lzma)
make sure its extracted to $THEOS/toolchain/ios/linux
yeah ive just installed that toolchain 
is it in the correct location?
o its in /toolchain/linux
wait
did u follow these steps too: https://github.com/theos/theos/wiki/Installation-Linux
yes
u don't need clang-6.0
u would have to ask a linux user for the exact location
sorry it's a bit different on a mac
followed a guide from reddit and i did these
curl -LO https://github.com/sbingner/llvm-project/releases/download/v10.0.0-1/linux-ios-arm64e-clang-toolchain.tar.lzma
TMP=$(mktemp -d)
tar --lzma -xvf linux-ios-arm64e-clang-toolchain.tar.lzma -C $TMP
mkdir -p $THEOS/toolchain/linux/iphone
mv $TMP/ios-arm64e-clang-toolchain/* $THEOS/toolchain/linux/iphone/
rm -r $TMP linux-ios-arm64e-clang-toolchain.tar.lzma
oh that should be working then 
it did
make
Making all for tweak Fondue…
make[2]: Nothing to be done for 'internal-library-compile'.
Making all in fondue…
Making all for bundle Fondue…
==> Copying resource directories into the bundle wrapper…
==> Linking bundle Fondue (arm64e)…
ld: unsupported tapi file type '!tapi-tbd' in YAML file '/opt/theos/sdks/iPhoneOS14.0.sdk/usr/lib/libobjc.tbd' for architecture arm64e
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)

i cant make because it errors out
should i remove the sdk?
Any idea how to hook a method that has argument type that only exist in newer iOS? For example:
%hook SomeClass
-(void)someMethod(TypeExistInNewIOSOnly *)object{
}
%end
It'll throw warning if compile using lower SDK version. Added API_AVAILABLE to the end of the method doesn't either help:
-(void)someMethod(TypeExistInNewIOSOnly *)object API_AVAILABLE(ios(13.0)){
}
I wanted to use lower SDK version because HBLog doesn't work on >iOS 11
nfr
nfr
besides the obvious slur, why was everyone enabled
ppl don’t know how to set up a discord server trying to set up a discord server
there were a ton of slurs and racist memes posted w/o the pings
gone now ofc, they got banned
L
Why I have all notifcations off for discord
where can I access the NSLog for my tweak? Also how can I run something on start? Like when the tweak starts to print something to NSLog
I'll look into it, thanks
Is anyone else having issue with Alderis alpha slider on version 1.1?
For me the value doesn’t save when I change the value. It will always reset back to 100.

LMAO
you joined that server?
@raven elbow [redacted] are bad
@dense basalt big black n balls hd
who pinged me
me
big black n balls hd

says you who pinged @everyone
yeah in the dumbfuck server
send inv in dm
he
she puts it on every post
true
send link
southerngirlwhohasapenis
now


that server needs some work

why i gotta wake up to ur dumb ass repeatedly spamming the shit out of me w/ pings on some devs server
ok omw spam n word

maybe don’t act like a retard?

not my fault how u act
ntwerk
damn it discord why. im forced to actually sign up for sub
oh well
ill just add payment method ig
:ntwerk:
I get tar: unrecognized option '--warning=no-timestamp' when running make package install, connected to ios 14.2 iPhone 7 running checkra1n
^ if anyone has a solution to that lmk
guess I will just manually install over filza for the time being
when will tigi ever respond to the crash bug i found 4 months ago
i found another one but they never respond so i haven’t bothered
i have to ssh in and apt reinstall /var/mobile/tweak.deb && killall -9 SpringBoard

sbreload breaks device on ios 14 rn
if u do it twice
still can’t figure out the exact trigger
what if i do it thrice

is 1 time the limit or 3 times a challenge 🤔
¯_(ツ)_/¯
:sus:
if springboard doesn’t respond to sbreload then it’ll unload it w/ launchd
lol
and when it does that, some weird entitlements bug causes the system to go nuts till you kill launchd
killalll launcd ez /s
aka userspace reboot
yes ik
honestly if you’re an orange name you should leave
_ _
White/Gray name gang
my terminal tells me NSLog is unidentified, is this not a built in function?
alright
big brain
haven't done tweaks in 5 months and it shows
I reinstalled my OS and had trouble even install theos today
imagine online school getting cancelled cuz of snow 

@twilit jungle i think it's cuz administrators can't get to the building tho
so that makes sense

and i'm pretty sure teachers are required to go in some days
pain
me but last year
they actually did
quebec snow is intense when it happens
but with covid it's not like we had much school anyway
quebec 
yes sir
they’re the worst drivers i’ve ever seen
french is fun

i don't know if it's bad but i don't understand the joke
but yes quebec is funny
our prime minister literally said: y'all get 4 days of freedom with no restrictions at christmas
didn't happen, might have been to calm down dumbfucks while that stuff was going down
true
so prrty
true

true
wait who's from Quebec? @tepid olive
ah ben tabarnak!
So I got a fresh device but I can't compile arm64e with Theos iOS. I forgot how I did add support... Now it says "invalid arch name".
Mmm
Id try "Theos Installer 2" but it's missing packages
Not sure why they're not on the same repo
Because they're big and would be useless hosting the same files twice
I have Windows lol
You can build on wsl
Didnt know Theos worked on Windows
If you follow the instructions it pretty much works out of the box
Go to theos's wiki
Theos'?
Nah theos's
Yeah wouldn't really bother with cygwin if I weree you. I'd just go straight to wsl
Uh I actually don't knoq what it is for sure, but I think it tries ti emulate linux to some extent
Vtec + fucking Theos
Why tf do usernames have exclamation marks in typing status?
That’s weird lol
Anyways thanks, it compiles now, I had to install clang-10 manually first then Theos Installer 2 installed normally
Apparently a known issue on dtesters server
Ill try to setup Theos on Windows now. I was litteraly codding on Windows then transfering file over FTP then compiling on my phone lmao
Nice
It's a pain
Bet
Oscar Ogrega > Jiang Yang
"Cygwin works but is quite limited."
Tu programmes des tweaks ou quoi?
Ah mais c'est cool pareil! Je t'ajoute si tu veux bien! Swift est clairement plus efficace, il faudrait que je fasse le changement
lol, I shouldve started with Swift
ok if assembly is something you like ig syntax isn't a problem
I challenge you to code all your next tweaks in binary
hi guys and possible ios 14.2 downgrade to ios 13 my device and an iphone 6s
ok
thank you
clang: error: linker command failed with exit code 1 (use -v to see invocation) got this error after a wall of .tbd issues
ld: warning: building for iOS, but linking in .tbd file (/Users/Bloop/theos/sdks/iPhoneOS14.0.sdk/System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation.tbd) built for iOS Simulator
google says to install older xcode, is there another alternative?
me and the boys releasing tweaks under multiple aliases
@mystic summit is there more output?
Undefined symbols for architecture armv7:
"_objc_msgSend_stret", referenced from:
_logosLocalCtor_98f13708(int, char**, char**) in Tweak.xm.6b18846d.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
that is all the "unique code"
is there a reason you're compiling for armv7?
any specific spot?
well it worked, I had it at the bottom and it didn't, thanks
lol
It has to be set before the first include
Oh alright
Theos include, anyway
Why u let these hoes what we had right apart @vivid dew
You should beware beware beware of a woman with a broken heart
Same

interesting microcode for what tho?
So I tried to setup Theos with Cygwin
$ make clean
Makefile:21: /aggregate.mk: No such file or directory
make: *** No rule to make target '/aggregate.mk'. Stop.
It's weird, I did set my theos environment variable. But when I do
echo $THEOS, it shows nothing
then you didn't set it properly
And in the .profile I see this at the end :
export THEOS=~/theos
Well its not hard, all it asks to do is execute this command :
echo "export THEOS=~/theos" >> ~/.profile
which I did
It adds a line to the ".profile" file but doesnt echo afterwards
Its not suppose to echo afterwards
"For this change to take effect, you must restart your shell. Open a new tab and do echo $THEOS on your shell to check if this is working."
But nothing prints and I get an /aggregate.mk: No such file or directory error
Its not suppose to print. Yes echo is for printing to console but because >> is there the ouput is being redirected to whatever is afterwards so its taking the output of echo and putting it in ~/.profile.
So did you do:
For this change to take effect, you must restart your shell. Open a new tab and do echo $THEOS on your shell to check if this is working.
Yes
It still prints nothing
But it's weird because the >> did write into the .profile file.
What shell are you using?
So do you have a ~/.bash_profile? cause if that files exist than ~/.profile isn't sourced.
The one that comes with Cygwin

Yes there's a ~/.bash_profile
Yeah that would explain why your ~/.profile is being ignored.
You'd have to use that file instead.
Not sure to follow you there
btw Cygwin toolchains are very outdated so gl.
Why is the other one priotitized?
Because bash wants to use its own over the fallback ~/.profile
Okok
Pretty much applies to any shell really
And isnt there a toolchain for Cygwin that can compile for arm64e?
I'm trying to use Theos on Windows. I'm tired of compiling on my phone
No Cygwin toolchain doesn't support arm64e
Damn
The last it was updated was during iOS 8 days so most you'll get is arm64
For Window 10+ however you can use WSL.
WSL is just linux as far as theos is concerned.
Oh WSL is a kind of Linux emulator
just use linux then, dualboot ain't that hard.
Then I can install Theos for Linux
Well there are a few internal things it does differently internally for WSL but as far as toolchains and usage, its the same as linux.
Ok and where can I find a toolchain that compiles arm64e for WSL?
Is that command from Theos Installation Guide up to date?
curl https://kabiroberai.com/toolchain/download.php?toolchain=ios-linux -Lo toolchain.tar.gz tar xzf toolchain.tar.gz -C $THEOS/toolchain rm toolchain.tar.gz
No that one doesn't support arm64e either, there is a theos issue that explains how to get the sbingner's arm64e toolchain
Hello! how would I make a tweak execute some code once the battery level reaches 10 percent & 20 percent? Is there a header I can hook into that controls the low battery alert?
Like the header so I can inject my own code, but keep the original functionality of the class.
sorry

what is the difference between tweak.x and tweak.xm
x is objc xm is objc++
Like objective oriented programming for c++?
object oriented
Pokimane

i subbed to your onlyfans i simp for u pokimane
milf
No
My moms beautiful as a person
Bruh why does everything have to be about sec
Sex
Ewww
No pls stop
She is an amazing person
Thats what i meant
make?
I'm trying compile a tweak but the theos environment variable is causing problem. It's created in the ".profile" file but "make" still doesn't work.
It's not
env | grep theos or
env | grep THEOS shows nothing
echo "export THEOS=~/theos" >> ~/.profile
Then it still doesn't show
is the 24 days of objc tutorial good for tweak dev
source ~/.profile?
true
Nothing shows up
best tweak tutorial tbh
ic
thank
dragon is fun
i guess
my school starts in
next year
2 weeks isnt a few
its 2 
i dont have anything such as a summer break

because brackets and semicolon
can i ask stupid questions now 
wtf i thought it was real

L
ok
where good tutorial 
yes
bruh
almost none
true
%end
isnt it 15

nice
yeah but that should have made it so you can do echo $THEOS and have it spit out the path to theos
I know, I did the command. Now it works, not sure what was the problem.
Cool
Now it's throwing me alot of errors. I could compile the same code with that same SDK before
I think it have to do with the theos/include or theos/vendor folders.
uiapplicationis not declared
What should I do?
Does anyone has any idea about this? Since more users are active now
Or any idea how to get HBLog to work on >iOS 11?
just use the generic type id
That's one way to do it lol
types are a compile time construct, iOS version should have nothing to do with it.
-(void)balls:(id)arg1 {
if (ios14) {
SomeNewType *balls = (SomeNewType *)arg1;
} else {
SomeOldType *nuts = (SomeOldType *)arg1;
}
}```
It works, but quite inelegant hahaha
Aside from that, is there a way to use HBLog on new ios so that I don't have to do that?
Oh no, because if I compile using new iOS SDK, I don't have to re-cast it, but then HBLog doesn't work
And If I compile using lower iOS SDK, HBLog works, but then I have to re-cast it
Or let me ask the other way around, what's the reason HBLog doesn't work in new iOS? Though NSLog works just fine
idk
Is there a way I could clone my linux installation to an external hard drive from macos?
or just looking for the easiest way to do it in general
i think u can mount the harddrive in linux and make a timeshift backup onto the hard drive
I can now code on Windows, transfer files on my Ubuntu VM then compile for arm64/arm64e 🤓 .
I also made a .sh script that transfers and install the compiled debian package over SSH then resprings my device automatically (ssh-keygen).
Thanks to the ones who helped me earlier today! Development's going to be way easier now that I don't have to compile directly on iOS 🙂
congratulations
Look at partitions

I just spent longer than I should have.. trying to find my package.. because I was using make instead of make package
im too used to the ios sim
ahaha
did you know the make do shortcut?
its exactly like if you were typing make package install. I never knew that before last year. I was even deleting files manually before I knew make clean
You can use visual studio code and ssh to your vm

Use “make -j clean do”
Or share a folder from the VM to my PC and work in an IDE
Yup, not sure if saving changes will have a delay tho
Well lets say I press ctrl+s
if it’s on the same machine there’s no delay at all lol
then compile on the VM
That would be instant bro
but it starts compiling before new files are saved
Lmaoooo
Probably
Dude
ahaha
It’s not copying the files, it’s the same part of the disk mounted on the VM and the machine

So there’s no delay
Idk, I use VM Ware Workstation
It does not matter
They make .vmk files and weird extensions
Yes i know
Its the file extension for a virtual disk
I used to do that in windows
Ssh
You’re thinking to much
Its way better than transfering files or whatever youre doing
Oh yeah I made my VM hard drive 1000gb but it doesnt use it unless it needs it
Idk I downloaded it that way lol
Just ssh to your vm
And instead of using a VM. You could use WSL i think
But vm is good too
What i used to do
Instead of using a desktop interface. Use command line distro
And suspend it in background
because I installed Windows 10 LTSB something like that
And ssh to it through wsl through alias
Its way faster/better
And doesn’t strain your computer
Yeah but my Windows doesnt have Windows Store
I cant install Ubuntu and that WSL thing
you don’t even need putty to ssh on windows anymore
that way it doesnt ask my root password everytime
ssh comes with windows now
yeah well I created keys to exchange with the ssh protocol
Never done that before lol
You’re doing good
My advice. Instead of using a GUI distro. Use command line distro. That also gives you room to learn linux command line
Imagine codding a huge tweak with notepad++, transfering file on your iPhone with WinSCP, then using NewTerm to compile the package then install it lmao
why not just setup a Linux dual boot or VM and use theos on there
Lmao i think youre thinking too much
Yeah but I didnt have the ssh keys setup
It doesnt matter
Thats what I did
Ssh keys have nothing to do with that
so then why are you copying to your phone manually still
Right
Im not
And use a command line distro instead of a gui one for your VM
Im copying the .deb only
You don’t need to do that
Theos has a build in function for that
Make do*
To install it 🤷♂️
setup device with theos
^
I do make -j clean do
how will the VM know it should install it on my phone?
Because you set your phone’s local IP as a variable
You are specifying a ip
In your bash profile
The theos wiki is your friend
Yes go look on wiki
Damn I didnt know that too
I get it, ur pretty excited
its gonna save me precious time
Oh I know linux command
...
and obj-c
Dghost is your best friend
Then you should be fine looking through headers and hooking methods
Well classes
lol
oriented-object programming
every OOP language has classes
its all the same
they’re not all similar
Not the syntax
that’s about as far as the similarities go between c# and objc
but the concepts stay the same
if you know what an instance is you're good to go lol
Bruh

I mean at least you might be familiar with oop
inheritance, abstract classes, interfaces, blablabla
that doesn’t make languages similar
I know
^
it just means they’re both object oriented
Yeah but all we have to do is learn the syntax
Look
it’s not only syntax, you also have to know how methods of foundation objects work etc
^















