#development

1 messages · Page 464 of 1

twilit jungle
primal perch
twilit jungle
primal perch
#

true

upbeat wyvern
#

@grave sparrow if it’s an intermediate file make does it by itself

#

Right

#

Which is an intermediate file

#

Just put some random target in the makefile that you don’t use that depends on that and it’ll probably not delete it - like it says on the link above

#

Like unusedtarget: .theos/obj/arm64/Tweak.xm.mm

twilit jungle
#

↖️

tepid olive
#

Does anybody know how to add '#!/bin/bash' on postinst file?

wicked summit
#

nano

#

sed -i "1s/^/#!/bin/bash\n/" com.sugiuta.mochi.postinst

weary heath
#

If that's Filza just tap to edit and type it in at the top

tepid olive
restive ether
#

you sure you added it right nfr

tepid olive
#

I think something is wrong

restive ether
#

yeah that’s wrong

#

it’s literally just #!/usr/bin/bash

weary heath
#

It's #!/bin/bash

restive ether
#

that works

weary heath
tepid olive
weary heath
#

bash doesn't exist in /usr/bin

#

Remove /usr

tepid olive
#

Fixed. Thank you so much

serene hawk
#

I know this is prop a very common question but how would i only hook onto the last one? if i only hook UITableViewLabel it hooks onto all of these

next wadi
#

the echo ""s arent necessary

#

they can be replaced with echo "\nEnjoy Mochi!\n"

gentle grove
#

boba mochi

gentle grove
tepid olive
weary heath
tepid olive
tepid olive
weary heath
tepid olive
#

imagine not having usr merge

restive ether
surreal mountain
#

why are you not using #!/usr/bin/env bash

restive ether
tepid olive
restive ether
#

who the fuck is bash and where can i meet her

tepid olive
#

your mom

tepid olive
surreal mountain
#

stop

late ridge
hardy glen
#

but i think more times than often, there’s a way better way than this.

serene hawk
hardy glen
#

if you could tell me what it is you are trying to do, i could try to do it myself.

high citrus
#

Are there tweaks that use github actions to build?

indigo peak
#

is there a way to hook all UILabels and check their background color

#

but only in a specified app bundle

serene hawk
serene hawk
hardy glen
#

yea go ahead

hardy glen
#

if its your last choice lmao

indigo peak
#

yeah i think i found a better way

upbeat wyvern
hardy glen
#

does anyone know the path of ios private frameworks binaries on mac.

gaunt mesa
#

u can build in there easily

subtle grail
#

that has private framework headers

#

and tbds (i think)

#

but the default sdk does not have them

junior crescent
#

what’s a good app to use for theming on ios

#

themeing

#

wtvr

tepid olive
#

wat

grim sparrow
hardy glen
subtle grail
#

rust module

rust module

gaunt mesa
#

no

#

it’s bad

tepid olive
#

rust is nice

#

what is bad about rust lol

lethal ice
#

is there a pow function that supports __float128

gaunt mesa
tepid olive
#

its maintainers are braindead

gaunt mesa
#

^

tepid olive
gaunt mesa
#

they also treat anything no nrust as trash

tepid olive
#

it's fun to use Shrug

#

not much currently learning it

#

i really like the way cargo does errors

gaunt mesa
tepid olive
#

compared to when i was dealing with Swift in Playgrounds today

gaunt mesa
#

menace to society you are

tepid olive
#

ehh depends what it is thishowitis

#

damn

#

sometimes i am really tired but still try to program and then i just spit out awful shitcode very slowly

gaunt mesa
#

lets see how i did today

#

today was a very diverse day

tepid olive
gaunt mesa
#

yesterday and day before weren't

#

canister 1 minute nfr

tepid olive
#

nice

gaunt mesa
#

u can kinda see where my interests picked up

#

wakatime

#

i work during school

#

because school is boring

#

and they don't help me prep for AP tests anyways

tepid olive
#

the rust book is pretty good though

#

worth a try just don't become a rust shill pls

restive ether
#

canister when

when it’s finally stable

tepid olive
#

it'll always be better than Parcility @restive ether

restive ether
tepid olive
#

nah it's a web page

#

@tepid olive just do rustup docs --book

#

yeah

#

i do it on car trips when i can't work on network related projects

#

Procursus on macOS still doesn't have Rust so i need homebrew sadly

#

i hate using it

restive ether
#

get the strap and run it

tepid olive
#

download it, extract to /, add /opt/procursus/bin to your PATH

#

apt on macOS is the fastest you can get

#

i tried ports too, it's slower

#

apparently not

#

idk

gaunt mesa
#

i really hope ur not comparing them

#

considering they spent like a year working on it

#

and canister was initially written in 12 hours

#

die

tepid olive
#

True

#

use cargo tho

gaunt mesa
#

rustc

#

can someone port lyricify to use SPM pls

tepid olive
#

oh

wicked summit
tepid olive
#

yeah you'll get there soon

wicked summit
#

i delete a space in between

tepid olive
#

nooo

gaunt mesa
#

no

wicked summit
#
- (void)metho{}
gaunt mesa
#

ur horrible people

tepid olive
#

newline brackets are cursed

gaunt mesa
#
  • (void)joe { }
tepid olive
#

TRUE

gaunt mesa
#

