#development

1 messages Ā· Page 134 of 1

faint stag
#

well the port will default to 22

#

i ensured that

acoustic imp
#

also it hange for a while

#

also if you clcik ctrl + c it moves on

faint stag
#

i trapped sigint

#

so it's supposed to exit if it's not in a loop

acoustic imp
#

huh

faint stag
#

pressing ctrl+c enough times should exit

#

it's because pressing crtl+c there sends the signal to ssh

#

not the shell/script

acoustic imp
#

k

faint stag
#

so not really a bug

acoustic imp
#

still hangs here

faint stag
#

enter the password again ig

#

i used ssh -t with a sudo command
so it might be acting weird due to that

#

ah right this command is redirected to /dev/null 2>&1 so you don't see stdout or stderr

#

that was my bad

acoustic imp
faint stag
#

nice

acoustic imp
faint stag
#

let's goo

acoustic imp
#

šŸŽ‰šŸŽ‰

faint stag
#

okay i know what to fix

acoustic imp
#

il try ios13 tmro

faint stag
#

i updated the 2.0 release with the fixes and the new script

#

so you can just pull or clone again

faint stag
#

i need to login as mobile (ssh)
then run sudo to get root perms

#

it used to attempt to login as root directly and that doesn't work anymore

#

the sudo prompt was hidden cause i forgot to remove the redirect that was on the line

#

i could just store the password in a var or temp file to avoid typing it a few times but meh

#

since i could send the file as stdin for ssh

acoustic imp
faint stag
#

you're expected to elevate from mobile

acoustic imp
acoustic imp
faint stag
#

well it didn't work when i tried to set a password for palera1n on my SE

#

auth failed

#

so i stuck with just using sudo as mobile

acoustic imp
#

Hehehe

acoustic imp
#

Works for me

acoustic imp
faint stag
# acoustic imp

@radiant idol the funny (now) 300 line script is functional it seems
next project is to write something to parse repo info but entirely in (ba)sh lol

acoustic imp
#

Oh dear

#

Gl

faint stag
radiant idol
#

what are you even making

#

im so lost

faint stag
radiant idol
#

neat

harsh junco
slim bramble
#

Just GET repo_url/Release

#

And parse it

sonic totem
#

Brings up nothing

#

Neither does /Releases

torn cloud
slim bramble
sonic totem
#

No

#

But I don’t get your point @slim bramble

torn cloud
sonic totem
#

Oh it was /releases lol

#

Lowercase r

warped sparrow
#

YAAY

torn cloud
#

someone just sent me this

orchid fulcrum
#

Are there other repos where i can sell tweaks other than havoc/chariz ? Preferebly less picky ones

torn cloud
#

Chariz and havoc are picky because they want to see high quality tweaks

#

So make high quality tweaks

orchid fulcrum
#

Well havoc/chariz say they will only allow it if its free

torn cloud
#

?

#

Not true

orchid fulcrum
#

They said to me*

torn cloud
#

Probably because it’s not a very good tweak

orchid fulcrum
#

Because tweak is not that good yes

torn cloud
#

What does it do?

orchid fulcrum
#

But why allow it if its free then ?

torn cloud
#

Idk

orchid fulcrum
torn cloud
#

I’ve never made tweaks so I’m not really the person you want to ask

hasty ruin
torn cloud
hasty ruin
#

Nice tweak though

orchid fulcrum
#

Yes makes sense

torn cloud
#

It’s a nice tweak don’t get me wrong

orchid fulcrum
torn cloud
#

But it’s not large scale enough to be a paid tweak

harsh junco
#

iOS tweaks in asm

torn cloud
harsh junco
#

110001010

torn cloud
#

Why

#

Just why

harsh junco
#

Trolling

orchid fulcrum
#

Soo like should i try other repos (not even sure if there are any) or are you guys sure none of them will accept as a paid tweak

hasty ruin
#

Your only real option would be yourepo, but that’s pretty meh

#

Or handle payments yourself, and host it on bigboss

orchid fulcrum
#

Understood thanks

harsh junco
#

Havoc

orchid fulcrum
harsh junco
#

Chariz

harsh junco
orchid fulcrum
harsh junco
#

Whyyy

orchid fulcrum
harsh junco
#

What did you do

#

Ah

orchid fulcrum
#

Chariz said they can host it if its free though

harsh junco
#

Donations

slim bramble
orchid fulcrum
sonic totem
harsh junco
sonic totem
slim bramble
#

Bro cannot read 😭

