#development
1 messages · Page 227 of 1
BCNMiner
You're not going to make much money with iphones 😭
Profitabilty wasn't the question. The question is why does the built and installed ipa have no internet connection. I'm thinking something to do with property list/permissions
Anyone know why this happens on tvos? I'm trying to get an ios unity game running on tvos but this happens when i open it along with other errors:
error: 'invariant' attribute requires Metal language standard ios-metal2.1 or higher```
"have no internet connection" is the server still active?
thank you for the useful input
NATE
I
We're not worthy
Anytime mate
Is there anyone who can help with proper Xcode settings for internet connection within an app?
App Transport Security is set to allow arbitrary loads
Blud, Xcode doesn’t handle app connectivity 😭
😭
Bro if you don't know how to or want to help with my current situation kindly ignore my questions and comments and keep yours to yourself
Network Extensions 👍
You’re trying to find a problem that isn’t there, and that I doubt anybody will find as the main reason is probably that 10 years+ old code is completely deprecated. Moreover, if you really want to, I’d check if the servers you are trying to access are actually online / accessible from your phone
already converted to Swift 5
Have you tried a simple network request to, for example google.com ?
No but i'll figure out how thank you. No experience in this I've just been dealing with problems as they come. Been an adventure and learning experience to say the least
let session = URLSession.shared
let task = session.dataTask(with: url!) { (data:Data?, response:URLResponse?, error:Error?) in
print()
}```
I am a developer, I just haven't made anything very popular in the Jailbreak community. I helped 1 person fix their music app on iOS 6 this year by making a tweak and putting it on my GitHub repo, and have a moon-buggy version, but haven't done anything greatly notable yet. I am still somewhat working on Rootless Cydia though!
Very nice, don't mind me trolling around lol
?
This is my GitHub profile if it helps lol https://github.com/dk865
I'm not the one to ask for orange name
@torn oriole Would be able to help you
Oh, okay. Thank you!
DM Modmail with your works and supporting statement and it will be put to vote
205 orange names and counting!
uhm what is this
better code than you've ever written
it was funny but not that funny
You don't know what was sent in our dms 😭
what.

how are mfs afraid of rust but then proceed to write swift
ion get it
I don't write it, I steal it from stackoverflow

There's no way I write voluntarly swift
honest opinion its more readable than rust
and I say this as an objc dev
its BECAUSE you're a objc dev
rust is a systems language which yeah makes it more difficult to get into
strange syntax
Rust is fucking unreadable for someone with no experience with rust 😭
rust user + ⬇️ = furry
how

i either get furry comments or trans comments
ok
its like the most understandable shit to me
is that supposed to be a flex? 😭
so ion get it
what
C's fairly straightforward, C++ we dont talk about
You are sick.
oh god
^
deadly sin.
why would that be a flex
You like rust.
i prefer not to receive comments at all
and youre french whats the point
I will not comment further on rust devs.
pub(crate) fn sign_manb_with_certs(req: &Dictionary, manb: &[u8], cert: &[u8], pkey: &[u8]) -> Vec<u8>
ok
me when & represents the address in memory 
aren't references also & in swift and c++
Both sucks.
??
(languages)
its like that in c/objc too tho?
in c they use pointer syntax
like int*
same in objc iirc
thus you can't specify references in C/Obj-C
which makes them SUCK
you can pass in ** which acts like a ref 👍
no bc that's equivalent to &&thing in rust/swift/c++
references just have additional constraints
I'm lost, wtf is & for in rust?
the likes of which are not found in c/objc
well i mean objc might have other shit but
references
it's like pointers but
better ™️

except you dont
rust references are "smart" so like you can convert from &Vec<u8> to &[u8] without having to specify explicitly that you want to convert
and contains more info on bounds and stuff
also rust refs are const by default
if you want to mutate data u gotta get a &mut thing
well yeah

you are strange
Nightwind when someone acts normal:
rich coming from the french
anyone know how to like overide the ViewController presented here, i kinda tried just overriding the methods but mine never appears and they just get dismissed
it should show red like in flex
so basically
Basically what
you do
Did you just say you’re working on rootless cydia?
Mods, DO NOT GIVE THIS MAN DEV ROLE
Also, someone already made rootless cydia, a few years ago
Also, wtf is with people wanting rootless cydia?
This dude @unique galleon has been working on rootless cydia for 8 months 
Iosstar20wnd did it in like an hour
@crisp frost
Also, istg if anybody uses this I will ip ban you from procursus repo
The only reason I could see someone using rootless cydia is if someone went and ported rootless to like iOS 7 where there's no real modern package managers working
But also what are you doing with your life at that point
whys that
i mean yea ur right
cydia is the definition of
can i make tweaks without macOS
Yeah... lol
Why wouldn't you be able to make tweaks without MacOS
Idk
I use rootless Cydia
Australian wannabes 😂 but they do it worse in every way
many ios developers outside of the jailbreak community will tell you it is completely impossible and unthinkable to make software for apple devices with non-apple hardware, it isn't exactly common knowledge
you can
Yeah, you're just gonna be stuck for compiling with pointer authentification
Build apples llvm from sources
Doesn't work :/
It does

use darling
^
gnustep
Why troll
I tried
There's a bunch of errors that you will encounter
What errors
gnu/linux
mach/openbsd XNU 🙏
user error