eh ur code is much more readable than someone else

#

than a certain competitor

tepid olive
#

certain

#

WAIT

#

krit uses newlines???

#

wtf

#

also Objective-C++

#

ban cpp

subtle grail
#

anything is better than brew

gaunt mesa
#

i use it

#

it’s great

hardy glen
#

fuck react, i’d rather hook swift

upbeat wyvern
#

I want a tweak that ignores people's nicks and just displays their usernames

hardy glen
#

me too, i’ve been heavily hacking at swift too. the only thing i haven’t realy figured out is how to interact with a swift string that hasn’t been exposed to objc

upbeat wyvern
#

well let me know if you make one that ignores people's custom names 😄

#

not afaik

hardy glen
#

no, not the ones that haven’t been exposed to @objc

#

so they are not interchangeable . so you can’t hook them because swift strings are a struct

#

nice

#

nice. that seems useful. i haven’t really been doing too much lately but i’m planning to mess with sileo since i just found out the latest version is open source

#

rip. sileo tweak.. i went down a rabbit hole

#

haha

#

i was planning to add installed option. so you could see installed tweaks from each individual repos

#

i might check that out

#

yea i was gonna try to do it for practice. but i have been using sileo beta and its far better than what it used to be.

#

the beta is great

restive ether
#

you’re bad

#

who pinged me here

#

i can’t figured it out (more like i can’t be asked to check)

safe hornet
#

Hi, I don’t know objective C but I know some programming, I’d like to create a tweak for myself to hide a UIView, besides that not really interested in knowing objective C, any small repo which does this so I can use it for reference? Or a resource where I can read into destroying UIViews or just hiding if possible?

safe hornet
late ridge
#

well.. that's a view... but I have no idea where it's from lol
if you can access it from the view controller you can set the hidden property to YES

safe hornet
#

Alright have been looking up view controllers, am I looking for viewDidLoad?

#

I guess that allows me to hook into that view and then I can hide it once I got a reference, right?

late ridge
#

presumably

#

:)

safe hornet
#

I wonder if I can just create a flex patch instead, I don't even have tooling to compile a tweak

pure tree
#

@upbeat wyvern If I remembered correctly, you teased arm64e cycript, is it planned for release?

upbeat wyvern
pure tree
#

dang, but I'm happy to hear that saurik is still maintaining it 🙂

gaunt mesa
#

oh shoot programmers hangout

#

duh

safe hornet
#

Hey 😅

gaunt mesa
#

hey

tepid olive
#

nice

#

rust is fun

safe hornet
#

Which flex 3 lib should I look in to if I want to do what I specified earlier? Hiding a UIView

safe hornet
#

ugh actually Ill just read into tweak dev

restive ether
#

lesbian repellent

lethal ice
#

gm

primal perch
#

gm

#

scoop legal now wtf

#

happy bday nscoop

lethal ice
#

true time to go get a dui and throw my life away

primal perch
subtle grail
shut stag
#

being voted on now

#

congrats on release!

safe hornet
#

What text editor can I use on ios lol

restive ether
#

any of them

#

nano, vi, vim, ed, emacs

#

neovim

subtle grail
#

ed

restive ether
shut stag
#

i just installed it and it made my dock background re-appear after i hid it with another tweak

safe hornet
#

this terminal is so terribly slow, probably a bad idea to set up theos on ios

shut stag
#

how

safe hornet
#

well ill just remote ssh through vscode I guess

restive ether
#

theos works fine on ios

safe hornet
#

Yea but the terminal is slow and its annoying

restive ether
#

just don’t use newterm to do it

#

because newterm will kill itself

primal perch
#

yea newterm is still a tad buggy last i checked

safe hornet
#

I accidentally pasted a large string and its freezing

#

annoying as shit

primal perch
#

he did too much trolling

shut stag
#

that dosnt affect the background tho

#

just top inset

restive ether
#

meth controller

subtle grail
#

i didn’t

shut stag
#

ah

primal perch
#

yea you must be new

restive ether
#

oh yeah you can use joe too

#

forgot we did joe

primal perch
#

nobody puts this amount of effort in a free and open source tweak

restive ether
#

lol

primal perch
#

@krit loss

restive ether
primal perch
#

a chicken

#

and meth batman

safe hornet
#

are u kidding me

restive ether
#

trav man

safe hornet
#

how do you guys even develop through ios

restive ether
#

i use the phone itself

safe hornet
#

no but seriously

restive ether
#

.

primal perch
#

doxxing rn

#

nice ip bro

safe hornet
#

no way you code on phone man

#

there must be some way to connect vscode or something remotely

restive ether
#

i think skitty used to code on his phone lol

primal perch
#

bro you need joe

restive ether
#

ok

#

[[joe]]

faint lionBOT
#
joe

Joe's Own Editor.

Author

Hayden Seay

Version

4.6

Price

Free

Repo
More Info
restive ether
#

there

primal perch
#

we do a little twerking

restive ether
subtle grail
restive ether
primal perch
#

ard

restive ether
#

what the fuck is a chariz

subtle grail
#

no I meant like

#

the view controller

restive ether
#

i can’t read it

#

everything is upside-down

primal perch
#

we down so bad

gaunt mesa
restive ether
#

you

restive ether
gaunt mesa
restive ether
#