sonic totem
#

I thought you meant git lol

harsh junco
#

ADVANCED PACKAGE TOOL

astral hound
#

Does anyone know why I get the following error when running make with theos? ```console
While building module 'Foundation' imported from main.m:54:
In file included from <module-includes>:1:
In file included from /home/matsvl123/theos/sdks/iPhoneOS16.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12:
In file included from /home/matsvl123/theos/sdks/iPhoneOS16.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:6:
/home/matsvl123/theos/sdks/iPhoneOS16.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:371:81: error: function does not return string type

  • (nullable instancetype)initWithUTF8String:(const char *)nullTerminatedCString NS_FORMAT_ARGUMENT(1);
slim bramble
warped sparrow
astral hound
astral hound
#

USD $20/month woeis

torn cloud
#

one time purchase for 6 months

drifting heron
astral hound
torn cloud
#

6 months for £50

drifting heron
#

has to be a shared account

astral hound
#

that's sus

drifting heron
#

you are not getting a private account with 6 months of GPT 4

#

you can't even subscribe for 6 months

torn cloud
#

worked flawlessly

torn cloud
drifting heron
#

you cant subscribe for 6 months

#

wheres the guarantee they'll resubscribe every month

astral hound
#

I fixed it by using the iOS 12.4 sdk instead

astral hound
#

My ~/.theosrc file looks like this THEOS_DEVICE_IP=localhost THEOS_DEVICE_PORT=2222 yet I get this error console ==> Installing… ssh: connect to host localhost port 2222: Connection refused make: *** [/home/matsvl123/theos/makefiles/install/deb_remote.mk:2: internal-install] Error 255 when I try make do but when I do ssh iphone-6 it does work correctly, this is my ssh config file ```console
Host iphone-6
ProxyCommand inetcat 22
User root
StrictHostKeyChecking no
UserKnownHostsFile /dev/null

#