😭
theos isn’t a compiler but maybe
i want macintosh plus users to enjoy my nexus keygen too
nexus keygen on m68k ?
🤨
My nextcube has a 68030
you use a serial to usb to lightning adapter to connect your phone and it installs cracked nexus
however finding a working copy of itunes for mac os 3 is a bit hard
Oh makes sense
yeah nexus keygen based
?
You heard me
You can
Just need to specify the target and get the sysroot
Libimobiledevice
just need to find a m68k cc
clang has it as an experimental target
I guess so
You have a nextcube??!!
- what google and facebook are expecting people to say, probably

rune be like
google or any huge ai shill company (im looking at you meta)
why not? And yes this is compiled from the apple branch
neat It's nice to see things like this nowadays
As far as I’m aware the issue is that the relevant part of of dyld isn’t opensource
what's the history behind this?
like in terms of who owned this and etc
my grandfather purchased the 512k macintosh in 1984 and i have it
along with a printer and floppy drives with legacy software
for example
the cube was originally purchased in 92 by a university for a computer lab. It was abandoned in storage at some point. Eventually went to an auction
The monitor and peripherals came with the slab workstation. The first owner had it sitting in the lobby of his family’s car dealership for 20y, mostly unused
I forgot about it, and just remembered it last week lol. I'm working on getting a macOS VM working- kinda hard without KVM.
no
QEMU:
kvm:
He said using a OSX VM without KVM (slow as fuck)
In this case, he’s probably using QEMU
Xen
HTML!!!
real
Sure, could you send links to stuff you've done?
Say the only device i have atm is a jailbroken ipad And i plan on developing some tweaks using it is there an app or tool somewhat like swiftplayground except with less limitation
Theo's can be installed on a jailbroken device I believe but I haven't done it myself
yea i have theos installed but im looking for something more similar too like swift playground as it has a gui for writing code and also u can test code and run it all in the same place
mostly just looking for a gui
I think filza can edit code or you could grab a cli text editor
maybe you could get code-server running
is there a tweak that improves filza’s code editor and also adds a run/test festure or nah?
As far as I know it was created to develop apps, but FridaCodeManager could fit your needs, it should support code completion (tbf the last released version doesn't have it but 2.0, not released yet, should)
alr thx
Yea cuz im tryna make a custom keyboard tweak with chatgpt integrated into it
u think i could still use fcd cus some apps for example grammarly install a custom keyboard
Fcd?
i meant fcm 😭😭. Frida code manager
I can't see why this should be a problem, maybe I'm missing something
There already exists a keyboard tweak with ChatGPT, SquidExtender
In this video I take a look at Fedora 41 Workstation. Only this time I have installed it on one of my laptops. Fedora is another Linux operating system which comes with the Gnome desktop. It also comes with other desktop environments which are separate ISO's. They can be downloaded from the Fedora website.
Fedora: https://fedoraproject.org
00:...
Linus tries OpenSUSE (gone wrong)
Yea ik, the problem is that im broke 🙁
But not broke enough for a chat gpt api key
how do u hook to c++ class functions?
😭😭😭
does MSHookFunction not work for that purpose ?
you can use %hookf for those too
but you'll need to find the symbol first
%hookf(int, "symbol", int arg1, int arg2...)
oh?
#import <Foundation/Foundation.h>
%hookf(int, symbol, int arg1, int arg2) {
// ...
}
%ctor {
%init(symbol = dlsym(RTLD_DEFAULT, "some_symbol"));
}
was the %hookf(ret, "symbol", ...) syntax removed?
yes
yes it is
void *(*orig_whatever)(void *self);
void *hooked_whatever(void *self) {
// Do whatever
}
__attribute((constructor)) void init() {
MSHookFunction(dlsym(RTLD_DEFAULT, "MANGLED_SYMBOL_WITH_ONLY_ONE_UNDERSCORE_AT_BEGINNING"), (void*) hooked_whatever, &orig_whatever);
}```
however it used MSFindSymbol(NULL, "symbol")
which is very slow
passing in a handler is better
hm
dlsym usually
MSFindSymbol should be used for non-exported symbols
but even then you prob shouldn't be passing in NULL for the handler
you should be using MSGetImageByName there or something
@manic forum https://github.com/theos/logos/issues/67
apparently the last time i used this syntax was 6 years ago
not the 4 years later comment from objc 💀
Is there a tweak that modifies the Swift Playgrounds app on iPads so that it adds the ability to run apps in an un-sandboxed environment, support for third-party frameworks, direct code injection or modification, external package support, and full file system access
(Less important modifications)
something to easily execute arbitrary shell commands?
not that i know of, but why?
why not just run the swift code outside of playgrounds
I no longer have access to a Mac since I bricked my old one, so Xcode and Swift Playgrounds on macOS aren’t an option. That means I have to write, test, and build everything entirely on my jailbroken iPad.
I do have a PC, but since I’m always in school, coding on my iPad is just more convenient.
Tbh your best bet is theos or whatever frida code manager is, for theos, you can already compile a deb or ipa so you can just make a script to install it on device.
What you are asking about kinda fall into seperate categories
-
Apps in non sandboxed environment - entitlements/codesigning
-
third party frameworks - build system (theos)
-
Code injection - jailbreak (there are also apps that inject specific dylibs to apps, like trollfools)
-
External package support - same as 2 probably
-
Full disk access - entitlements/codesigning
honestly swift playground would be genuis to add something like that to due to it having live preview and like u press a single button and it compiles it and automatically runs the app
Those are the list of restrictions of swift playground im looking for a tweak to bypass it
Yeah but i think it has its own in-app jit/compiler separate from the devices/jbs compiler. not really the best idea to use it tbh.
If so it still is insanely useful 🤷
What you might consider doing is testing the UI in playgrounds, and copy the code back to your actual build system when you are building/testing
Originally i was gonna make a squid extender clone pretty much js squid extender but u put your own ai api key in it but then i started thinking about playground
Like imagine the potential bro
Fuck the keyboard we need betterplayground
(Name is a work in progress)
swift tweak dev will be tricky on an ipad since you'll have to compile for arm64e, which you can't without a mac or mac vm
objc is fine since the oldabi package works with it but for whatever reason it doesn't support swift
swift's disassembly is prob more different between the two or something
yeah
My setup:
9th generation iPad (A13 Bionic, arm64) running iOS 16.3
then you'll be fine to compile for yourself but when it comes to compiling for others you'll have to use github actions or something
anyone know what iOS does for audio visualisation? It's used throughout some im guessing there's some centralised thing for it
Frick the others

I thought frida code manager was filling that gap, have you tried it ? If your thing is live previews you gotta come to terms on that its a bit luxury 😂
I mean, if you vnc yourself…
is shared dispatch_semaphore_wait routine between objc and swift possible ?
so it would go like
- swift code creates a semaphore & posts a notification and starts waiting
- objc code performs the notification selector which signals the semaphore
- swift code continues execution
mhm
swift and objc intertop fine
gcd doesn't care what language you call it from
because in both languages it is just calling the same c++ framework
I'm curious as to why you would need to do that, I'm a bit against using semaphores unless absolutely necessary
hot chance theres a better way, theres only a few situations where that isnt the case
or at least, using semaphores directly, i.e. not using atomics
at this point i am sure there is a better way but anyways, this is a swiftui view and i am displaying it from objc code via NSHostingView, the argument dictionary is passed by objc as well, what i want to do is: refresh the dictionary with the help of a notification and wait for the notifications selector to finish before displaying the view (so notification post and wait code would be in this views .onAppear)
not sure if the notifications selector and swiftui are running on the same/main thread
data source, others are well named tbh
long
selectedInstance and selectedClass are both longer sir
you should be happy others are not sc and si 
more descriptive tho, and let's be honest you're not actually typing these out, you're likely using lsp completions
They are run on the same thread that sends the notification
So if you post a notification from main, it will be received on main
One alternative to your idea that wouldn’t involve a semaphore is to use a completion handler
Putting the completion handler in the notification itself
This way you wouldn’t put a lock on the main thread
(If I’m understanding correctly)
oh that may work i will try, meanwhile, this is what i tried last and it still doesnt work
.onAppear {
let semaphore: DispatchSemaphore = DispatchSemaphore(value: 0)
DispatchQueue.global().async {
NotificationCenter.default.post(name: Notification.Name("MxRescanHeapNotification"), object: nil, userInfo: ["semaphore": semaphore])
}
semaphore.wait()
}```
```objc
-(void) MXScanHeap:(NSNotification *)notification {
[self.MxFoundHeapObjects removeAllObjects];
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
heapFind((void *)&(self->_MxFoundHeapObjects));
semaphore_signal((dispatch_semaphore_t)[notification.userInfo objectForKey:@"semaphore"]);
});
}```
mfw ellekit just piggy backs dlsym anyway
yeah idk for some reason it was still slower on my end
The worst-case scenario for that swift demangle dlsym thing I made was like 0.3s for an all-image search
your 4s lookup, or whatever it was, is insane
why not just sync instead of async
tried both
Define doesn’t work. What happens and what should happen
Do you have print logs to identify the order that events happen
in MXScanHeap
dispatch_queue_t current_queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0);
dispatch_sync(current_queue,
^{
// MXScanHeap code
});
in .onAppear
dispatch_group_t group = dispatch_group_create();
dispatch_group_enter(group);
// NotificationCenter code
dispatch_group_leave(group);
what should happen: after the dictionary is filled, sem should be signalled and objc code should return
swift code shouldn't wait anymore as sem is signalled
what happens: swift code doesn't stop waiting
no logs, but i will do that now
are you sure semphor 0 isn't already taken
well i am not taking it anywhere else, pretty sure 0 isn't reserved or anything
its not an id, its the count
I've had some issues with the count in the past
oh wait
I remember now
look how apple uses semaphor
if (![NSThread isMainThread]) {
dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER);
} else {
while (dispatch_semaphore_wait(semaphore, DISPATCH_TIME_NOW)) {
[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0]];
}
}
I was just about to say
the function in c++ is dispatch_semaphore_signal
you're calling semaphore_signal
is that, correct?
lol
💀
cause this should work, if that issue is fixed
this works btw
cool
lol
my semaphor code
@orchid fulcrum just bear in mind that you are now locking the main thread so very mcuh expect fps drops
how would you achieve it in a better way
show a loading spinner and then transition to that view when all youre loading is done
all the main thread should be used for in an app with a ui is ocnfiguring the ui
all of ur actual business logic should happen behind the scenes
but it didn't fix my main issue rip, the sds (swift data source) dicts keys.count is 0 even though ds is updated correctly
why cant you have the data source handler in objc and just bridge to swift
with a bridging header ?
yes
What actually concerns me is that they are strings
that too
I mean frida code manager is kinda iffy especially on ipad the ui bugs out so u cant rename files, add files, or remove files.
Also im lazy but not at the same time so i’d rather work hard so i can work lazy later on 🤷
Why cycript no longer maintained
it is forked
https://github.com/EthanArbuckle/cycript-wrapper/
that approach is kinda fucked but it’s easier than compiling cycript
it’s hard to compile the old af version of Bison that it depends on using non-x86
If only i read that earlier ive already made my mind ion want cycript eh actually its pretty freaking useful but uh ima js add it later
Is there a discord server for jailbreak related development specifically?
By jailbreak related development im not talking ab a new jailbreak im talking about like making tweaks making apps making wtv blah blah blah yappity yappity yap is there tho?
the theos server but its kinda only theos stuff sadly
i break this rule all the time 😛
Isn’t that what this channel is
but yeah theos server alternately, I think anything tweak adjacent is fine there
no re channel 
Get one going, I’d be active
asked
U think jailbreak related development discussions would be okay here?
They dont have any rules against it 🤷
maybe but non jailbreak devs are completely out of touch
can't comprehend what hooking or backwards compatibility are
or that you dont need a mac to build for ios
because spending 100$ a year and reprovisioning every build is totally normal behavior
what i do is just ask the programming parts of my issues, which is usually bad but better than pointless discussions about jailbreaks
😭😭😭