i don’t need it

primal perch
#

oh yea i am bro

#

i’d be lucky to get a 3 at this point

#

i was feeling good until i noticed that

restive ether
#

mfer has an IQ of about 3

subtle grail
#

is it supposed to come up automatically after the first restoring?

restive ether
primal perch
subtle grail
#

*respring

restive ether
#

that’s how other tweaks did it

subtle grail
#

weird

#

didn’t show for me

primal perch
#

you ever just like do a page of ap test problems and your calculator is on degrees

subtle grail
primal perch
restive ether
#

degrees of this cock

primal perch
#

180

#

so flat bro

gaunt mesa
#

it worked for me

primal perch
#

false

restive ether
#

shouldve asked tr1

subtle grail
#

wtf tale

gaunt mesa
restive ether
#

he was one of the first people to ever do it

gaunt mesa
#

it works on my machine

subtle grail
#

true

gaunt mesa
#

so it must work on everyone elses nfr

restive ether
#

let me try it

gaunt mesa
#

i use that method too

#

it works

restive ether
#

didn’t show up for me either

gaunt mesa
#

maybe it just fails the condition in the if statement

primal perch
#

sorry it’s bad because reasons

gaunt mesa
#

shorlop

primal perch
#

tail

gaunt mesa
#

ok

#

time to leak shepgoba real name

#

LMFAO

restive ether
gaunt mesa
#

daniel doesn't like krit

#

¯_(ツ)_/¯

restive ether
#

something tells me he’s a little [redacted]

#

he truly is the king of haters

#

maybe if he paid his devs

#

i am waiting for [redacted]

gaunt mesa
#

@shut stag give her role

restive ether
#

i already did it

gaunt mesa
#

also for the flair u need to apply on the subreddit

restive ether
#

i’m just waiting

#

they accept anyone don’t worry

#

even people who make jetsam shell scripts

gaunt mesa
#

@restive ether

restive ether
#

there we go

gaunt mesa
#

ok

#

there

#

i was about to point out

restive ether
#

i meant i already did the vote

#

i was waiting for one more person to vote

gaunt mesa
restive ether
#

developer

subtle grail
#

developer

restive ether
#

sunchipnacho made lib io sex

subtle grail
#

so true

#

lib io sex

restive ether
#

cannot believe how far technology has progressed

#

ah yes

#

conan fixed the biometrics

#

time to put deez nuts on the prompt

subtle grail
primal perch
restive ether
#

i am

#

very white

primal perch
#

wtf

gaunt mesa
#

troll

restive ether
gaunt mesa
restive ether
#

the first was your mom

gaunt mesa
#

ok

primal perch
#

loss

gaunt mesa
#

win

primal perch
#

tie

safe hornet
#
%hook SomeClass

// Hooking a class method
+ (void)someClassMethod {
        return true;
}

%end
```does this look right
primal perch
#

no you just bootlooped my phone

safe hornet
#

idk can I somehow check what the original class returns

gaunt mesa
#

%orig

#

that's how u call the original function

#

so if the class is returning something

primal perch
gaunt mesa
#

you can do
id foo = %orig

#

and foo will have everything

safe hornet
#

hm okay thanks

gaunt mesa
safe hornet
#

actually can I just destroy that class once it's loaded?

indigo peak
#

can you change the backgroundColor of the status bar?

gaunt mesa
#

@shut stag how does it feel to have packages sniped from packix

safe hornet
#
%hook SomeClass

+ (void)someFn {
        id foo = %orig;
        %log(foo);
        return foo;
}

%end
```alright so I guess I can do something like this, what's the easiest way to test this?
gaunt mesa
#

then inside of your project you can just run make do and it'll install to your jailbroken device

safe hornet
#

oh ty

lapis vessel
safe hornet
#

I mean I know void indicates not returning anything and you're right I have no idea about %log

lapis vessel
#

yes void means the function has no return type, so you can't go id foo = %orig; or return foo;

safe hornet
#

I just need to check what it returns if possible

lapis vessel
#

what type it returns?

safe hornet
#

eh, I guess a stacktrace of properties it sets or something would be nice

lapis vessel
#

yeah you can't really get that

#

where did you get the method name from?

#

limneos? docs? FLEX?

safe hornet
#

it's just a placeholder, it's a actual method I checked with flex

#

I dont really know objc and just trying to create something small atm

lapis vessel
#

FLEX as in flipboard explorer or flex as in the tweak making app?

safe hornet
#

flexing

lapis vessel
#

ok so flexing should tell you whether this method returns id or void or whatever

safe hornet
#

Yes it returns void

#

But it sets properties inside and it would be cool if I could check that and set them to something else

lapis vessel
#

I returns nothing

#

nada

safe hornet
#

Yes that wasnt clear but was referring to the properties it set but I can understand its not possible

#

can't I log all properties and values before and the values after?

lapis vessel
#

sure, but you'll have to do that manually

gaunt mesa
#

yeah

lapis vessel
#

there is no fancy theos macro to print all properties of an object unfortunately

gaunt mesa
#

couldn't he just use the logify stuff

#

wait can't u check properties in a class using flex?

safe hornet
#

yes but not live (I think)

gaunt mesa
#

no you can

#

you have to find live instances

#

there's a button when viewing the class in FLEX to view live instances

