#development

1 messages Ā· Page 555 of 1

ripe pike
#

and it's also part of path afaik

twilit jungle
#

Its not part of PATHs based on the screenshot you shared earlier. Though It is part of theos toolchain so you shouldn't really have to add it to PATHs. But I have no clue how theos does the swift compiling.

hardy glen
#

try this

#

just curious whats going to happen

ripe pike
hardy glen
#

lmao ggz

ripe pike
hardy glen
#

no i was just wondering something stupid

#

just do apt install swift

#

and call it quits

ripe pike
#

you cant be fr

hardy glen
#

lmao

twilit jungle
indigo peak
#

cursed as fuck

ripe pike
#

that cant be real

oblique orbit
#

It'd probably be better to add the toolchain's bin dir to PATH in that case :p

#

You can try reinstalling Theos

indigo peak
#

or just hear me out

#

dont use swift

glacial matrix
ripe pike
#

no coming back now

hardy glen
#

bruh

#

no way u did that

ripe pike
#

what

#

was i not supposed to

hardy glen
#

lmao

ripe pike
#

bro?

hardy glen
#

its good just purge it after

ripe pike
#

nah i'll try to compile fist in case it works

#

i think that thing is installing every version of python out there

#

@hardy glen thx it worked

hardy glen
#

lmao

ripe pike
#

no it didnt

#

how do i purge it

hardy glen
#

same way you always do

ripe pike
#

i never purge

#

only install šŸ§‘ā€šŸš€

hardy glen
#

apt purge swift?

ripe pike
#

ok purged

hardy glen
#

idk i don't use debian

ripe pike
#

now whats the next step

hardy glen
#

try to reinstall i guess honestly

ripe pike
#

ok will do

hardy glen
#

unless someone else has a better solution

#

remove $THEOS first

ripe pike
#

nah bro im deleting kali and starting off in ubuntu

oblique orbit
#

It shouldn't matter. My WSL is on Debian and it works

twilit jungle
#

Can confirm it only works on Debian

ocean raptor
#

Does my swift toolchain even work with Orion?

indigo peak
#

@twilit jungle how did you make the hswidgets template

#

is there like a guide or something on one of the wikis

twilit jungle
indigo peak
#

^ my mentality going into 2022

indigo peak
twilit jungle
#

Well those 2 perl scripts in $THEOS/bin is how you'd do it

ripe pike
#

its listed in the orion page

indigo peak
ripe pike
indigo peak
#

should i run denicify on your template

#

see how its done

#

and then nicify a modified one

ocean raptor
#

Sounds like a skill issue

ripe pike
#

smh orange names

twilit jungle
#

Yeah though using one of the ones provided by theos devs would be better/closer to what you want then using HSWidget's one

indigo peak
#

yeah

#

makes sense

#

but i want to use yours
dgh0st best dev

#

wow thats crazy

glacial matrix
# indigo peak

there's little incentive for me to actually document it as I have plans on replacing it with an existing python tool

indigo peak
#

is the python tool going to be entirely replacing the perl tool

tepid olive
indigo peak
#

why are you like this

lethal kayak
#

windows good

tepid olive
#

i don’t know

#

do you use theos in wsl

indigo peak
#

C:\Users\donat\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04onWindows_79rhkp1fndgsc\LocalState\rootfs\

#

thats the path for me

#

the dir in \Packages might be different for you

tepid olive
#

doesn’t it show up as a network drive or something

indigo peak
#

idk how/if windows changes the name

glacial matrix
indigo peak
#

alr

tepid olive
#

@tepid olive try going to \\wsl$

#

in explorer

indigo peak
#

not to be an eta kid, but any estimated time for release

#

so i can cry myself to sleep knowing i need to rewrite the widget template

indigo peak
#

lmao

tepid olive
glacial matrix
indigo peak
tepid olive
#

small uhh

glacial matrix
#

I'd rather not give any estimates because the jailbreak scene does not do well with those

indigo peak
glacial matrix
#

things will be released when they are done, it'll be a surprise šŸŽ‰

twilit jungle
#

true

indigo peak
#

also very true

#

i made a mistake saying a tweak will release before 2022, its currently the 5th and i dont even have a jailbreak to develop on

hardy glen
#

In uroboro we trust

#

For code completion, its just a lsp server implementation

indigo peak
#

true

#

you dont have dev role

#

i do

#

kinda a dead giveaway

hardy glen
#

Dev role gets all the bitches ngl

indigo peak
#

thats why you dont have it

hardy glen
#

True

hardy glen
#

but at least it sounds simple to other people lmao

indigo peak
#

@twilit jungle why does you pre.NIC have prompts like CLASSNAME CREATORNAME & DISPLAYNAME as opposed to the application_swift template only has name "iphone/application_swift"

#

how does it know how to ask for the name, package identifier and things like that

#

or are those like standard nic things

twilit jungle
#

pre.NIC is the prompts

indigo peak
#

yeah, and why does the application_swift only have the name for the template

#

and no prompts

twilit jungle
#