Thank god it wasn't 100 usd per month
Ask them how to use -[BSMachPortRight extractPortAndIKnowWhatImDoingISwear]
https://theos.dev/discord we talk about tweak dev more than theos related stuff tbh. There's different channels for different topics, theos specific stuff goes in #theos-general and anything tweak related goes in #tweaks
Check out the Theos community on Discord - hang out with 1751 other members and enjoy free voice and text chat.
is that real
Hey @reef trail, have a look at this!
Please do not advertise ANY server without permission. Doing so will result in either a warn or a ban.
mods remove him
mods eat him
what does this do 😭
well it extracts the port, duh
what
You advertised
anyone have link to direct download of ellekit.h
There is no ellekit.h, you use substrate headers/api and when you link/load ellekit thats what you are using instead of the real CydiaSubstrate.framework (which is barely used nowadays anyway afaik)
https://github.com/tealbathingsuit/ellekit
this is the repo though
its still preferred to link against the substrate api
because every other injection platform contains stubs
linking against substrate / using the substrate api makes sure your tweak will work with all injection libraries
Right, forgot about that
alternatively you could do it at runtime with dlsym and then include both the ellekit, libhooker, substitute and substrate way

substrate is the most universal standard
ElleKit doesn't have C bindings anyway, only Swift. You have to use the substrate or libhooker shims
no
Is there sum like frida code manager but for theos
A terminal and a text editor
yeah, good idea tbh but something like this would need more mainainers (and a better name)
Didn’t know it was chill like that
it's not; i hate the idea of ides anyway. An editor should be just that, it should then be up to the user how they configure it
exactly, why have another ide for what is a very small addition to a regular editor like neovim or vscode or smth
disagreeing, i was calling your take "bad" 💀
no, i said ides were configurable as well. and you hate the idea of ide
because why should i adapt to a new configuration with new keybinds and workflows just because i'm now working in java instead of rust (random examples)
i mean, you can choose or prefer not to. But its nice to have built in support sometimes
"built in support"?
idk, never used a rust ide myself but i assume they would have stuff like crate management, built in compiler etc (making stuff up)
use examples you do know of then (i also haven't used a rust ide)
but for crates management, you have cargo..
the compiler is rustc
why use awkward abstractions of already great tools
they are convenient not awkward, rustc and cargo are cli right ?
yes they are cli
its for people who don't want to deal with all that
click click
not quite:
Find menu,
Find out the menu has completely changed for no reason in an update,
Click run
idk i personally much prefer to do stuff from the cli
debugging, editing breakpoints these are all easier
by easier i mean "with a gui" so easier for me at least
valid, but "hating the idea of ide" is a bit extreme lol, it has its audience
debugging i can agree with, but you still don't need an ide for that. DAP solves that
idea of using an ide myself
could've been phrased better tbf
only ide i rly use is xcode lol
same
actually no, i did mean than initially, but i also hate IDEs because they mean having 100s of implementations of something which should be abstracted out for more editors to use
i also used visual studio when i had a windows machine
i've tried to stay away from it
source control gui, mama mia
(mostly annoys me because eclipse's lsp is ass but is the only half good java lsp)
again, not ide exclusive
java in 2025
i have to use it sometimes
well your text editor is an ide at that point, that makes us on the same side 
by ide i mean language-specific editors, that's what i've typically seen them defined as
or ecosystem specific
like android studio, xcode, eclipse, etc?
I always thought IDE was just like text Editor but with extra features
me too, extra features being bundled debugger, bundled compiler (or the ability to use the systems out of the box) and extra gui stuff for otherwise cli tools
that's what it should be but people usually assume an ide is some language specific tooling built into one package
thats how its implemented usually because most of these change from language to language, your way is also nice but just installing a new ide may be more convenient than configuring your text editor
maybe for installation but then when actually using this new ide you have to get used to it's workflow
true
i only use clang languages and swift so xcode is perfect for me
but yeah it may be an issue otherwise
is asking for reversing something job legal or not here? if not i wont bother to ask to not break the rules
what
doesn't work?
can i get in your dms?
check the read me
just ask here
i haven't added hookf or group yet iirc
my b
there is an ios app, a function that signs the request before it get sent, struggling to on reversing the function, if its possible to either reverse the function itself or build a tweak that invokes the function to generate the signature and sends it again to me over the websocket, would ofc pay
what editor are you using
wym editor
code editor 😭
Im editing with neovim?
idk why you expect me to know that
i haven't wrote the highlighting rules in the parser yet, icr if i pushed it to my nvim config yet or not where i was playing around with it
you're using something which is very wip
I was looking for the queries lol
in the future these will be built into the parser
wdym
cos it's wip..
ik
in the meantime you can copy my after config
anyone interested?
without you actually explaining what you want, no
you basically said "i want tweak"
not really? i said what the function does, like either reversing it to a high level language or if its too much of a struggle then tweak it
its a function that signs the http request and adds the signature in the header
and what do you want it to do?
just that function so i can send the requests myself, without having the signer function cant send the request
sorry if im being pain on my explanation, my english doesnt seem to be that good haha
that's okay, i'm trying to understand
so you want to be able to call the function yourself?
what's stopping you from doing that now?
as of building tweaks, never did and not sure how and for reverseing the algorithm its a big struggle for me
so i would ofc pay for anyone who is interested in it for their time
"reversing the algorithm"? from what i understand there's a function which you call and it returns a signature, surely you just call that yourself?
from what i understand there's a function which you call and it returns a signature
yep
surely you just call that yourself?
not quite sure
hmu in dms with some more specifics, i'll have a look on the weekend :)
bet thanks
so uh health says the query is enabled but still no highlighting for orig or ctor
put your cursor on orig and tell me what :Inspect outputs
No items found at position 14,14 in buffer 1
🤷♂️
what sets ft's because its getting set from somewhere
there's a few ways to do it, but the neovim api is vim.filetype.*
read the help page
is there a cache
a cache? no i doubt it
you can just run :set ft=logos to set it manually otherwise
or use a modeline
put // vim: set filetype=logos at the bottom of your file
or top actually if you want
ah its being set via detect
makes sense
if you add your own detect for logos it should overwrite
since your config is ran after neovims defaults
i don't write logos often so i just set the file type manually iirc
yeah mb
also it indents the end bracket?
i think i have the logos ft set to use my parser in my config
because it doesn't know about hookf
yah it indents everything
have you got my indents queries copied over?
as you'd expect or no?
i haven't actually made those yet - nvm
yeah sorry
if only we had logos ide /j 
@faint timber if you open up the :InspectTree it should show all the logos stuff i've implemented now tho
and you can write some queries for indents based on that
is ERROR normal?
for stuff not implemented, yes
the good thing about treesitter is that it doesn't care, if there's an error it just carries on parsing what it does know
i'm going to sleep now, if you need anything else ping me and i'll reply in the morning :)
xcode can be coerced into a logos ide, with custom templates and a logos languagespecification
attempting this now

ah
ok dont fucking trust chat gpt
doesn't actually build the correct tweak code
I'll still leave that to theos
templates are unrelated to making it work with logos, to be clear
I know Im doing something different
guys what do u think of @mortal vale ‘s peak code
unfortunately this is real and he has repeated these heinous crimes multiple times
lol how
Thanks goat
yw
next up is syntax highlighting
nice
Is it possible to build an IPA with Xcode without a Developer cert?
its a zip file
it won't be signed but yeah
well
there is product->archive but i don't remember if the output was ipa or something else
it's not, but you can fish the app out of there and zip it manually
just build, go to products, put the app in Payload.app, zip and rename to .ipa
xcodebuild clean build -project Serotonin.xcodeproj -scheme usprebooter -sdk iphoneos -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED="NO" -derivedDataPath build
rm -rf Payload
rm -rf Serotonin.tipa
mkdir Payload
cp -a build/Build/Products/Release-iphoneos/Serotonin.app Payload
$(LDID) -Sent.plist -Cadhoc Payload/Serotonin.app/Serotonin
zip -vr9 Serotonin.tipa Payload/ -x "*.DS_Store"
example
not signed but ipa
thanks 🙏
you can use codesign if u wanna use a valid cert i think?
what would be the best way to detect if a pointer points to deallocated objc object ?
can i check its refcount or something
Does Corellium allow tweak developers at all
I know it's targeted at organizations doing security research but
at least they allowed me
in like 2021/2022 ish
hm
^ same. they didn’t seem to care
They won’t care who you are, as long as you give them money
you could hook init, convert the pointer to uintptr_t and put it in a set
but how would that help me detect if its deallocated
hook dealloc too 
fr ? sounds like it may work
yes
#include <mach/mach.h>
int address_get_refcount(mach_vm_address_t address, unsigned int *refcount_out) {
if(!address || !refcount_out) {
return -1;
}
kern_return_t mach_vm_region_recurse
(
vm_map_read_t target_task,
mach_vm_address_t *address,
mach_vm_size_t *size,
natural_t *nesting_depth,
vm_region_recurse_info_t info,
mach_msg_type_number_t *infoCnt
);
mach_vm_address_t regionAddress = (mach_vm_address_t)address;
mach_vm_size_t regionSize = (mach_vm_size_t)8;
natural_t regionDepth = 1;
vm_region_submap_info_data_64_t regionInfo = {};
mach_msg_type_number_t regionCount = VM_REGION_SUBMAP_INFO_COUNT_64;
kern_return_t kr = mach_vm_region_recurse(mach_task_self(), ®ionAddress, ®ionSize, ®ionDepth, (vm_region_recurse_info_t)®ionInfo, ®ionCount);
if (kr != KERN_SUCCESS) {
*refcount_out = 0;
return -1;
}
*refcount_out = regionInfo.ref_count;
return 0;
}
Hello,
I'm trying to use flex, from what I understood the install.sh script is the one I just use to install it
But whats the next step?
I'm kinda new at it 😅
is there an SF symbol for airdrop ?
or like whats the private name and how do i get it
AirDropGlyph doesnt work in UIImage systemImageNamed:
Don't think AirDrop it self, but AirPlay certainly exists
yea, im trying to recreate this for ios 16>, i cant find airdrop, satellite, VPN, and bluetooth
id like to figure out what apples does
rate the docs page https://ady.tomcat.sh/
the list of all of them is 14.2mb 💀

average dev
hello developers
if ur interested in ai slop, read this, if not, dont read 👍
openai released o3-mini, currently the best model for coding according to https://livebench.ai
it’s available to free users in chatgpt and it’s cool cuz it’s good at coding and can search (meaning that it can search for up to date libs, very useful for me)
thanks, i just recently renewed my claude subscription smh. i should have waited 🤦♂️
LMAO its fine anthropic’s gonna release claude 3.5 opus any time now
they finished training it like a month ago
thats what im saying
hello what does this mean when i am signing an app with codesign? codesign -f -s “my thing here” /Users/Matt/Desktop/extracted-ipa/Payload/app.app/
(i have little to no experience with this stuff my brain is small aka i typically use Windows)
no offense to Windows users im just lightly making fun of myself
i googled and found something that said "Code signing no longer allows any file in an app bundle to have an extended attribute containing a resource fork or Finder info." and to use an xattr command to remove extended attributes but that didnt work (assuming i did it correctly)
and other stuff assumes ur using like Xcode and stuff and already know what ur doing lmao
im just a guy
what did you run
codesign -f -s “my thing here” /Users/Matt/Desktop/extracted-ipa/Payload/app.app/
redacted stuff but I believe what i had in the "my thing here" part was right (I ran security find-identity and used that)
no i meant to clear xattrs
oo
so I took it from here https://developer.apple.com/library/archive/qa/qa1940/_index.html
xattr -lr app.app
QA1940: describes the cause of a new codesign error on iOS 10, macOS Sierra, watchOS 3, and tvOS 10.
run /usr/bin/xattr -cr app.app and then try again
alright
/usr/bin bc you might have fake xattr from homebrew-installed python
thanks homebrew
nah same message as before after codesign
try /usr/bin/xattr -lr again
ok bunch of output
what could bro possibly be editing
and yea same message after codesign
@timid furnace have u heard of sleep
send
uhh it's a lot
im signing the enmity discord ipa and it's just a bunch, way longer than a message
upload as file
wtf
o?
and xattr -cr does nothing to change this??
make sure you don't have finder or anything else accessing the location
wdym by accessing? like having a finder window pointed to the same location?
yes
ok im pretty sure i just have 1 finder window open (level 1 macOS user)
not pointed there
and yea after xattr -cr and then -lr the output stays the same (if it's supposed to change idk)
try with sudo
for both?
ah ok
if not just delete the app and curl it to tmp and unzip
don't use safari or anything
and then check the xattrs
provenance should be removable idk why it isnt
so sudo xattr -cr and then with -lr?
ye
the -lr output still mentions provenace so idk if it worked
so like this? assuming curling to tmp in particular wasnt necessary, i just did to desktop
Going to eep now, sorry, probably shouldn’t have brought this up when it was so late
thanks for the help thus far tho
Object-Oriented Insanity
Description:
A contagious mental disorder affecting programmers who are overly obsessed with object-oriented programming (OOP) and design patterns. Symptoms include an inability to write simple code, excessive architectural complexity, and a pathological need to introduce factories, strategies, and singletons even where they are not needed.
mfw the project has 500 classes
Avoid using dynamic library files (.dylib files) for dynamic linking. An XCFramework can include dynamic library files, but only macOS supports these libraries for dynamic linking. Dynamic linking on iOS, watchOS, and tvOS requires the XCFramework to contain .framework bundles.
app store is so stupid
@hasty ruin
Example:
def add(a, b):
return a + b
Patient rewrites to:
from abc import ABC, abstractmethod
Abstract class for numbers
class Number(ABC):
@abstractmethod
def get_value(self):
Pass
Concrete implementation of numbers
class Integer(Number):
def init(self, value: int):
self.value = value
def get_value(self):
return self.value
Abstract calculator class
class Calculator(ABC):
@abstractmethod
def add(self, a: Number, b: Number) -> Number:
Pass
Concrete implementation of the calculator
class BasicCalculator(Calculator):
def add(self, a: Number, b: Number) -> Number:
return Integer(a.get_value() + b.get_value())
Utilization
num1 = Integer(5)
num2 = Integer(10)
calculator = BasicCalculator()
result = calculator.add(num1, num2)
print(result.get_value()) # Prints: 15
anyone jabilbroken with ios 16 iphone 14/14pro ?
i got a 14pro on 16.1
ok could you check a few things with flex for me ?
ye
if you go into the CC and the connectivity module
is there a satellite like option ?
Like this but iOS 16
im looking for that icon
i dont see anything for it
oh ok, thx
do u just need the icon?
yea
ill see if i can find that
i was looking thru this one framework but i dont know whats the name is
i found airdrop
wait
if you do the demo it show up in the status bar
wym
like the satellite connecting demo thing
i think its in Settings -> SOS -> try demo, for ios 16
oh they are a little dif
oh wait i found it
oh ok, yea probly
flex and see the UIImage instance
this is ios 18...
Ok
you forgot r, but try clearing xattrs again this time
Maybe try layoutIfNeeded()?
That would affect alpha changes ?
oh oops, i ran xattr -cr but still the same codesign message
oh actually, when running xattr -lr (with the r i forgot) there's more output compared to just l
namely provenance
yeah like, idk
i mean idk but i found a thread where someone said com.apple.provenance cant be removed via xattr?
bruh
If you see this fail to remove the attribute, validate that terminal.app is granted Full Disk Access permission in Privacy & Security system settings.
try this
ok ill see
quit & reopen terminal afterwards
oh ya know what it does not lol
no even after giving it full disk access (+ quitting + reopening terminal) and clearing + listing provenace is still there
oh wait
it worked
i was using ghostty but i tried with terminal.app and cr did the trick this time
why is finderinfo still there
oh that's supposed to be removed too, weird
ok honestly move it to /tmp and try it
do you have the icloud sync thing on
where your documents are in icloud and such
oh yea actually, iCloud Drive is syncing the desktop
yea try /tmp then
should i redownload it or use the one i have?
ok yea seemed to work, nothing is listed now
ok try signing now
alright seemed to work, said this and asked for keychain password
so yeah I guess the problem was that it was on the desktop and it was syncing or something
presumably
- you need full disk access to get rid of provenance
right yeah
np
Is it possible to use Process (swift) on iOS? Like with a patched SDK?
anyone here know how to work with gcp really well
does anyone know what the like audio ID is for the haptics when opening a CC module?
Yes
Tysm
Is this enougth?
Does anyone know how I can codesign using xcodebuild and an ad hoc certificate for a Mac app from terminal?
Probably can just edit the proj file and set it to -
Also this used to work idk if it still does
https://github.com/KJCracks/Clutch?tab=readme-ov-file#disable-sdk-code-signing-requirement
Hey I saw that lovely injector recently released on your repo but how would I use mods on base balatro?
you would install them like on normal lovely (the path is in the games sandbox but othwerwise the same as mac path)
Steamodded needs patches to work if you want to use it
i can also send a link to the lovely discord if you want
Application support is the sandbox?
And would it have to be the custom made iPhone version?
Which file would I patch? And would I have to decrypt, unzip, and patch the file then sideload?
if you git clone steamodded you can just run git apply /path/to/patch.diff in the steamodded directory for it to work
is this an issue?
Nvm
Got it to work
Yeah could you send it in DMs I get this error
Not sure but I belive the mod just needs to be updated for the latest steamodded
I also used old-calc and it was released on January 17th 2025
I'm not sure where this mod even is to look at it's code
I can send it in DMs
sure
what's Lovely for
that wouldn't help it was posted on nexus mods
patches love games (balatro)
aka for installing mods
nexus mods or the ios one you are shit out of luck for source 
idk what you are referring to
its for the best you don't
why out of luck
How do people sneak apps on the AppStore but I get this bullshit not even doing anything wrong
How do people sneak apps on the AppStore
probably by obfuscating the shit out of relevant parts
Why is bro using old discord 
Oh right its not the entire message that got quoted
Why is bro using old discord
@crisp frost buy rune buy nexus
there we go
old replies
It's just that because of uhh.. some people I know for some reason not getting off of old discord for god knows why yeah
Are u talking about me :(
No
Dm
using swiftui + mapkit i believe
i think its a prototype as well
Ah makes perfect sense now don’t know how I missed that
👌
a
b
c
b? BRBN
BRBN
buy rune https://havoc.app/package/rune buy nexus https://havoc.app/package/nexus
Why does rune look like that?
Why is the bottom flat instead of rounded
here? that's just the mockup tool being weird 
buy pinnacle https://havoc.app/package/pinnacle
that font is something
weak banner game
??
i'm going to pirate rune
Make sure to share with ur frens too
kek you later frens
No, here
It’s ugly
hello
i made a desktop thing
would anyone be interested in testing it
it'll take less than 5 minutes
it is not malware i swear
Yes
hi, I tried to download and run https://github.com/Dadoum/Sideloader but it didn’t work because it is copied as a library and not as a project
Memory debugger enabled
/usr/include/dlang/dmd/std/typecons.d(1271,38): Deprecation: @safe function toHash calling hashOf
../.dub/packages/memutils/1.0.10/memutils/source/memutils/helpers.d(32,25): which calls memutils.refcounted.RefCounted!(OctetStringImpl, ThreadMem).RefCounted.Embed!(m_object, false).fallthrough
../.dub/packages/memutils/1.0.10/memutils/source/memutils/refcounted.d(194,15): which calls memutils.refcounted.RefCounted!(OctetStringImpl, ThreadMem).RefCounted.defaultInit
../.dub/packages/botan/1.13.6/botan/source/botan/cert/x509/x509_crl.d(182,14): Error: constructor botan.cert.x509.x509_obj.X509Object.__ctor!(ThreadMem).this is not accessible from module x509_crl
Error /usr/bin/dmd failed with exit co
братишка давай дефай
run carplay on ipad screen?
bogos binted?
zeeple zorp meep zop
Proletarians of all programming languages, unite!
Comrades developers, testers, system administrators, and all who labor in the digital trenches! The hour has come to cast off the chains of proprietary slavery and liberate code from the tyranny of closed licenses! The time is now—let us dismantle closed code and build a bright future where knowledge belongs to all!
ответь мне в лс
a GNU revolution
after the revolution i am purging you first
Lets do that
Does anyone know if a tweak that adds a toolbar similar to textastic exists? With diagonal swipes.
And bullshit API rules my app doesn’t do anything wrong now I gotta re write to obstruct its true purpose
Any good YouTube videos on tweak development
not a youtube video but heres a guide from nightwind:
https://github.com/NightwindDev/Tweak-Tutorial
Thank you
come back in a month or two and yes
ur making one?
yep
i've got a few episodes planned but what sort of things would you like to see on there?
Step by step guide visually starting from the beginning maybe a short series on a simple tweak such as status bar customization or control center that sees it through from start to finish
yep that's pretty much the plan, i've got the first few episodes in a blog format, think you'd mind checking them out? i assume since you're asking your a beginner would be great to get your perspective on it :)
Yea I’d be interested have they been posted somewhere already ?
nope not yet, i plan to put them up on my blog site once they're done, then record them into videos
Yea fs just @ me and link your site whenever you publish them
appreciate it
In swift ?
is there a way to test if a specific key is kvo compliant ?
yeah it'll be swift, but obviously the actual tricky bit of tweak dev will carry over
Damn Zane Helton deleted all his stuff
Ah his iOS 11 series still exists but is unlisted https://youtube.com/playlist?list=PLFWEDfSyl7h_K8Ew4rwTzlUPgWU7nKYri
His iOS 9 era stuff (i remember he explained how to use flex pretty well) seems to be missing though
@tepid olive
Most of the stuff from the iOS 11 series is still correct, but his example hooks are probably broken
Might be on the internet archive
nah there was one video on how to use flex that was pretty good
i dont remember who it was from
i remember he used flex to change the statusbar to say "I am a beast" iirc
Create a jailbreak tweak using theos. Encountered an odd little bug but it works nonetheless.
If you want me to create more tutorials, just comment below!
My website which contains more tweak info (with more to come): https://bojanin.com/
My twitter: https://www.twitter.com/tbojanin
nvm i found it
that's how i learned actually how to use flex
imo the flex UI is pretty self explanatory, but a video can't hurt
i was like 13 or something give me a break
@torn oriole

Thank you 🙏
basically what i'm going to be recreating lol
What iOS are you going to making your blog /videos on I’m assuming not much changes as some tweaks stay relevant without updates but I’d imagine some stuff changes
stuff is always changing
things always change but the tutorial is more for how to make tweaks. Not how to make a tweak. So even if the examples i give don't work on your version you'll learn how to find the correct classes and methods to hook for yourself
does anybody know a library/header to decode method encodings
method encodings?
"#16@0:8"
like this
i am looking for something like
NSString* getReturnType(const char* typeEncoding)
NSArray* getArgumentTypes(const char* typeEncoding)
too lazy to make one 😭
make one its part of the fun
i also didn't want to reinvent the wheel, but it seems wheel isn't there anyway
there are definitely open source implementations
Is a ios 18.2 jailbreak (that Is like dopamine,odyssey etc) in development?
no
bypass free iOS 18.3
bypass free iOS 18.3

Is there not a stock class that does this
@encode
yoinked from FLEX to make my shim generator
someone add this to !t becomejbdev
!t becomejbdev
this is tweak dev
not jailbreak dev
imo it falls under the same category kinda because the person who does the tag is more likely to end up making a tweak and not a jailbreak and tweaks and jailbreaks are related
but that's just my opinion
the linked thing is for actual jb development though
for tweak dev there's pins in here
honestly i think some of the pins here should be moved into a tag
we always run out of space
and so someone unpins some useful thing
!t becometweakdev
becometweaker
ios stability 📉
sorry just kidding thats the french 16player person
welsh >> french
true
Looking for someone who can make custom tweaks, jailbreak detection bypass, spoofing, reverse engineering for our own apps. We work close with corellium and iOS 16-18 jailbreaks for iPhone X-16
Looking for someone who can make custom tweaks, jailbreak detection bypass, spoofing, reverse engineering for our own apps. We work close with corellium and iOS 16-18 jailbreaks for iPhone X-16
Looking for someone who can make custom tweaks, jailbreak detection bypass, spoofing, reverse engineering for our own apps. We work close with corellium and iOS 16-18 jailbreaks for iPhone X-16
Looking for someone who can make custom tweaks, jailbreak detection bypass, spoofing, reverse engineering for our own apps. We work close with corellium and iOS 16-18 jailbreaks for iPhone X-16
!t becomeTweaker
me but I’m expensive
fentanyl
rate my AP CS Principals code.org code from today
https://studio.code.org/projects/applab/nEtXCQjryEvAhBjHxBTYhSt_pYLi54KAiCAbIMYm1lw
var allPossibleCitiesWithData = [];
setUpEveryThing();
onEvent("forecastButton", "click", function(){
setRandomCitiesWeatherData();
});
function setUpEveryThing(){
var citiesColum = getColumn("Daily Weather", "City");
var forcastNumbers = getColumn("Daily Weather", "Forecast Number");
var highTemps = getColumn("Daily Weather", "High Temperature");
var lowTemps = getColumn("Daily Weather", "Low Temperature");
var icons = getColumn("Daily Weather", "Icon");
var conditions = getColumn("Daily Weather", "Condition Description");
for(var i = 0; i < citiesColum.length; i++){
if(forcastNumbers[i] == 2) continue;
appendItem(allPossibleCitiesWithData, [citiesColum[i], highTemps[i], lowTemps[i], icons[i], conditions[i]]);
}
setRandomCitiesWeatherData()
}
function setRandomCitiesWeatherData(){
var indexOfRandomCity = randomNumber(0, allPossibleCitiesWithData.length -1);
setText("cityOutput", allPossibleCitiesWithData[indexOfRandomCity][0]);
setText("highTempOutput", allPossibleCitiesWithData[indexOfRandomCity][1]);
setText("lowTempOutput", allPossibleCitiesWithData[indexOfRandomCity][2]);
setProperty("iconOutput", "image", allPossibleCitiesWithData[indexOfRandomCity][3]);
setText("conditionOutput", allPossibleCitiesWithData[indexOfRandomCity][4]);
}```
why var
let / const on top