safe hornet
#

show 0

gaunt mesa
#

fr then yeah ur gonna have to do it manually

safe hornet
#

where can I even view those logs

gaunt mesa
#

are you on a mac or windows

safe hornet
#

windows

gaunt mesa
#

you're going to need idevicesyslog

#

and it should print any NSLog() output

safe hornet
#

not found :/

gaunt mesa
#

lmfao

#

one second lemme see if i can find it

#

i believe these ones work

safe hornet
#

cool thanks

#

It was complaining about NSLOG, had to include a lib so I did #include <Foundation/NSObjCRuntime.h> but still

grim sparrow
#

is importing Foundation too much now?

safe hornet
#

why do I even have to include anything external just to log

#

oh but it still errors after including

grim sparrow
#

oh wait i c

#

you're toolchain doesn't like arm64e

#

just get new one

safe hornet
#

man

#

I don't know how to be honest, I just installed Theos Dependencies

grim sparrow
#

are you trying to compile on iOS?

safe hornet
#

yes

grim sparrow
#

elu or pro?

safe hornet
#

what's that

grim sparrow
#

what jb you using

safe hornet
#

checkra1n

grim sparrow
#

elu

#

i swear theos dependencies uses really old stuff

#

depends*

safe hornet
#

Can I install the toolchain manually in some way

grim sparrow
#

what version of clang do you have

safe hornet
#

3.7.1-1 I think

#

5.0.1-2 for 64 bit one

shut stag
gaunt mesa
#

nfr

#

someone explain how to do bingner toolchain for daniell

#

someone on linux/wsl *

subtle grail
#

yeah this one works

restive ether
subtle grail
#

wtf

#

belgian fries

cursive pecan
safe hornet
#

what target can I set if I dont have to compile for arm64e?

restive ether
#

arm64

safe hornet
#

but the clang one TARGET := iphone:clang:latest:7.0

restive ether
#

that’s just how it’s set by default, not like you can’t change it

safe hornet
#

I know I can change it but idk what to change it to so it'll stop trying to compile for arm64e

#

Where can I do that

gaunt mesa
#

in ur makefile

#

just specify that

safe hornet
#

oh I tried to set it in profile

gaunt mesa
#

basically the way target works is [device]:[compiler]:[sdk_version]:[min_ios_version]

safe hornet
#

well it's not fine, still shows