Because that template only needs the name and it generates rest based on that name

indigo peak
#

so should i construct mine like yours?

twilit jungle
indigo peak
#

OHHH

#

I SEE NOW

#

caps on purpose dw

twilit jungle
#

Maybe you should try to figure out how to actual create a widget before trying to create a template for it.

indigo peak
#

yeahhh wellll i got bored of that

#

and i got tired of manually making each file each time i restart

twilit jungle
#

lmao why are you restarting so many times?

hardy glen
#

Just start working on it already before i perform a drive by on you

indigo peak
#

when something doesnt work

#

and i think of a new idea for how to do it

#

i just rm -rf the project

#

and then restart

twilit jungle
#

why do you need to remove the existing project? just make a new one?

indigo peak
#

bc i dont wanna have 10 kazillion folders

twilit jungle
hardy glen
#

Yes i love rdcworld

#

Mark phillips the best drive by shooter of all time

#

Lmaoo

#

Yes

#

Idek i know i love the one about instigating

#

mens drive by is hilarious lmao

#

It's the season of the Olympics so you know what that means! But instead of Tokyo we're taking it to the hood šŸ˜‚šŸ˜‚ who's gonna take the gold??

~RDC Social Media ~

@RDCWorld1
Mark Phillips - @SupremeDreams_1
Affiong Harris - @CleanUniform
Desmond Johnson - @l0v3andPeac3
Leland Manigo - @23_Is_Leland
Dylan Patel - @DylanPatel4_
Benjamin Skinner -...

ā–¶ Play video
#

ā€œMark has spinned the block again successfullyā€ bro the fucking commentary is jokes

high citrus
#

Is it just me or does that link just show the correct documentation (and thus hasn’t disappeared)

faint stag
#

it's sorta reproducible:

enabling vnodebypass will mimic the behavior, for example.
but it happens after loading the list normally a bunch of times. i load the list a lot because i'm toggling apps for Hestia. not like i can just fork it and implement altlist.

cc @hasty ruin

hardy glen
#

Yea vnodebypass is like that. It should be the last option for bypassing apps though

#

If everything else fails

hasty ruin
#

I’m aware of the issue, and it’s super annoying. But I don’t think it’s an issue within the library itself

I originally tried making a custom alternative applist for use in Hestia, but it just didn’t work... If I called a certain method (can’t remember the name), from flex, it’d work totally fine. However, if I made a method that simply called that other method, it would just refuse to work (returned nil). It also wouldn’t work by just calling the original method with IPC

#

super weird

faint stag
hasty ruin
#

Respringing fixes it most of the time for me

faint stag
#

indeed it does

glacial matrix
lime pivot
#

it does but it's for like iOS 10 or something

untold river
#

sorry am broke

#

stupid question but can amfid affect the success rate of jailbreak bypasses

#

i've been testing bypasses
bypasses that people've reported working for them just doesnt work for me (mostly crashes for Hestia, A-Bypass, Shadow, etc.)

#

shouganai suggested it could be because checkra1n/odysseyra1n absolutely murders amfid

#

i've found a bit more success updating to libhooker 1.6.9b2 but a lot of stuff still crashes

#

i also think this could be a libhooker issue but i havent got around to testing on stock checkra1n yet

lime pivot
#

@glacial matrix can we just delete the old Theos/Setup dev wiki page?

#

well not delete, but wipe out the contents and just link to theos.dev docs

#

with a link to see the historical version of the page from the wiki history if you really need it

glacial matrix
#

Yeah, it’s time

faint stag
#

if i recall correctly

#

attempting to make a rootfs snapshot will just kernel panic/kill pid 0 (at least with snapback)

glacial matrix
lime pivot
#

just doing it now

lime pivot
#

I spent a little too much time figuring out whether I could replicate the mediawiki redirect UI before realising it's literally just an svg with 140% size text directly next to it

oblique orbit
#

Ah nice

gentle grove
lime pivot
#

Index.php
thank you discord very cool

gentle grove
#

h,,

indigo peak
#

@grim sparrow do you have any idea of what im doing wrong here

tepid olive
#

everything

twilit jungle
#

Using swift

gentle grove
#

use rust to write your tweaks

indigo peak
twilit jungle
#

Says you

indigo peak
#

apple wants widgets to just be in swift

#

no objc

twilit jungle
#

Okay and apple doesn't want people to jailbreak devices either

indigo peak
#

swiftui moment

untold river
gentle grove
#

in rust you do not add just one dependency

indigo peak
#

does swiftui have its own private framework

untold river
#

or cargo.toml

gentle grove
glacial matrix
indigo peak
#

i managed to get it down to this

gentle grove
#

did you try putting stuff in scope troll

indigo peak
#

i have no clue what or how

gentle grove
#

me neither

#

whats ConfigurationIntent

#

and provider

indigo peak
#

dont know

wicked summit
grim sparrow
ripe pike
#

@wicked summit for the love of god please tell me how to fix this

#

happens in kali and ubuntu

restive ether
#

you ain’t got no swift bro