I do get this warning every time I ssh into it ```console
Warning: Permanently added 'iphone-6' (ED25519) to the list of known hosts.

robust flower
#

hi there, do you have any tutorial or documentation to understand and learn about jailbreak and start to dev tweaks

sacred orbit
#

ios 16 clock has a filter which applies color to it, does anybody know how to remove it?

torn cloud
slim bramble
#

There should be a tintColor

#

Try to set it to nil

#

@astral hound have you ran iproxy 2222 22

astral hound
sacred orbit
#

nvm managed to figure it out

#

for some reason it has a hidden UIView

robust flower
faint stag
astral hound
faint stag
astral hound
faint stag
#

iproxy will let you specify a port to use
inetcat just proxies ssh directly

faint stag
astral hound
slim bramble
tough shadow
#

Hello

acoustic imp
#

Is jb causing this ? But wouldn’t that show up as lock screen/Home Screen ?

#

That’s like an hour of screen on time 😭

acoustic imp
#

pov 14pm

visual meadow
#

Yeah and it is "jailbroken"

steady nest
#

pov: semi-jailbreak

acoustic imp
visual meadow
steady nest
#

doesn't make a difference battery wise...?

visual meadow
hasty ruin
visual meadow
#

You use your phone less

acoustic imp
hasty ruin
#

10h screen on time

visual meadow
visual meadow
hasty ruin
#

looks less because I slept at 8:30 am šŸ’€

hasty ruin
acoustic imp
visual meadow
#

lol i have 90

acoustic imp
#

also get elixir tell u how many tweak u got with prefs

visual meadow
#

On phone

acoustic imp
hasty ruin
#

so yeah

visual meadow
#

Custom ones brother

acoustic imp
visual meadow
#

Ive been testing stuff so 18h

acoustic imp
#

oh

visual meadow
#

My friends is like 12 days or something

acoustic imp
#

do you have cc tweaks?

visual meadow
#

Yes

acoustic imp
#

oh

#

whys one blank?

visual meadow
#

That would be icrazes thing

acoustic imp
#

ah makes sense

#

my phone just spinlocked trol

visual meadow
#

L

acoustic imp
#

Cook

sonic totem
visual meadow
acoustic imp
sonic totem
#

Such a shame my internet is broken lol

#

Can’t see any of these images

acoustic imp
sonic totem
#

That’s the elite path

visual meadow
#

L

sonic totem
#

How is that an L

#

@hasty ruin is it an L to have /sbin/launchd

hasty ruin
#

Nope

sonic totem
#

Sound

#

If you’re not hooking the OG launchd, is it even worth hooking?

granite frigate
#

real

sacred orbit
#

anyone knows how to get current wallpaper?

placid kraken
#

you probably just do it

#

like

#

you get the wallpaper

#

with code

sacred orbit
acoustic imp
sacred orbit
acoustic imp
#

oh nvm

acoustic imp
#

jus get the image

#

or hook the setImage method if it has it

#

(idk if it does look in flex)

placid kraken
#

or look at eneko im pretty sure they have to mess with the wallpaper anyway

acoustic imp
granite frigate
acoustic imp
#

and yk walp shi is different on 16

#

right?

granite frigate
#

Oh right

#

Forgot sorry

faint stag
#

might still work for the home screen tho

#

development do be hard sometimes

#

fakeBlurView

acoustic imp
acoustic imp
#

and why r u hooking layotusubview

radiant idol
faint stag
#

it's doabarrelwall

#

lol

acoustic imp
#

ohh

hasty ruin
acoustic imp
#

jumpsacre

indigo peak
#

wtf

#

??

radiant idol
#

looks like it

granite frigate
#

WHAT

indigo peak
#

@grave sparrow why

granite frigate
#

why

indigo peak
#

bro

#

was it because of what he said yesterday

radiant idol
#

huh

hasty ruin
#

Which was?

indigo peak
#

.

granite frigate
#

what did he say yesterday

indigo peak
#

this

#

when he was talking ab old versions

#

and he was like

granite frigate
#

oh now I can't search any of his messages

#

FUCK

hasty ruin
#

he was taking about purging for a while

indigo peak
#

"idc unless its 14 or smth"

#

bruh

#

i needed code

#

@hasty ruin how does rune respring šŸ‘‰ šŸ‘ˆ

radiant idol
#

just use sbreload

hasty ruin
#

FBSystemServices or whatever

radiant idol
#

same thing

indigo peak
#

fuck thas the code that capt sent that i needed

radiant idol
#

uhh

#

kirb has a blog about it

#

somewhere

#

"Doing a respring the right way"

#

or something

#

look that up

indigo peak
#

[[%c(FBSystemService) sharedInstance] exitAndRelaunch:YES]

#

?

radiant idol
#

think so

hasty ruin
#

[[NSClassFromString(@"FBSystemService") sharedInstance] exitAndRelaunch:YES];

#

Yeah

indigo peak
#

W

#

thanks

hasty ruin
#

šŸ¤

indigo peak
#

šŸ¤

acoustic imp
#

[(SpringBoard *)[UIApplication sharedApplication] _relaunchSpringBoardNow];

#

@indigo peak ^ ?

hasty ruin
#

No that’s about a decade out of date

velvet path
placid kraken
#

holy shit i need to add this to my tweak

#

i was respringing with the trolleystore method

#

i knew there has to be a better way

acoustic imp
#

but not my ipad

hexed knot
#

To respring just call sbreload

tepid olive
#

wtf is that code

acoustic imp
#

puting my phone A14 12mini in respring loop but not my A8 ipad on 15.7.1

acoustic imp
torn cloud
#

nvm you deleted the code

acoustic imp
#

but i have no clue bc i comented eveything out and it still hangs

torn cloud
#

bruh

acoustic imp
#

fr

torn cloud
#

ngl tweak dev looks so much more easier than dealing with kernel bullshit

#

it’s such a pain

timid furnace
#

it depends on what you're targetting

#

ie. macOS kernel bullshit can be pretty easy depending on what you're doing

torn cloud
#

yeah because I’m trying to make a mapping primitive for PPLRW

#

but I’ve been fighting with it for days now

#

plus tests.c is broken and idk how to fix it

acoustic imp
#

@hasty ruin did you ever fix that issue with nexus's DRM where it would casue a repring hang?

hasty ruin
#

it cannot

acoustic imp
robust flower
#

Hi Guys,
Do you have any idea of tweaks I can create as a beginner ?

hasty ruin
#

if somehow something goes wrong, the license will be wiped and the tweak will be disabled

#

which just resprings once more

#

it can’t loop

acoustic imp
steady nest
torn cloud
#

my XS died on me

acoustic imp
torn cloud
#

@hasty ruin aaronp613

acoustic imp
#

it happens on my ipad to

steady nest
#

i ssh in sbreload and it works

hasty ruin
steady nest
#

but if i dont it just hangs there forever

crisp frost
#

peak iCrazeware right here

acoustic imp
acoustic imp
steady nest
#

nope

acoustic imp
#

oh

steady nest
#

no timeout

acoustic imp
#

idk i havnt let it go that far

steady nest
#

left it for hours

torn cloud
#

I assume you did since it hasn’t happened to me ever since

acoustic imp
visual meadow
#

ok so

#

question

#

anyone know what hook i would use to get geometry dash on ios to force 120 fps

#

this is the only hook in CAHighFPS that only seems to get called but it does notjhing

acoustic imp
#

idk just do random sutff

#

make a square be centered in the middle of the HS under/behind the icons

acoustic imp
#

no i got it, mine working now

#

i thouhgt it was just being slow but it wasnt

#

its A8

acoustic imp
#

yea min also has 1gb of ram

#

on ios 15

acoustic imp
#

whats this mean

#

@radiant idol

radiant idol
#

i knew you were gonna ping me

#

smh

acoustic imp
#

😭

radiant idol
acoustic imp
#

soooooooo

#

do u know??

#

(il ping you again)

radiant idol
hexed knot
acoustic imp
hexed knot
#

OK it’s useless

acoustic imp
#

but its causing a safemode

hexed knot
#

Sucks

radiant idol
#

buddy

#

you sent the least important part of the crashlog

#

send the entire crashlog...

hexed knot
#

Frl

#

Yah we know what a memory address means

acoustic imp
#

@ smart ppl

hasty ruin
#

Jade issue

hexed knot
#

_logos_method$sideLabelsLike16G$MRUNowPlayingTimeControlsView$layoutSubviews(MRUNowPlayingTimeControlsView*,

acoustic imp
#

How’d I not see that šŸ™ˆ

radiant idol
#

šŸ¤“

hexed knot
#

Beats me

radiant idol
#

does it tho

#

its teslaman

hexed knot
#

It’s right next to the text in the screenshot you sent

hasty ruin
acoustic imp
grave orchid
#

Does anyone know where are all of the Control Centre Icons?

hexed knot
#

Are u blind or smth

acoustic imp
#

probly

grave orchid
#

I looked in SF pro and Apple symbols and could find the Lunar one

radiant idol
#

they're CAML files

#

like

#

they're not images

grave orchid
#

are those embeded in the device or what

radiant idol
#

no

#

but they're not like

#

viewable

#

idk how to explain it

topaz yew
#

@radiant idol flutter

radiant idol
#

abandonware

grave orchid
#

not viewable

#

Is there a way to download all of them

radiant idol
#

no

#

what do you want them for

#

anwyay

grave orchid
#

remaking jade in illustratr

radiant idol
#

at that point

#

just

#

redraw the icons

grave orchid
#

ok

#

im just a bit lazy

radiant idol
#

L

acoustic imp
#

@radiant idol can you try 16player for me, gushi is getting safemoded even though it works for me, they are on 15.1 and im on 15.1.1

radiant idol
#

im busy rn

acoustic imp
#

k

hasty ruin
radiant idol
#

L

lone ocean
#

Any book on how to code in iOS?

grave orchid
#

you mean swift?

acoustic imp
lone ocean
topaz yew
faint stag
radiant idol
timid garden
topaz yew
faint stag
timid garden
brazen timber
tepid olive
#

fr

indigo peak
#

theres a reason you dont have dev role

brazen timber
#

who

#

we will find them

wanton swan
#

no

#

LIES

hallow scarab
brazen timber
hallow scarab
#

what should I use

#

not swift

brazen timber
#

objc

hallow scarab
#

apparently

wanton swan
#

Fiore

hallow scarab
wanton swan
#

I gave up because I’m lazy

hallow scarab
#

I’ll try at some point

#

I’m a bit busy with other things an

#

but it always fascinated me

radiant idol
#

ok I’m going to sleep

hallow scarab
radiant idol
#

it’ll help

#

I think

#

or maybe it won’t

#

idc

hallow scarab
#

okay

#

I’ll look

#

you seem to be smart

hallow scarab
#

ooh okay

acoustic imp
#

?

lyric heron
livid gate
sonic totem
#

Can I integrate a Rust library with an Xcode project

#

I know Rust can build for iphoneos but I don't know how nicely it would play as part of a larger project

wooden yarrow
sonic totem
#

I'm not a Rust user, that's the problem woeis

#

I'll take a look but may have found a much easier alternative anyway

wooden yarrow
#

cool

sonic totem
#

Oh I could just build it as a static library and link it that way

#

Let me try the other solution first

slender glade
#

but if it's source code, gl

sonic totem
#

It's okay now

#

Found an easier way

slender glade
wooden yarrow
#

so that also works

slender glade
#

building and editing the rust source in Xcode

wooden yarrow
sonic totem
# slender glade what was it

Well I wanted to use PartialZip and my two options where tihmstar's libfragmentzip and the PartialZip Rust impl

wooden yarrow
#

in xcode

sonic totem
#

Couldn't compile the tihm version but I found a statically linked version

wooden yarrow
sonic totem
#

So used it

slender glade
slender glade
wooden yarrow
#

have you used matteyeux's taco (it's not his fault tho)

#

it's so

#

damn

#

slow

#

it takes like 10 seconds to download a single file

#

compared to less than a second for tihm's toil

#

even tho his code is ass

#

it's atleast usable

slender glade
#

ā˜¹ļø

sonic totem
#

Anyways libgrabkernel with beta IPSW support eta s0n

sonic totem
#

Getting the IPSW URL is all finished

wooden yarrow
#

parsing build manifest?

sonic totem
#

Yea

#

Not too difficult

wooden yarrow
#

nice

sonic totem
#

Getting libfragmentzip to work will be the most difficult part

elder scaffold
#

W

wooden yarrow
#

will u need to make a build script compile it for you

#

because that will be so ass

sonic totem
#

Nah it's an Xcode project

#

Now that I'm just using libfragmentzip.a it's a lot easier

wooden yarrow
#

cool

sonic totem
sonic totem
hasty ruin
drifting heron
#

I wonder

#

would something like Legizmo be possible for HomePods?

#

in theory

sonic totem
#

To... pair the HomePod with the Watch?

drifting heron
#

To pair a new HomePod that requires higher iOS version (Like Apple Watches require a newer iOS version)

slender glade
#

def possible but nobody gaf so it's not been done

wooden yarrow
# sonic totem Yea

omg no way I was going to ask how tf you would import c++ in rust without a wrapper for all the functions but this is one of those rare projects where tihm doesn't use c++ and kill my eyes

#

still ass code

#

but less so

wooden yarrow
drifting heron
slender glade
wooden yarrow
slender glade
#

indeed

sonic totem
#

Another episode of Xcode being Xcodeā„¢ļø

#

Compilation nightmare from hell

wooden yarrow
#

seems like compilers being compilers

#

trol

sonic totem
#

How can it not find the header file

wooden yarrow
#

shout at it till it fixes itself

sonic totem
#

Continuously clean build folder till it works

#

That did not work either

#

I wil leave this until later smh

#

You know it's bad when you're looking at r/Xcode

#

I take back what I said

#

r/Xcode is the goat

slim bramble
slender glade
sonic totem
#

Worst linker experience I had was trying to add Linux support to a project

#

I had to swap two -lLIB flags around and it magically worked

orchid fulcrum
#

Real ones know devc++ linker nightmare is the worst

sonic totem
#

That’s why I don’t use C++

#

Ugly language too

slim bramble
#

Fr

#

C supremacy

fluid lintel
torn cloud
grim sparrow
#

I love Python

torn cloud
#

this is why I don’t use python

torn cloud
sonic totem
#

It's Mac only

#

As of recently requires CoreFoundation for plist parsing

#

Actually it used it before it was always Darwin-exclusive

torn cloud
#

@fluid lintel this won’t work on Linux

#

Buy a Mac

fluid lintel
#

Okay thank you. I thought there was a porting like for ldid

slender glade
sonic totem
#

Okay that’s cool

#

So maybe in the future

slender glade
#

(CF is open source)

sonic totem
#

Oh epic

#

Well I don’t have the time (or motivation) for another Linux compilation adventure rn

#

But maybe eventually I’ll give it a try

velvet path
#

@raven yoke to answer your question about tweaks needing to be updated, to support RootHide or any other non-/var/jb path, yes, otherwise no

#

(context: libroot)

raven yoke
#

ah

#

I would guess you could support roothide as well as Dopamine and palera1n rootless in the same package?

#

as a dev I mean

velvet path
#

yes, it's designed to allow for packages to be able to use any root path with a fallback to /var/jb (on iphoneos-arm64) if the jailbreak doesn't support libroot

raven yoke
#

ok cool

harsh junco
sonic totem
#

Oh interesting

#

I hate this

#

FILE *manifestFile = fopen(path, "wb"); and manifestFile is null fr

sacred orbit
#

why does my code not work? this is my first time

    id generatedImage = %orig;

    if ([generatedImage isKindOfClass:[UIImage class]]) {
        UIImage *resultImage = (UIImage *)generatedImage;
        imageWallpaper = resultImage;
    }

    return generatedImage;
}
#

i hook PBUIPosterWallpaperViewController

sonic totem
#

Can I call a C function asynchronously from Swift code?

#

Okay I did it

naive kraken
#

is that a thing?

sonic totem
#

Oh yeah I forgot we use those

naive kraken
#

I wanted to get rid of them tbh

#

but we used them so extensively now that that doesn't seem feasable

#

I think there are ways to get function blocks working but last time I tried I couldn't

#

But it was also in some shitty Qt project so idk

slender glade
naive kraken
slender glade
#

Ugh that sucks

wooden yarrow
#

why

faint stag
grim sparrow
#

Nah there isn’t

#

It’s not their fault

#

I just love having 6 different versions

naive kraken
#

and some sites say they're dependant on kernel features

#

although that's probably BS

untold vine
#

We ā¤ļø you opa!!!

torn cloud
#

which indicates an abort signal caused by a deliberate request

acoustic imp
torn cloud
#

most likely, yes

#

looks like a pretty deliberate crash to me

acoustic imp
#

k thanks

torn cloud
#

np

faint stag
#

sigterm however wouldn't generate a crash log (usually) because that's used to tell a process to cleanup and exit safely (if it actually listens)

slender glade
#

how would blocks depend on the kernel? What?

faint stag
torn cloud
#

the Last Exception Backtrace usually provides a list of addresses and function calls leading up to the crash right?

faint stag
torn cloud
#

ah

torn cloud
faint stag
#

but in this case it's thread 0

torn cloud
#

yeah

acoustic imp
#

so its a uer kill?

#

or kernel ?

faint stag
acoustic imp
#

oh

#

so jus a regular safemode?

faint stag
#

a process can abort itself if an exception is triggered

#

that's what happened here

acoustic imp
#

whats "exception"

torn cloud
#

lmao

acoustic imp
#

don't laugh at me 😭

torn cloud
#

it means event

#

or occurance

acoustic imp
#

oh, so then what event casue it?

#

does it say?

faint stag
#

like a common exception would be an unrecognized selector

#

(not this case but you get the point)

acoustic imp
#

oh ok

torn cloud
acoustic imp
torn cloud
#

how

acoustic imp
#

i dont have th device/jb combo

orchid fulcrum
#

Yourepo doesn't respond to contact section. Does anybody know anywhere else i can get in touch

torn cloud
#

do not sell there

acoustic imp
#

its xina2 with the kernel OldABI ting

#

wich my device doesnt work with

orchid fulcrum
torn cloud
orchid fulcrum
faint stag
acoustic imp
torn cloud
acoustic imp
torn cloud
#

it's a neat tweak

faint stag
torn cloud
#

but not large scale enough to be paid

acoustic imp
orchid fulcrum
orchid fulcrum
torn cloud
faint stag
torn cloud
acoustic imp
#

whats this mean?

faint stag
#

it's documented tho

acoustic imp
#

thast proly the issue

orchid fulcrum
# faint stag ~~powerselector:~~

Hi. Was it you that said even though a key doesn't show up in system preference plist on earlier ios versions it could still be there and work fine ?

torn cloud
acoustic imp
torn cloud
#

bool

#

do you not get it?

acoustic imp
#

oh, yes or no

torn cloud
#

yeah

acoustic imp
#

1 or 0

torn cloud
#

boolean logic is used in algebra

slender glade
# faint stag

honestly it's very stupid that theos has -Werror on by default :/

acoustic imp
#

oh i didnt knwo that

hasty ruin
slender glade
hasty ruin
#

because that mf unused variable warning is so annoying during development

slender glade
#

RIGHT

#

and for no reason should it error out my builds

orchid fulcrum
#

Warnings more like go ahead and find outs

torn cloud
slender glade
#

yes

hasty ruin
torn cloud
#

annoying ahhh

slender glade
#

it's even worse when u use swift cause if u mark one thing as _Nullable but not all other pointers

#

then you have a warning

#

FOR EVERY

#

SINGLE

#

POINTER

hasty ruin
#

swift lol

slender glade
#

UNTIL YOU MARK THEM ALL AS _NULLABLE OR _NONNULL

slender glade
hasty ruin
#

doesn’t happen when using objc

torn cloud
#

i had to use volatile unsigned char dummy = *ptr; (void)dummy; to suppress the fucking stupid unused variable bullshit.

torn cloud
#

it's hell

#

luckily i only had to use it once in main.c

faint stag
#

hidden ones or temporarily unused ones may exist

torn cloud
#

?????????

#

what is vscode smoking

#

and crate_header1.h doesn't even exist anymore

orchid fulcrum
#

U didnt save

#

It seems

torn cloud
#

wdym?

orchid fulcrum
#

Save all

#

For changes to take effect

torn cloud
#

ok

torn cloud
orchid fulcrum
#

Well there goes my theory

#

Also is timer_msr there ?

torn cloud
#

yes

#

same errors in there

orchid fulcrum
#

Oh its at bottom didnt see lol

torn cloud
#

it says i need to update my includePath

#

now it thinks counter.h is the same thing as crate_header1.h

#

the fuck is going on

orchid fulcrum
#

Average vscode experience

torn cloud
#

fr

harsh junco
#

And gcc

torn cloud
torn cloud
gentle grove
#

what build system are you using, or is there none

torn cloud
#

you mean compiler?

#

i'm using clang

harsh junco
#

No

torn cloud
#

what

harsh junco
#

Build system like make

torn cloud
#

oh

#

don't have that

#

(for now)

torn cloud
#

it's still showing the same errors

gentle grove
#

in the ctrl-shift-p menĆŗ there might be something to refresh whatever plug-in you're using for c

#

or you could try reload workspace or reload window

torn cloud
#

alright

gentle grove
#

just to see if that fixes it and it's caching or if there's a different issue entirely

torn cloud
#

same include error

#

and vscode thinking counter.h is something completely different

#

wtf

#

how does disabling error sqiggles fix anything

#

lmao

torn oriole
faint stag
torn cloud
torn cloud
#

that's programming in a nutshell for you

faint stag
#

clangd

torn cloud
#

yeah i have that

#

cool extension

#

but makes my errors go crazy

#

idk how to fix all of these

faint stag
#

in case many of those aren't "real" errors

#

but you can see which flag is causing them if any

torn cloud
#

yeah

#

@faint stag the only things i see here are fallback flags and arguments

torn cloud
#

cheers

faint stag
#

extension is more of an interface with the clangd server
so config is done outside of vsc

torn cloud
#

i turned microsoft's bloated c/c++ bullshit off

#

the errors went from 40 to like 5 lol

acoustic imp
#

can i only add swipe gesture recognizers to view controller?

hexed knot
#

As opposed to?

acoustic imp
#

?

acoustic imp
orchid fulcrum
#

Bro has control station

acoustic imp
#

Trying to get a swipe left/righ to track next/back

radiant idol
#

i really am not feeling well atm

sonic totem
#

Smh @radiant idol

cloud yacht
hasty ruin
#

easier to swipe than press a button when you're not looking at your phone

lime pivot
#

strict still seems like a good practice, so idk?

#

but ik it can be annoying when you're just trying to prototype

radiant idol
#

that would solve the issue technically

acoustic imp
faint stag
radiant idol
#

mmmm

lime pivot
radiant idol
#

oh well there you go

lime pivot
#

I usually used something like -Wextra -Wno-unused-parameter iirc

radiant idol
#

would -Wno-unused-variables in there cancel out the -Wall in a regular Theos makefile

lime pivot
#

enables the clang "extra" level that catches a lot more potential errors, especially incompatible casts

radiant idol
#

I see

timid furnace
eager sedge
#

How does one make a button in swift?

faint stag
#

use uikit lol

eager sedge
#

I literally am new to swift of like 5 minutes

faint stag
#

fair enough

eager sedge
#

And too lazy to go to stackoverflow and make an account

faint stag
#

make an account? what for

#

the question has been answered already

#

cause it's basic

eager sedge
#

Oh yeah

#

wy not tell here

faint stag
eager sedge
#

Thanks

faint stag
#

the title doesn't have to be text
and styling is another thing but yeah

twilit jungle
feral mirage
#

@radiant idol

harsh junco
placid kraken
#

true

wooden yarrow
slender glade
#

huh

serene hawk
#

bro made a recursion on discord

radiant idol
#

I have no clue how to do that

orchid fulcrum
#

That shoudln't even be possible. How is that easy and fast šŸ’€

granite frigate
#

Yes

#

Takes a while

#

The reward is not worth it

twilit jungle
#

Your definition of not worth it is different than rest of us

hasty ruin
#

agreed

sonic totem
#

Legend upvote

faint stag
#

smh
i don't even know swift

ashen birch
#

swift
swift
swift

placid kraken
#

it feels like declaring the values in a struct more than declaring the components of a ui

#
<Button 
    title="Button"
    onPress={() => {
        // what to do when pressed goes here
    }}
/>
``` imo this is much easier to read than that
or heck even something like this
```objc
UIButton button = [UIButton buttonWithType:UIButtonTypeSystem];

[button setTitle:@"Button title" forState:UIControlStateNormal];
[button addTarget:self action:@selector(someCallback) forControlEvents:UIControlEventTouchUpInside];
#

at least you can understand whats going on without going to look at the docs

#

for all i know in Button(xyz) {}, xyz could be the variant, and in the {} you pass in extra properties

orchid fulcrum
#

Uikit masterrace šŸ’Ŗ

placid kraken
#

swift when they want a component which can take in children but is also pressable itself

#

because this is so readable

PressableComponent(action: {
    print("Button pressed!")
}) {
    Text("Press me!")
        .foregroundColor(.white)
        .padding()
        .background(Color.blue)
        .cornerRadius(10)
}
slim bramble
torn cloud
real scaffold
#

sorry seeing this after halfamonth

#

I have submitted my patch for native compile a GCC for iOS in my GitHub repo, but I don't think Procursus is going to accept my stuff

faint stag
turbid fjord
real scaffold
#

proba

#

need some huge little slight patches to work on rootless

faint stag
turbid fjord
#

Fr

real scaffold
#

Make llvm fully work on rootless is required for compiling gcc

faint stag
#

we have most of llvm
i think

real scaffold
#

GCC was just converting your code to asm and then pass to llvm-as

#

The only reason I was doing this is for Fortran, then Open-MPI and OpenBLAS stuff

#

1 a.m. in my region, gonna sleep

acoustic imp
#

is there a list off system sound/haptic IDs (the one on iphone wiki doesnt show haptics)

#

@radiant idol

radiant idol
#

uh

#

AudioToolboxPlaySystemsound or whatever

#

idk

acoustic imp
radiant idol
#

idk

lean ermine
#

wheres theos env variable supposed to be by default on ios

#

whut

topaz yew
orchid fulcrum
#

%hook UITextField
-(void)setKeyboardType:(UIKeyboardType)arg1{
%orig(UIKeyboardTypeNumbersAndPunctuation);
}

-(void)setKeyboardAppearance:(UIKeyboardAppearance)arg1{
%orig(UIKeyboardAppearanceDark);
}

%end

#

why no work 😦 it only changes color to dark in numpad keyboards and has no other effects

indigo peak
tight carbon
# acoustic imp <@799410351207612426>

lmfao every ping and question for nightwind = idk troll

use UIImpactFeedbackGenerator or [[UIDevice currentDevice]._tapticEngine (private api) instead of AudioServicesPlaySystemSound

indigo peak
acoustic imp
indigo peak
#

L

#

cope

#

don’t bother someone just bc you’re afraid your question will go unnoticed

slim bramble
#

btw

#

Have not sent it in a while

indigo peak
hasty ruin
slim bramble
#

I prepared bro for it 😭

#

icraze reaction time is getting smaller

#

7:09 secs

#

Have seen faster

#

You are a little rusty

slim bramble
#

(the fields for the different haptic feedbacks)

tight carbon
slim bramble
#

Ok :D

#

Thanks

tight carbon
#

np

acoustic imp
tight carbon
acoustic imp
#

ok thx

acoustic imp
fierce plover
slim bramble
#

Cuz it's already imported by @import UIKit;

indigo peak
fierce plover
#

I thought he already added UIKit and still getting this error

indigo peak
#

import audiotoolbox

slim bramble
#

I had this finished for a bunch of time

fierce plover
indigo peak
#

not whatever you’re doing now

slim bramble
#

Yeah I did that

#

like a week ago

indigo peak
#

also

#

1118 lines

#

gah damn

slim bramble
#

???

indigo peak
#

Line 1118

slim bramble
#

oh

#

That's his shit

#

I told him to seprate .xm files

acoustic imp
indigo peak
#

The fact that that’s more lines than all my tweaks combined

acoustic imp
#

16players has alot of settings thishowitis

#

its also like the bottom

slim bramble
#

Fixed @acoustic imp

acoustic imp
#

also has alot of comments

slim bramble
#

I got it to build

#

with private api shit