/var/mobile/theos/vendor/lib/CydiaSubstrate.framework/CydiaSubstrate.tbd:2:42: error: unknown bit value
archs:           [ armv7, armv7s, arm64, arm64e, i386, x86_64 ]
```for arm64e
#

Yea but I dont need to do that

indigo peak
#

How would I hook this specific UIView

safe hornet
#

Im trying to only target arm64

lapis vessel
#

yes you can't hook it

#

it's just self.view, not rly any traversing needed

#

in flex, if a vc name is in parentheses it means it is the .view of that vc

safe hornet
#

idk man it wont pick up the archs I set

#

maybe it will but the error is from a lib internally

gaunt mesa
#

i'm also busy

safe hornet
#

I feel like modifying that line manually atm

#

and just remove it lol

#

no I mean just arm64e

lapis vessel
#

do you know objc?

#

we don't know that viewDidLoad is what he wants, we don't know what he's trying to do with it

indigo peak
safe hornet
#

well rip changing the file wont work

gaunt mesa
#

@lapis vessel idk if you noticed it or not, but coolstar prevents watchdog from being hooked:

doubt anyone was hooking it but just letting you know tweaks will not be able to hook watchdogd in the next versions of Taurine and Odyssey

#

it shouldn't be a problem with cr4shed right?

lapis vessel
#

no I don't hook watchdogd

tepid olive
safe hornet
#

I actually give up on this

gaunt mesa
#

you don't need that for arm64e compiling

#

you can use bingner's LLVM toolchain lol

safe hornet
#

I cant find one for ios

#

Or will the linux one work?

#

oh its in the releases

gaunt mesa
#

you should be using WSL for theos tbh

safe hornet
#

Yes but I didnt want to bloat my wsl because Ill be removing everything once I got this to work

gaunt mesa
#

it's just a matter of uninstalling build deps and deleting $THEOS

safe hornet
#

I always forget about what I did

#

I still have tons of java stuff flying around

gaunt mesa
#

lol

#

because "no one should be hooking them:

#

convince them

#

my opinion doesnt matter to them since they found out im not a taurine shill

#

hook libhooker

safe hornet
#

I can't remove ios toolchain without removing theos dependencies

#

anyway I installed the ios toolchain to $THEOS/toolchain/ios/iphone, how can I make theos use that one instead?

gaunt mesa
#

iirc it should just use it by default

#

@grave sparrow pls confirm

safe hornet
#

bash: HEOS/toolchain/ios/iphone/XcodeDefault.xctoolchain/usr/bin/clang++: No such file or directory

#

there is a bin folder in iphone, maybe it's just that one

gaunt mesa
#

$(THEOS)

#

not $THEOS

#

@safe hornet

safe hornet
#

ah

#

/var/mobile/theos/toolchain/ios/iphone/bin/clang++: No such file or directory man

#

ill just browse everything

#

There is no clang++ in that bin directory

#

there is arm64-apple-darwin14-clang++

#

do you think renaming that one to it will fix it

#

okay Im gonna copy and try and otherwise throw my phone out of the window

#

bash: /var/mobile/theos/toolchain/ios/iphone/bin/clang++: cannot execute binary file: Exec format error are you kidding me

#

okay ty for all the help tho, I might try on linux some time in the future

safe hornet
#

@gaunt mesa Okay I went with wsl anyway
/home/daniell/theos/toolchain/linux/iphone/bin/arm64-apple-darwin14-clang++: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory :/

gaunt mesa
#

did you follow the exact instructions on the wiki?

safe hornet
#

The toolchain link there is broken

gaunt mesa
#

that's the user's fault

safe hornet
gaunt mesa
safe hornet
#

alright

gaunt mesa
#

use this one

#

all u need to do is tar it

#

no need for pushd

#

just make sure the toolchain is in $THEOS/toolchain/linux/iphone

safe hornet
#

.tar.zst wth

#

how can I install this in one line

gaunt mesa
restive ether
#

probably because “you can’t trust the user to figure out their own problem”

#

thus they do not wish to delete with the harassment on their end

#

wether the issue is truly what it is is up for interpretation

wicked summit
#

true

#

true

safe hornet
# gaunt mesa tar has a --zstd CLI flag i believe

its the same

==> Preprocessing Tweak.x…
==> Compiling Tweak.x (arm64)…
/home/daniell/theos/toolchain/linux/iphone/bin/clang++: error while loading shared libraries: libz3.so.4: cannot open shared object file: No such file or directory

gaunt mesa
#

did u install all the dependencies?

safe hornet
#

Yes, installed everything but the optional swift ones

wicked summit
#

this isnt the hooking libraries problem

#

hooking library should disable all hooking because devs can use hooking to fuck up a phone!!

restive ether
#

wether the issue will truly be mitigated by that is another issue, and if who’s fault it is also

#

same thing with package managers, they should block a repo that will undoubtedly break your install. just because there should be entry bar doesn’t mean there is one ¯_(ツ)_/¯

wicked summit
#

good for package managers to warn about repos, but they shouldnt block them completely

restive ether
#

you should definitely be blocking procursus in an elu install and vice versa

wicked summit
#

only block one repo

#

/repo capt

restive ether
#

!repo captinc

faint lionBOT
restive ether
#

figured

wicked summit
#

gracias

tepid olive
#

beautiful site

restive ether
tepid olive
faint lionBOT
#
Substrate Safe Mode

safe mode safety extension (safe)

Author

Jay Freeman (saurik)

Version

0.9.6005

Price

Free

More Info
restive ether
#

many moons ago

#

!package deez

weary heath
restive ether
#

sad

#

!package safe

#

maybe it’s just repo

#

i forget

#

i know slim did that at some point

#

to be inline with all our other commands

safe hornet
#

@gaunt mesa Are u using ubuntu 20.04 too by any chance? I ran sudo apt-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main" and then installed clang 6

tepid olive
#

clang 6 sounds old

#

I'd use at least 11

safe hornet
safe hornet
#

D:

#

its actually impossible

restive ether
#

defiantly shouldn’t be clang 6

#

clang-10 or 11

safe hornet
#

what version do I need then

gaunt mesa
#

clang 10 or 11

safe hornet
#

oh man thank you

#

did just "make" actually install it?

twilit jungle
gaunt mesa
#

but you need to set THEOS_DEVICE_IP for it to rsync

safe hornet
#

cool thanks

safe hornet
#
#import <UIKit/UIKit.h>
#include <Foundation/NSObjCRuntime.h>

@interface XView : UIViewController

@property(nonatomic, strong, readwrite) UIView *localAdView;
@end

%hook XView

+ (void)adViewWillAppear {
    self.localAdView = [[UIView alloc] initWithFrame:CGRectZero];
    %orig;
}

%end

```I'm missing something

Tweak.x:12:9: error: member reference type 'struct objc_class *' is a pointer; did you mean to use '->'?
self.localAdView = [[UIView alloc] initWithFrame:CGRectZero];
~~~~^
->
Tweak.x:12:10: error: no member named 'localAdView' in 'struct objc_class'
self.localAdView = [[UIView alloc] initWithFrame:CGRectZero];

naive kraken
#

@safe hornet you're hooking a class method (+ means class method, - means instance method) and class methods don't have self, but looking at the code, adViewWillAppear is probably an instance method and you just put the wrong sign in front of it

safe hornet
#

ah ty

#

well seems like this class is part of a parent controller, guess I can't hook into it easily

safe hornet
twilit jungle
#

Hooking is like overriding, can you override a method of a member?

safe hornet
#

If I had to guess then yes

twilit jungle
#

Is that a 50/50 guess or a red pill blue pill guess?

safe hornet
#

idk if it's not possible, would that mean if you want to prevent tweaks, you'd just encapsulate all your methods in child classes 😅

twilit jungle
#

Lol, no it is possible. My question was more to point out that hooking isn’t like an alien thing. If you can figure out how you would override a method of the member then you pretty much figured out how to hook it as well (granted its slightly different syntax).

safe hornet
#

I mean I know how to do it if it's a parent class + method

#

But I can't find anything about declaring a class as member of parent in the interface, let alone how to hook in such case

twilit jungle
#