ripe pike
#

i got

#

i swear

wicked summit
#

idk what a Linux is

#

But you gotta download swift

ripe pike
#

but i have swift

#

its in the toolchain

oblique orbit
#

Try it on Debian

wicked summit
#

type swift into terminal

twilit jungle
ripe pike
#

maybe i dont have swift

#

but i dont think swiftclient is the right one

#

i already tried apt-get install swift

#

but it didnt fix it

#

unless im downloading the wrong swift

wicked summit
#

follow the error instructions

#

also

#

VLCFUCKER

ripe pike
#

i accidentaly fucked my path by trying to install swift

oblique orbit
#

Just installed Theos w/ Swift on WSL2 Ubuntu 20.04. It works fr Please reinstall and follow the steps correctly. Highly doubt it's a Theos issue

ripe pike
#

can i fix it without reinstalling ubuntu?

oblique orbit
#

Ah no

ripe pike
#

im having the problem with orion

#

not theos itself

#

@wicked summit which toolchain do you use

#

cam's?

restive ether
#

cam’s

#

everyone loves cam

ripe pike
#

man

wicked summit
#

I don't know

ripe pike
#

can

wicked summit
#

I haven't compiled anything in months

#

school šŸ˜”

ripe pike
#

i can only believe orion is broken

#

no other option

#

@unkempt cave fix pls?

#

no

#

objc hurts my brain

wicked summit
#

virginity is cool sooooo

restive ether
wicked summit
#

my step sister would beg to differ

ripe pike
#

oh?

restive ether
wicked summit
#

no

restive ether
#

depends on the state

#

the law varies

wicked summit
#

i don't think the law varies

#

name one state in which it's considered incest

#

there's no blood relation so it by definition is not

ripe pike
#

is incest not acceptable in this discord

wicked summit
#

close minded people šŸ˜”

ripe pike
#

how do i set THEOS_DEVICE_IP to my environment

ocean raptor
#

@ripe pike did you install my toolchain or sbingner's ( 🤮 )

ripe pike
#

compiling through orion is broken for me

wicked summit
ripe pike
ocean raptor
ripe pike
#

still not working

wicked summit
#

what isn't working

ripe pike
ripe pike
wicked summit
#

Send command

ripe pike
#

make do

ocean raptor
wicked summit
#

make do THEOS_DEVICE_IP=0.0.0.0

restive ether
#

python 2.

ocean raptor
#

replace 0.0.0.0 with the ip of your device

ripe pike
#

ah

ocean raptor
#

smh

ripe pike
#

that makes sense

#

lol

wicked summit
#

python 2 be like

print "bruh"
ocean raptor
ripe pike
#

apt-get btw

ocean raptor
#

no

ripe pike
#

apt install didnt work

ocean raptor
#

apt is better

#

sounds like a skill issue

ripe pike
#

it didnt find libpython2.7

ripe pike
ripe pike
#

because it rejected

#

nvm i forgot to install openssh

wicked summit
ripe pike
#

too money

#

objc compiled but not swift

wicked summit
wicked summit
#

šŸ‘

ocean raptor
#

@restive ether look at the quickactions depiction, what do you notice?

restive ether
#

link it

ocean raptor
#

besides that the screenshots are super blurry

ripe pike
#

why is the code command gone

restive ether
ripe pike
#

how am i supposed to open vs code now

#

wtf

ocean raptor
restive ether
#

is it your dumbass AGPL license

#

that’s pretty cringe

ocean raptor
#

I agree, but not that

#

look at the screenshots

twilit jungle
#

Isn't that spotify icon the wrong orientation?

ocean raptor
lime pivot
ripe pike
#

man

twilit jungle
#

No but if you flip the phone to be right side up, the spotify icon is upside down

ocean raptor
#

man, only iAdam1n spotted it

restive ether
ocean raptor
#

Acces woeuhh

lime pivot
#

heheh Adam legit just saw that and I went oh my god

ocean raptor
#

I can't find where I made that image woeis

lime pivot
#

this sounds insane but

ocean raptor
#

just gonna redo the text in krita i guess šŸ¤·ā€ā™‚ļø

lime pivot
#

literally just add some extra space and clone the "s"

ocean raptor
#

great idea

#

I don't know what font i used so thats the best option

lime pivot
#

it looks very SF-like

#

there's the non blurry thumbnail version

#

I can also send you the actual original you uploaded if needed (since we re-encode as high quality jpeg and resize a tiny bit)

ripe pike
#

class LabelHook: ClassHook<UILabel> {
    func setText(_ text: String) {
        orig.setText(
            text.uppercased().replacingOccurrences(of: " ", with: "penis")
        )
    }
}```

how do i hook to UILabel in objc
#

it literally hurts my eyes

#

swift is way cleaner

#

how would you do that in objc then

tepid olive
#

you are very contradictory capt

lime pivot
#

you're literally a home computer that runs BASIC and 6502 assembly

tepid olive
#

you are a pokemon with the last letter missing from the name

ocean raptor
#

@lime pivot look good?

#

I think I got the kerning right, at least not noticeably wrong

tepid olive
#

is that SF

ocean raptor
#

I think so

tepid olive
#

the spacing looks very wrong

ocean raptor
#

I just copied the s

#

I don't have the original psd or whatever I made it in

#

so I shifted the Acces and your favorite over

#

and duplicated the s

ripe pike
#

wtf

#

swift is like 50% that

ocean raptor
#

hook UILabel uhh

ripe pike
#

mf re-wrote my entire code

#

lmao

#

ty @grave sparrow

ocean raptor
#

@lime pivot so how do I replace an image, or at least remove it from the carousel in the dashboard?

ripe pike
#

HAHA IT WORKS

ocean raptor
#

intentional

lime pivot
#

you ask us very nicely because we haven't implemented deleting yet appleneutral

ripe pike
ocean raptor
lime pivot
#

man

ocean raptor
#

pleas delete the screenshot with a typo, thank you

#

I made a typo in that message uhh , actual irony

ripe pike
#

yes

#

šŸ‘

lime pivot
#

pleass*

ocean raptor
#

nobodyšŸ‘caresšŸ‘shutšŸ‘up

lime pivot
ripe pike
#

@shut stag šŸ‘‰ šŸ‘ˆ 🄺

ocean raptor
#

literally orion example code smh

tepid olive
#

it’s literally the demo orion project.

ripe pike
#

it is

#

lol

tepid olive
#

cameron nfr

lime pivot
#

you'd have to give me a lot of money to allow that on chariz

ocean raptor
ripe pike
#

yeah I realized

#

but I think UILabel did a great job in this example

#

because it didnt change the title

#

discord is a virgin

tepid olive
#

@ripe pike you should settle for Pluto Repository

ocean raptor
#

pluto KEKW

tepid olive
#

The best Repository for Jailbroken Devices

#

Pluto Repo.

#

Made by 6 fraudulent individuals

ripe pike
#

i'll submit my tweak there

restive ether
#

L

lime pivot
#

submit them to the blog

tepid olive
lime pivot
#

shush you

tepid olive
#

Thanks for telling me the DNS

#

that is one language

ripe pike
#

@grave sparrow I see that hooking was easier in objc, but why did you import Foundation

lime pivot
#

actually 1 language the rest are runtimes

tepid olive
#

Next.JS kekw

#

TypeScript is the best

#

I wish I had a proper use case

#

I just used it for my site

ripe pike
#

oo okay

tepid olive
#

And it was great for that

lime pivot
#

I'll take writing TypeScript over writing Swift appleshrug

#

Swift is overengineered in the worst possible ways

tepid olive
#

i love how much you can do with typescript typing

#

but then again it’s the feature

lime pivot
#

TS is also overengineered but in ways that actually make it easier for me to write and more importantly, ship stable code

ocean raptor
#

depending on Prefix.pch 🤮

tepid olive
ripe pike
#

what does NSString handle? every string?

tepid olive
#

I use Promises in Swift intjpray

#

Best thing ever

ripe pike
#

ty daddy

#

also would it change every string if I had hooked to the springboard instead of the vlc app?

#

replace spaces in every app

#

yeah

#

so where would I need to hook to change text device-wide

ocean raptor
#

Not being able to add features to Procursus because Cydia doesn't support something and the Sileo version bundled in Taurine/Odyssey is too old is the bane of my existence

ripe pike
#

hmmmmm that sounds perfect for what I want to do

restive ether
#

nerd

pearl sail
ocean raptor
restive ether
#

i don’t think adding conf’s should be that hard

pearl sail
#

Just email bingner the diff

ocean raptor
pearl sail
ocean raptor
#

I'm sure he'd gladly merge it

#

remember when I submitted a patch to saurik but he rejected it cause I insulted him on twitter trol

pearl sail
ocean raptor
#

I'll build a new strap tomorrow

restive ether
#

truly i don’t know if sileo’s even works

#

not sure anyone tested it

ocean raptor
#

crap

#

now I gotta test stuff

restive ether
#

maybe it does

#

there’s a resolv.conf in the test data

pearl sail
#

I thought we tested it with openssh conf file maybe I am wrong

ocean raptor
#

oh, I probably can't do it tomorrow, we'll see though

restive ether
#

i’m assuming someone would’ve noticed if that didn’t work

ocean raptor
pearl sail
#

Maybe that was on my own end then

ocean raptor
#

you may have done it in your PR

#

ok

#

gn

pearl sail
#

gn

ocean raptor
#

i got school tomorrow woeis

pearl sail
untold river
hardy glen
#

shoutout ktool

hardy glen
#

for the moment, maybe try to hook autohide time for the time being?

#

DOCKPreferences.h

#

Dock.app

indigo peak
hardy glen
#

don't give up

indigo peak
#

new as in a new iOS version?

#

Bc I have 14.4

silver rampart
indigo peak
#

Can I even?

#

Apples widgets are made with SwiftUI

hardy glen
indigo peak
#

SwiftUI widgets but as a theos template

#

so you can compile without Xcode

hardy glen
#

damn looks like you got a rough road ahead of you

indigo peak
#

fuck

#

I managed to get down all my errors

#

Except for the intents one

#

@grim sparrow if I use this from your sdk repo, could it work?

#

or is that sdk not patched

unkempt cave
ripe pike
tepid olive
#

@indigo peak grab an unpatched ios 15 sdk lol

#

unless you need private frameworks

indigo peak
#

I don’t think I need any private frameworks

indigo peak
indigo peak
#

like 0?

#

@tepid olive I thought of a way to make the discord theme tweak, just hook UIColor and it’s initialization like colorWithRed:green:blue:alpha, and over overwrite the colors there :fr:

grim sparrow
indigo peak
indigo peak
#

thanks

ocean raptor
indigo peak
#

that’s the only thing wrong with that

#

not even my approach you’re telling me is wrong

glacial matrix
indigo peak
ocean raptor
#

I have a C++ class this semester

#

gonna be so easy

indigo peak
#

I got so sad until I realized it was the UIColor

glacial matrix
#

Well, I haven’t seen your widget code yet…

indigo peak
#

It’s more of the errors, and not the code

indigo peak
#

No matter what I tried ConfigurationIntent wasn’t working

#

And I just copied the code from an xcodeproj

glacial matrix
#

Ah. That looks fine (the error output not so much)

indigo peak
#

I fixed the main error

#

I don’t have a ss of that, I’m not home rn

#

But the ConfigurationIntent still was erroring

glacial matrix
#

Tbh, I haven’t touched Swift since 3.1

indigo peak
#

Smart move

#

I wish I didn’t have to

#

But widgets are made with SwiftUI

#

And no objc

#

And I don’t feel like converting it over

#

I want it to work as native as possible

#

So

glacial matrix
#

Understandable

indigo peak
#

My goal is to have it as a default theos template

#

So I want it to have as little custom code as possible

glacial matrix
indigo peak
#

But who knows how that would turn out

glacial matrix
#

Just make it work first

indigo peak
glacial matrix
#

Then you can make it nice

indigo peak
#

true

#

I’m going to try to use Amy’s iOS 14.0 Xcode sdk

#

To see if it works

#

But other than that, I can try a ios 15 sdk

#

And if neither of those work

#

I don’t know what to do

tepid olive
#

@indigo peak you don’t need a patched sdk

indigo peak
#

🄸

tepid olive
#

seek therapy

indigo peak
#

you’re telling me to seek therapy

#

okay bestie

tepid olive
#

i have therapy if that’s what you’re implying

restive ether
#

objc is boomer speak

#

what are you mfs gonna do when apple kills it

#

write python?

tepid olive
restive ether
#

maybe they’ll all start writing g*

tepid olive
#

no

restive ether
#

well that’s cursed

tepid olive
ocean raptor
tepid olive
#

understandable

ocean raptor
#

also, know your enemy troll

tepid olive
ocean raptor
#

Saurik is not actually my enemy

#

go ahead, write accord iOS in python

tepid olive
#

Ok

ocean raptor
#

are you gonna make accord iOS?

#

would be pretty cool

tepid olive
#

no

restive ether
#

f

ocean raptor
#

we can put in on proc trol

ocean raptor
tepid olive
#

i have an agreement

tepid olive
ocean raptor
ocean raptor
tepid olive
ocean raptor
#

ah

tepid olive
#

accord’s ui is very macos centered

#

even if you could get it to compile for ios it would be hell to get it usable

ocean raptor
tepid olive
ocean raptor
#

but now I'm on 15.2 woeis

tepid olive
#

i still have to fix big sur support

#

fml

ocean raptor
#

I'm on big sur

#

I'm scared to update my laptop cause I need it for school

tepid olive
#

nfr

#

i have a 2017 pro on hand

#

with big sue

#

sur

#

ugh

#

@grave sparrow is it possible to get zefram working without sip off

#

on intel

#

if anyone wants to port accord to ios i don’t care tbh

#

it will be hell

#

but whatever

restive ether
ocean raptor
#

I'm gonna open a PR to Sileo/featuredpage to add QuickActions trol

grim sparrow
ocean raptor
#

where

#

i didn't know there was a form uhh

snow python
#

Wonder if I'm still blacklisted from that

grim sparrow
#

You’re not

snow python
#

Well thats nice

ocean raptor
restive ether
gentle grove
snow python
grim sparrow
ocean raptor
ocean raptor
ocean raptor
pearl sail
#

:OK:

silver rampart
#

update for dumb tool

#

should be about 40% faster now at loading objc headers

#

dumps about 1300 frameworks in 2 minutes 40s on a 3 core github actions machine

gentle grove
ocean raptor
gentle grove
#

I think j remember seeing a way to do that before

ocean raptor
#

there isn't

#

I've checked

silver rampart
#

cloudflare pagerule could also get the job done

ocean raptor
#

But I could use an nginx rule

#

In theory

indigo peak
#

@grim sparrow replacing my sdk with the xcode one didnt fix it

twilit jungle
indigo peak
#

is there a ios 15 sdk

#

patched or unpatched

twilit jungle
indigo peak
#

found it

#

ty

tepid olive
#

No

silver rampart
#

haven't actually tried it, but afaik structs won't properly resolve yet bc handling that is a huge issue I have to tackle later

#

but you can use the PrivateFrameworks dir to create a patched SDK from an unpatched one and it should work just fine

indigo peak
#

yeah ive been sat at my pc trying to figure out why this isnt working even with the xcodesdk

#

before i switch to the 15

hardy glen
#

Yes, i haven’t found it yet so i thought you could test it out by changing the autohide time to see a POC if it works

#

Yea i know

#

Thats what i am saying

#

Instead of transparency you could try to change the auto hide time

#

Lmao

#

Yea i think i know where to look

#

I know i know

#

I think i know where to look

#

i sent you the headers for the dock btw. I haven’t tried fuzzy searching them yet

#

Yea, there’s a file in there called springboard.h

#

It has some contents related to UI

#

I also saw methods like isDarkened

#

Which relate to dark mode i am guessing?

indigo peak
#

@tepid olive caught lacking in the stage channel

hardy glen
#

Lmaoo

#

Caught him slipping

gaunt dew
#

Hey, I'm trying to get a boolean value from SBVolumeHardwareButtonActions.h in my code. How would I tell it to read that? It keeps telling me that it's not declared

#

I did #include <SpringBoard.framework/SBVolumeHardwareButtonActions.h> at the top
I also just don't know a lot about objc tbh

tepid olive
#

hey guys so I'm trying to setup theos, I've been following the steps

curl -LO https://github.com/theos/sdks/archive/master.zip
 TMP=$(mktemp -d)
 unzip master.zip -d $TMP
 mv $TMP/sdks-master/*.sdk $THEOS/sdks
 rm -r master.zip $TMP

after unzipping, when I run this, this is what I get

usage: mv [-f | -i | -n] [-v] source target
       mv [-f | -i | -n] [-v] source ... directory```