nested structures?

safe hornet
#

Okay so all classes inherit from NSObject right, if @property is the only directive, I'd expect @property NSObject SomeNestedChild; to be valid

twilit jungle
#

Thats not how inheritance works

#

Property is essentially a instance variable + getter/setter.

safe hornet
#

but isn't there anything else other than property

twilit jungle
#

What else would there be?

safe hornet
#
@interface XXX : UIView
@property(nonatomic, strong, readwrite) UIView *localAdView;
@end

@interface MainViewController : UIViewController
@property NSObject RABottomBannerView; << XXX is part of MainViewController
@end
```how else would I write this
wicked summit
#

@solid cosmos

safe hornet
#

Like I don't know @member or something

wicked summit
#

no

#

what you did is mostly correct

safe hornet
#

What is the valid syntax for it?

#

Im trying to make sense with my fundamental knowledge, I dont know objective c

wicked summit
#

well you missed a *

safe hornet
#

really

wicked summit
#

nah i'm lying

#

yes really

safe hornet
#

@property is such a stupid name

wicked summit
twilit jungle
#

No... it shouldn’t be NSObject

safe hornet
#

it's not even a property semantically

wicked summit
#

eh

#

"property" exists in multiple languages

safe hornet
#

it does compile tho, what should it be instead of NSObject?

wicked summit
#

it is a little different in objc with synthesized getters and setters but by no means totally foreign

twilit jungle
#

It is a property by “Property is essentially a instance variable + getter/setter.” definition. Its generating the instance variable, getter and setter for you.

safe hornet
#

alright

wicked summit
#

well it is an NSObject

#

but it's probably also a UIResponder

#

and also probably a UIView

#

and possibly some subclass of UIView

safe hornet
#

I see, so if you were to not care about anyone reading your code, leave it as NSObject

wicked summit
#

uhh

#

you should write your code not stupidly regardless

safe hornet
#

But how do you decide what to define it as

#

like the last child in the chain?

wicked summit
#

yes

#

because that's what it is

#

the lowest/most specific subclass encapsulates its entirety

twilit jungle
#

No... you define it to whatever interface you want to expose it as.

wicked summit
#

it depends what you're doing fr

twilit jungle
safe hornet
#

alright, the interface def is correct now

#

now how would I hook that member's method 😅

shut stag
shut stag
twilit jungle
#

Can you guys make that happen on april 1st next time?

safe hornet
#

How does hooking that member work? Does objc make use of runtime type reflection? Like if I hook into the child member, does it know it's a child because of the interface definition?

#

or do I have to actually hook into the parent first and hack my way down to the child class and then it's method

turbid fjord
#

June 7th to June 11th is WWDC

safe hornet
#

okay it doesnt do type metadata reflection confirmed

#

so will have to somehow get a reference to the member

primal perch
grim sparrow
turbid fjord
#

Fr

safe hornet
shut stag
#

oh wait

turbid fjord
#

This says otherwise

shut stag
#

wait shit

turbid fjord
#

Well done

shut stag
#

okay WWTC is June 6

#

Sunday

shut stag
turbid fjord
tepid olive
#

thanks aaron

#

i’m not there monday nfr

turbid fjord
shut stag
#

its pre-recorded anyways

turbid fjord
#

True

lethal ice
#

this took 5 minutes to render

turbid fjord
#

@lethal ice happy

#

Birth

lethal ice
#

thank

tepid olive
#

hbd

junior crescent
junior crescent
#

happy birthday

tepid olive
#

also hbd

brave frost
#

happy birthday scoop

lethal ice
#

thank

lethal ice
tepid olive
#

its an iconic movie, look it up

lethal ice
#

i dont get it tho

tepid olive
#

the visual reminded me of the movie

lethal ice
#

oh nice you probably saw the same thing

#

its the most common fractal

tepid olive
#

thats crazy

brave frost
#

cha cha cha

lethal ice
#

thank

restive ether
#

meth

tender basin
#

Is there a tweak that works similar to like android ADB?

faint lionBOT
#
tweakdev

HOW TO GET INTO TWEAK DEVELOPMENT

This has been asked countless times so it's time that there is a long message that explains this.
One of the first things you want to do is reach a "baseline" before you can even think about getting started.

What this means is that you need to be familiar with Object Oriented Programming and how to use Objective C.
uroboro was kind enough to create a guide that you can find here: https://uroboro.github.io/Learn-Objective-C-in-24-Days-Clone/
Additionally, you should also learn a little bit about how iOS works, learn some basic frameworks/stuff you will need to work with.
Stuff like how to use UIKit, Foundation, etc. Once you have a pretty good understanding of these, then you can proceed.

The next step is to actually start making tweaks. Install a tool called Theos for your appropriate device.
The installation wiki can be found here: https://github.com/theos/theos/wiki, please make sure to follow the appropriate platform instructions.
After that, you are ready to start making tweaks, please follow a tweak development guide. (Here's one if you're lazy: https://kodeycodesstuff.tech/guide)

muted lily
#

Oh nice!!!

#

awesome, much appreciated!

sturdy delta
#

@tepid olive sarcasm orrrrr.....

next wadi
#

-(BOOL)weDontNeedNoEducation;

#

pog dev role @tepid olive

twilit jungle
#

Yeah rust is cool... &2.to_string()

next wadi
twilit jungle
#

Sure

#

whatever you say

sturdy delta
#

i think rust is superior to c

twilit jungle
sturdy delta
#

but then again objc is better than rust

next wadi
sturdy delta
#

facts

twilit jungle
#

There absolute is

#

Its asm or bust

sturdy delta
#

well there is the c vs cpp debate

next wadi
#

i think you mean HTML or bust buddy

sturdy delta
next wadi
#

e

twilit jungle
#

Anything that has language in the name isn't actually a language

next wadi
#

true

#

what does HTML stand for again

twilit jungle
#

HTM fake ass Language

next wadi
#

true

sturdy delta
#

lmao

next wadi
#

Hyper Text Markdown Language?

twilit jungle
next wadi
#

i think

sturdy delta
#

isn't python just the superior scripting language

#

anyone remember lua

next wadi
#

im gonna get smoked for this but

sturdy delta
#

yk the arrays at 1?

next wadi
#

JS isnt that bad

restive ether
#

you act like lua is dead lol

sturdy delta
#

never implied that i know its around

#

but do you use it?

#

probably not

subtle grail
sturdy delta
subtle grail
#

neovim moment

sturdy delta
#

vb moment

subtle grail
gaunt mesa
next wadi
#

true

#

o

gaunt mesa
#

marcock

tepid olive
#

you used to be able to make rust jb tweaks lol

#

aspen killed it though

#

because rust didn't support arm64e

#

anyway does anyone know how i can debug missing symbols in an app

#
dyld: Symbol not found: _kCAGradientLayerConic
  Referenced from: /var/containers/Bundle/Application/CD622427-1FC0-495F-99C3-19EB77287A6E/Sileo.app/Sileo
  Expected in: /System/Library/Frameworks/QuartzCore.framework/QuartzCore
 in /var/containers/Bundle/Application/CD622427-1FC0-495F-99C3-19EB77287A6E/Sileo.app/Sileo
#

got this issue

twilit jungle
grim sparrow
#

Think about it

#

You’re back porting an app built for 12+ to 9+

#

It’s not exactly unrealistic that it’s referencing symbols that don’t exist in an older version

tepid olive
#

i understand that

grim sparrow
#

You don’t reference that symbol

twilit jungle
#

Whats there to debug?

grim sparrow
#

Ezpz

#

^

#

What are you actually trying to achieve

#

You’re trying to use code that doesn’t exist

tepid olive
#

it still references symbols even when using @available right

twilit jungle
#

No

tepid olive
#

uhh ok then i have literally no idea what it's crashing on

#

i'm not using any instance of CAGradientLayer

twilit jungle
#

Technically the symbol reference will still be in the binary but it shouldn't be resolved

lethal ice
#

thanks server upload limit

twilit jungle
#

Use OpenGL

lethal ice
#

true

#

the calculations take so long tho and the c++ class doesnt speed it up

#

@twilit jungle optimize my code for me

#

thank

twilit jungle
late ridge
#

WOAH

#

what happened to twickd

#

it looks so good now

dawn forum
worldly perch
#

gradient hurts my eyes though

next wadi
#

hbd @lethal ice ily

azure sail
#

!t tweakdev

faint lionBOT
# azure sail !t tweakdev
tweakdev

HOW TO GET INTO TWEAK DEVELOPMENT

This has been asked countless times so it's time that there is a long message that explains this.
One of the first things you want to do is reach a "baseline" before you can even think about getting started.

What this means is that you need to be familiar with Object Oriented Programming and how to use Objective C.
uroboro was kind enough to create a guide that you can find here: https://uroboro.github.io/Learn-Objective-C-in-24-Days-Clone/
Additionally, you should also learn a little bit about how iOS works, learn some basic frameworks/stuff you will need to work with.
Stuff like how to use UIKit, Foundation, etc. Once you have a pretty good understanding of these, then you can proceed.

The next step is to actually start making tweaks. Install a tool called Theos for your appropriate device.
The installation wiki can be found here: https://github.com/theos/theos/wiki, please make sure to follow the appropriate platform instructions.
After that, you are ready to start making tweaks, please follow a tweak development guide. (Here's one if you're lazy: https://kodeycodesstuff.tech/guide)

azure sail
#

@primal perch am learning shhhh

faint lionBOT
#
fr

fr

late ridge
#

fr

#

except the gradient

#

is like... nfr

primal perch
#

wtf

#

you right

late ridge
primal perch
#

they do taxes too wtf

#

legal twickd when

late ridge
#

the dashboard is so broken lol

twilit jungle
#

wtf I can't use it as my sugar business anymore

gentle grove
#

once college board grades my minesweeper it will go on procursus

primal perch
#

me when college board

#

when u really pay 95$ for a test that takes over 2 months to grade

twilit jungle
gentle grove
#

this isn't even the test lmao

#

it's the "create task"

#

make your own program

#

the thing that surprised me most is that I had to pick other in the programming language dropdown and manually enter C

#

I thought C was like one of the most popular languages

primal perch
#

nah

lethal ice
primal perch
#

little usage compared to the big ones

#

c++ python java

#

js

gentle grove
#

they had scratch listed

primal perch
gentle grove
#

maybe they don't expect people in this class would try to do C

primal perch
#

NSCoop

restive ether
primal perch
#

fr

#

you cant get audited by the irs if youre a minor right

lethal ice
#

weed

primal perch
gentle grove
#

oh my goodness

restive ether
#

but given that you’re a minor you’re probably entitled to some like representation

#

presumably

#

i’m not a lawyer

gentle grove
#

My tax evasion plans are ruined

restive ether
#

i just took law classes

primal perch
#

wait yes youre immune or arent

restive ether
#

you aren’t

#

definitely not

primal perch
#

and even then i probably can get fucked in adult years anyway

restive ether
#

you can still work as a minor so

primal perch
#

mfw i pay taxes and cant vote

restive ether
#

definitely can get audited

restive ether
#

either that or don’t tax minors take your pick

next wadi
primal perch
#

true

#

based

restive ether
#

same thing with DC

primal perch
#

i prefer 2nd option personally but at least pick one

restive ether
#

if they aren’t getting real reps don’t tax them

lethal ice
#

gmgmgmgmgm

restive ether
#

based take

#

gm piss

primal perch
#

gm racist

next wadi
ashen birch
#

gm

tepid olive
#

Can i pay someone to make me a tweak or is that not a thing

#

That you guys offer

lapis vessel
#

@lethal ice hbd 🥳

upbeat wyvern
dawn dome
#

Anyone know how to add those like

#

In app terminals

#

That FutureRestore GUI and Betelgeuse have

hardy glen
#

Setting icon label color to the average color of icons for the fuck of it lol. Average color calculating method needs alot of work

dawn dome
hardy glen
#

lmao

dawn dome
hardy glen
#

i apreciate you taking matters into ur own hand though. remarkable quality

grim sparrow
hardy glen
# grim sparrow I hate and love this ngl

haha, me too, i just wanted to do it for the fun. to see if i could make a good method to find a average color. tommorow i am gonna find a way to look through the pixels to find the darkest color and use it, to avoid the white texts

grim sparrow
tepid olive
#

So true

hardy glen
#

i just got done writing user snippets in vscode after 3 hours so i can finally have a good workflow while coding.

dawn dome
#

Yea im checking main.storyboard rn

#

Hard to do on a phone

#

I hope I can get a laptop very soon

#

Currently have to use my moms lol

#

Tru

grim sparrow
#

@dawn dome what are you trying to do

#

You aren’t going to get anywhere with reading storyboard as XML

dawn dome
#

And have the mini terminal thing in it

#

Itll only take like an hour at most lmfao

#

What I’m trying to find out is how to capture and display the output

#

Yea I just need to bundle things like libimobiledevice and libirecovery

#

After that

#

EZ

#

@tepid olive hold up is there a way to make the app detect python

#

Detect if the user has python

#

Installed

#

Alright, so, if python is in the deps and the user doesn’t have it

#

What would have it

#

This is supposed to be a macOS/windows app btw

#

I don’t even have a windows laptop

#

So i don’t know what would happen

#

So the app, which is supposed to be a GUI, should be made into a .py file?

#

I thought it’d compile into an exe on windows and an .app on Mac

#

I’m honestly dumb

#

So please correct me

tepid olive
#

@tepid olive sir help i need to compile HTML to an exe

dawn dome
#

I should stop talking

tepid olive
#

oh wait-

#

htmlc helloworld.html -o helloworld

#

htmlc on procursus when

dawn dome
#

I just realized how dumb what I said was

tepid olive
#

not wrong

dawn dome
#

Oh

#

So wait

#

If it’s running the same script (and since it’s in .py)

#

Do I have to change things across platforms other than libimobiledevice

#

It’s just going to be one button running a simple python script

#

So

#

alright

hardy glen
#

learn what you’re doing first

#

do not make tools for other people to use if you can’t make them for yourself in the first place. i think you should learn how to do basic stuff first honestly.

#

and he wants to make a gui. he would have to use swift for that

#

i would use xcode and unsandbox the app and use NSTask

#

oh. i didn’t know he was using that

#

i wasn’t talking about swiftui

#

ik what swift ui and uikit is, i use them daily, i didn’t know he wanted to use python to make the gui

#

i thought he wanted it for macos. so i said to use swift?

dawn dome
#

Would be nice if Xcode didn’t ghost download

#

Doesn’t even appear

#

lol

hardy glen
#

cross platform is going to be complicated for something he is doing i hope you understand.

#

if you are still going with it and only want to use it for mac. use xcode if you know swift or objc

#

they would have to write two seperate tools lmao

#

for what they are doing most likely

#

if they want python, they have to use pymobiledevice

dawn dome
#

Thanks hearse and propr

hardy glen
#

i think the app would need to be unsandboxed if i am correct? for the script to recognize the device from within the application

dawn dome
hardy glen
#

for mac os i think.

#

i would still recommend using swift. theres alot of shit that could go wrong

#

i have couple of projects that run scripts on my device using swift

#

and capture output. so let me know if you go that route

#

okay? uhh

#

should i make this public? its a flex tweak for making and outputting a header file and copying to your clipboard.

#

i need to work on outputting the properties a little better

hardy glen
#

: ) send copy

#

I just use dsdump

indigo peak
#

Are there any oslog alternatives

#

Mines kinda broken

#

Nvm, fixed it