gaunt dew
#

do echo $TPM

#

what does that return?

#

also echo $THEOS

faint stag
gaunt dew
hardy glen
#

@interface class

tepid olive
hardy glen
#

that is all i will say

gaunt dew
#

ok thanks

tepid olive
#

but then I'm thinking where in the world did my unzip go to lol

gaunt dew
#

I don't wanna ask you to write my code for me anyway lol

tepid olive
faint stag
#

well, the tmpdir exists

gaunt dew
#

ok looks right

#

but does $THEOS point anywhere?

tepid olive
#

yeah

indigo peak
#

OK

#

GET GOOD

gaunt dew
#

ALL CAPS

indigo peak
#

TRUE

tepid olive
#

whoops

gaunt dew
#

no cap

indigo peak
#

IM LITERALLY REINSTALLING MY SDKS TOO

#

LOL

tepid olive
#
/Users/liam/theos
gaunt dew
#

huh

indigo peak
tepid olive
gaunt dew
#

oh did you replace the asterisk with an SDK?

#

or is that what you ran?

faint stag
gaunt dew
#

oh

tepid olive
#

just copied and pasted

gaunt dew
#

hmmm

faint stag
#

that's a wildcard
assuming sdks are in the folder, it'll move them all

gaunt dew
#

I see

tepid olive
#

yeah

faint stag
#

ls $TMP then

tepid olive
#

ls $TMP sdks-master

faint stag
#

sdks should be in sdk-master, which is strange lol

indigo peak
#

do ls $TMP/sdks-master

#

bc if it's empty, that would make sense why it was showing the help page for mv

tepid olive
#
Liams-Hackintosh:~ liam$ ls $TMP/sdks-master
LICENSE.md        create_patched_sdk.py    iPhoneOS10.3.sdk    iPhoneOS12.2.sdk    iPhoneOS9.3.sdk
README.md        create_patched_sdk.sh    iPhoneOS11.4.sdk    iPhoneOS14.4.sdk
indigo peak
tepid olive
#

I tried to run in a new shell this is what I get

mv: rename /sdks-master/*.sdk to /Users/liam/theos/sdks/*.sdk: No such file or directory
indigo peak
#

@tepid olive L my sdks worked

#

just get good thishowitis

tepid olive
#

its already there

#
Liams-Hackintosh:~ liam$ cd theos
Liams-Hackintosh:theos liam$ ls
CODE_OF_CONDUCT.md    extras            package.json
LICENSE.md        include            sdks
Prefix.pch        lib            templates
README.md        makefiles        toolchain
bin            mod            vendor
#

I tried going old school

-bash: nautilus: command not found
Liams-Hackintosh:~ liam$ xdg-open $TMP
-bash: xdg-open: command not found
faint stag
#

hackintosh?

#

you wouldn't have nautilus or xdg-open lol

tepid olive
#

its not actually an hackintosh šŸ˜… just happened to name it only

ocean raptor
faint stag
#

oh, but that also assumes you have both xdg tools and nautilus installed lol

#

which you don't

tepid olive
#

yeah, thought it came already installed

faint stag
#

nautilus is bundled with gnome-desktop lol

untold river
#

most barebones distros wont have xdg or nautilus lol

ocean raptor
#

How you not in a hackintosh but have mktemp be in /var/folders and a BSD mv???

untold river
#

maybe they're the only nerd who uses *bsd

#

aside from you

faint stag
#

uname -s when

ocean raptor
#

Only macOS uses /var/folders

#

@tepid olive run uname -a for me

tepid olive
#

I'm not running an Hackintosh, its a mac

ocean raptor
untold river
#

frsmh

gentle grove
#

bruh

faint stag
ocean raptor
#

Then you did you try to do xdg-open feelsweirdman

tepid olive
faint stag
#

wtf

ocean raptor
#

People want to learn to program but don't even know how to read or use their computer smh uhh

faint stag
#

how, how does open just not work

ocean raptor
faint stag
#

they did, oh

ocean raptor
#

smh

untold river
#

frsmh

tepid olive
#

dude Cameron - _ - it opens finder and just the documents tab or the user dir

untold river
#

well that means $TMP got unset

#

probably

#

i dont use a mac

faint stag
#

imo a tmp dir overcomplicates things when you could just rm later

#

this isn't a script lol

untold river
#

True...

#

i couldnt even use a "normal" tmpdir setting up theos

tepid olive
#

I think $TMP got unset but I wonder how it got

untold river
#

because memory issues KEKW

tepid olive
#

it was set just a while ago

untold river
#

new terminal? new shell session?

tepid olive
#

yeah

untold river
#

yeah makes sense then

faint stag
#

a variable you set in one session won't just carry over unless it's in your shell's profile/config

tepid olive
#

I didn't close the previous one tough

untold river
#

they dont transfer over

#

unless they're set in /etc/profile or ~/.profile

#

filename different depending on your shell of choice

faint stag
#

you can just manually set it back or autocomplete the dir when typing it, if you so choose

tepid olive
#

Okay, I went back to my old terminal and TMP is there

#

but trying to do

Liams-Hackintosh:~ liam$ mv $TMP/sdks-master/*.sdk $THEOS/sdks
usage: mv [-f | -i | -n] [-v] source target
       mv [-f | -i | -n] [-v] source ... directory
faint stag
#

like $HOME trol

tepid olive
#

Well I just manually went to that temp dir and dragged and dropped

#

to conclude, this needs to be changed

ocean raptor
#

No it doesn't

#

It works fine

tepid olive
#

clearly didn't work for me

faint stag
#

you copied from the folder with a gui, so technically it worked Clueless

tepid olive
#

thats after giving up on terminal and just doing things by hand

#

rather than TMP=$(mktemp -d), it'll be easier to actually create a temp folder and do the business there

#

whats the point of becoming all fancy and running TMP=$(mktemp -d) fr

untold river
faint timber
#

TMP=$(mktmp -d ${TMPDIR}/XXX)

#

TMPDIR exists at least of macos idk about Linux

tepid olive
#

our boy cryptic saves the day šŸ‘Œ

ocean raptor
#

That's literally the same command

#

(Almost)

tepid olive
#

its the small things which make the difference

#

having trouble compiling a tweak, can anyone compile for me?

hardy glen
#

Lmao i have never had trouble installing on mac or linux

#

Most likely not, search your error and fix it

ocean raptor
tepid olive
ocean raptor
indigo peak
#

YOOOO

#

YOOO

#

YOO

#

IT COMPILED

#

now does it work

tepid olive
tepid olive
ocean raptor
indigo peak
#

u right

ocean raptor
twilit jungle
#

armv7

indigo peak
#

i didnt change it lmao

twilit jungle
#

swift on armv7

ocean raptor
indigo peak
#

fr

ocean raptor
tepid olive
ocean raptor
tepid olive
#

its 6 in the morning for me sir, would like to head to bed rather than staying up

indigo peak
#

@ocean raptor fr

#

it didnt even install

#

lmao

ocean raptor
hardy glen
indigo peak
#

oh it definitely is

#

my info.plist is bad

#

like real bad

hardy glen
#

You’re close though

#

It seems like

indigo peak
#

thats what you think

twilit jungle
ocean raptor
#

@indigo peak want to write a tweak for me?

indigo peak
#

@twilit jungle do you need to specify the TARGET := in the template makefile

ocean raptor
#

Basically I want solitaire city to work in multitasking

indigo peak
#

or does it do it automaticallyt

indigo peak
ocean raptor
twilit jungle
#

You don't have to do anything in a template... the whole point of a template is to use it to easily generate new projects.

indigo peak
#

do i need to add the line

#

TARGET := iphone:clang:latest:14.0

#

in the makefile template

#

bc it can only support ios 14

#

so i want to make the line that gets generated to be TARGET := iphone:clang:latest:14.0

twilit jungle
indigo peak
#

ok

#

wtf

twilit jungle
indigo peak
#

does the bundle id for the project need to be com.yourcompany.balls.widget

#

ughhh

#

all these errors

#

wtf

twilit jungle
#

lmao all user errors

indigo peak
#

wtf

#

dgh0st

#

bestow upon me wisdom

#

please

tepid olive
#

can i call you a nerd

hardy glen
#

@indigo peak btw the project I sent you was for iOS 15.2 frcoal

indigo peak
hardy glen
#

I got the latest tool chain

indigo peak
#

legit

#

the xcode one

#

has

#
<key>NSExtension</key>
    <dict>
        <key>NSExtensionPointIdentifier</key>
        <string>com.apple.widgetkit-extension</string>
    </dict>
hardy glen
#

Yea Ik

indigo peak
#

i do that on mine

#

and its like

#

nah

twilit jungle
#

Thats different

hardy glen
#

Let me send you one as deployment target iOS 14.4 just in case

indigo peak
#

the fact that since its from xcode

twilit jungle
#

No

indigo peak
#

it knows what to put there

#

but since im doing it through make it doesnt like it

twilit jungle
#

Yeah no

indigo peak
#

so then whats different

#

i dont see it

twilit jungle
#

The NSExtensionPointIdentifier is different (feature) than your current user error.

hardy glen
#

@indigo peak try this new project I sent you.

indigo peak
#

wdym

#

I do not understand

twilit jungle
#

Also you shouldn't be looking at uncompiled generated stuff in xCODE for reference. As the IDE could be hiding stuff that you don't need to worry about.

indigo peak
#

rip I managed to get it installed

#

but the widget isn’t there

#

so sad

twilit jungle
#

Time to start over KEKW

indigo peak
#

deadass

#

howd you know

twilit jungle
#

"Insanity is doing the same thing over and over and expecting different results."

gaunt dew
#

if I use NSLog in my tweak, where can I read the log?

hardy glen
#

^

#

WE MAKING THE WHOLE DOCK TRANSPARENT

gaunt dew
#

thanks

hardy glen
#

You could make the dock black and white possibly

#

Dockcolorspace

#

springboard

indigo peak
#

so like uhhh

#

who knows what to do

hardy glen
#

probably define that value in the info.plist

twilit jungle
indigo peak
#

dgh0st

#

just do bruh_spinner at this point

twilit jungle
indigo peak
indigo peak
#

bc i dont wanna use story boards/ dont know how to use storyboards

hardy glen
#

nsextensionprincipalclass

indigo peak
#

yeah

#

and idk the class to give it

twilit jungle
#

if only there were apple docs

indigo peak
#

im not even gonna say i read it

#

i looked

#

but

#

i didnt see anythiing

hardy glen
#

theres the docs

#

This key is mutually exclusive with NSExtensionMainStoryboard. Typically, Xcode sets the value of this key when creating an App Extension target in your project. If you change the name of the specified class, remember to update the value of this key.

#

it would be YourViewController

twilit jungle
indigo peak
#

just that?

#

it seems too bare

#

too

#

naked

#

nope still didnt work

twilit jungle
indigo peak
#

i mean, it installed

#

but its not there

twilit jungle
#

So it worked

indigo peak
#

well putting anything wouldve worked

twilit jungle
#

Yeah

indigo peak
#

so what was the point of changing it

#

if it didnt vary the results

twilit jungle
#

it got you to the next issue (user error)

indigo peak
#

why do you keep saying user error woeis

#

it makes me feel bad

#

this is a real bruh_l moment

twilit jungle
#

Because everything is a user error

hardy glen
#

For your info.plist, i would assume you could also look at installed apps with widgets and compare yours to find mistakes if any

#

and most of the widgets i looked at do not have either of those keys

indigo peak
#

same

twilit jungle
ocean raptor
#

Just give up smh

hardy glen
#

NSExtentionPointIdentifier

indigo peak
#

soon ā„¢ļø

hardy glen
#

do you have that key set

indigo peak
#

yea

#

i set it to be the filename of the view

hardy glen
#

no i mean NSExtentionPointIdentifier

#

com.apple.widgetkit-extension

indigo peak
#
  <dict>
        <key>NSExtensionPrincipalClass</key>
        <string>ViewController</string>
        <key>NSExtensionPointIdentifier</key>
        <string>com.apple.widgetkit-extension</string>
    </dict>
#

yes i do

twilit jungle
#

Have you actually implemented the ViewController class according to the WidgetKit API?

indigo peak
#

i havent done anything

#

so yeah

#

i have not

twilit jungle
#

So then why do you expect to see your widget?

indigo peak
#

bc i looked at the creating a widget extension docs and i think i have everything

twilit jungle
#

So your ViewController is subclass of Widget?

indigo peak
#

yeah i think so

#

hang on 1 sec

#

i think i found something

hardy glen
#

You know what would be helpful

#

macOS VM

indigo peak
#

nahhj

twilit jungle
#

I mean you can make one

indigo peak
#

no i have one

#

its just slow

twilit jungle
#

get better computer then