#development
1 messages Ā· Page 508 of 1
I have š
it does also do a bunch of smart ideas other than strip metadata of course
mainly, recompresses the image data section with better settings than Photoshop and stuff use by default
Photoshop is actually possibly the worst offender of all
final cut exports videos that are like 10gb
What format do you use though
i pass them in ffmpeg and it's like 750mb
ProRes moment
well yeah master will be losslessly compressed
h264/5 is lossy and thatās where you get the huge size reduction
When I edited we compressed quite a lot
your old username was the best part tbh
I think we went down to exactly what YouTube will compress it to, just to shorten the time it took for us to send stuff to each other

Hoe
i will not say it out of respect
lmao
Literally everyone on the team had awful internet which was fun

video group assignment, covid style?
well they were all kids no?
ok but the editors
hopefully the final product isnāt like a 10th generation lossy output š¬
lmao
it was H.265 at the exact bitrate of YouTubeās 1080p
like when people re-save jpegs and they become a deep fried mess
lmao
Group of 8 people working on gaming videos for a channel at around 50k subs
this one looks like the .avi videos youād download back in the day āoptimisedā for downloading via modem
48p
resolution quite literally a postage stamp
true
14p resolution is fun to watch
uh
the swift toolchain on wiki
ubuntu @tepid olive
i compiled another swift tweak no problem
ubantu moment
this tweak has objective c and i wantedf to use this switch code to get a cool switch for what im developing

oh that's probably an issue with the swift toolchain
YAMMs are awesome
yamms?
this

yea lmaoooo

yea but anyway, i wanted to add that swift code to it
to have a better looking a switch
did you make a bridging header?
tbh that switch would look really out of place in that game
^
im just using this game to test the ui itself lmao

it's probably in theos docs
bridging header should be in apple docs
i havent implemented any code yet in swift
if it's not, search up how to make one on google, and put <project name>_BRIDGING_HEADER=<path to bridging header> in your makefile
just compiled it standalone to see iuf it would work
oh

cool nvim setup
thanks, just switched from nvim-compe to nvim-cmp today paired along with native nvim lsp and its amazing
i couldn't get sourcekit-lsp to work 
This is the easy way, download swift toolchain from https://swift.org/download/#releases
Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.
cmd = { "/home/ubuntu/.swift/usr/bin/sourcekit-lsp" },
filetypes = { "swift"},
on_attach = on_attach,
capabilities = capabilities, cmpcapabilities
}
something like that
obviously for on_attach and capabilities are going to be different for you
i cant really find anything on building a bridge jheader
also make sure you have a Package.swift in your project dir since the sourcelsp requires it for it's root dir
@hardy glen do you know how to make a bridge file?
iām addicted to crack cocaine
bridgingheader.h
its automatically produced
š¦
did you include a swift file to build
pretty sure thats not how you include swift files
#import <proj_name-Swift.h>
but it won't work for you
ill try with a new project hold on
this is my make file
==> Generating test-Swift.h (arm64)ā¦
==> Generating test-Swift.h (armv7)ā¦
make sure this comes up
also make sure you are using a swift toolchain
yes if modmenu is the name of your project

can you do a make clean and make package to see if you ==> Generating test-Swift.h get this

Swfit.h doesnt even exsit
take that line out lmao
have it compile successfully at least so you can see if the header gets generated
said it a while ago lol
i copmpiled the swift stuff fine using one of theos templates
can you try with a simple swift file
already diud
instead of whatever you have in there
sure
what does it say
yes, so its probably something that you are using inside your swift file
can you send the swift file
just a simple switch i wanted to implement for my menu
@hardy glen personally i would see an issue wiht iut
Simple switch that is only 600 lines
WTF
update your toolchain

i used this comand
sudo apt install zstd
curl -LO https://github.com/CRKatri/llvm-project/releases/download/swift-5.3.2-RELEASE/swift-5.3.2-RELEASE-ubuntu18.04.tar.zst
TMP=$(mktemp -d)
tar -xvf swift-5.3.2-RELEASE-ubuntu18.04.tar.zst -C $TMP
mkdir -p $THEOS/toolchain/linux/iphone $THEOS/toolchain/swift
mv $TMP/swift-5.3.2-RELEASE-ubuntu18.04/* $THEOS/toolchain/linux/iphone/
ln -s $THEOS/toolchain/linux/iphone $THEOS/toolchain/swift
rm -r swift-5.3.2-RELEASE-ubuntu18.04.tar.zst $TMP
first i had the one withoutr
and then i deleted that one
and got the swift one
and how long ago was that
outdated in 2 days, F
yesterday actually
try
i think the problem is it can't find the /usr/lib/swift directory to link to
i don't have that error
Combine is in the standard libarary i think
@hardy glen that was exactly the issue
i had to fix something else with a window thing
but i change it to
and got this sexy mf
yup now should be able to use the header
this is going to be hell
cuz everythign is Obj c
besides this one switch lmao
i have to make the views with switches in obj c and swift
which is gay
and idk how to do
lmao
@hardy glen so i need to add this right?
#import "ModMenu-Swift.h"
#import <ModMenu-Swift.h>
wait no this
#import <ModMenu-Swift.h>
They do the same thing
usually brackets are for libraries, and quotes are for local files and such
So Itās easy to differentiate
https://stackoverflow.com/questions/21593/what-is-the-difference-between-include-filename-and-include-filename read this for a better explanation
you would include the file where you would want to use it
hm
so i can start writinf swift code in my ModMenu.mm now right
or it doesnt work that way
Pretty sure that stackoverflow comment doesn't apply for most compilers anymore
really? i had no clue, i thought it also depended on what directories it checked first
google answers all questions
you should look into how swift integration works in objective c
its not lmao
cuz ios programming isnt as known on android and pc
hm
the class is already made
so now i just have to expose it in obj c
and then use it
ah
i did not know what to say to that
if you can't find resources to help you then there is no hope
literally everything is out there. Just read the docs

Just make a mod menu for it
could you please make clean all messages=yes?
itās probably related to some sort of deployment target mismatch as explained here but Iāll need the log before I can more https://forums.swift.org/t/strange-linker-error-mentioning-swift-gettypebymanglednameincontextinmetadatastate/38936/2
It sounds like you're trying to link against an older Swift runtime while targeting a newer OS. swift_getTypeByMangledNameInContextInMetadataState was added in iOS 13.4 IIRC, and is not in older OS runtimes, nor is it in the Swift 5.0 runtime used for backward deployment to pre-Swift-ABI OSes. You shouldn't need to add the toolchain library path...
first of all
cuz i have to do this lmao
why are you using swift
you can get a nice switch in objc
i couldnt find any :/
you could just make your own
keep trying, I am sure it'll start working the moment you've exceeded the hours needed to implement it yourself.
bruh
figured it out
I managed to fix it by using an iOS 14.4 sdk, apparently this symbol got added in 13.5 sdk
So now it works
The threads showed racist behavior in the past and therefore couldn't be forgiven
That method has been dead for a few iOS versions now
Add a log to it, if it gets called then its not dead code.
depends on what system you are developing on, google can help you figure out which logging system you can use.
what i do is i download the oslog tweak and in my tweak, when i want to log, i do NSLog(@"[Tweak Name] test, method loaded!");, and before i start testing, i run the command oslog | grep "[Tweak Name]"
and then i can see what it logs
in this case, using the method you brought up before:
%hook SBFolder
-(BOOL)shouldRemoveWhenEmpty {
NSLog(@"[folder] Test, method loaded!");
// returning %orig here because we don't actually want to modify anything, we just want to know if this method runs or not.
return %orig;
}
%end```
\[folder\]
who cares
oslog | grep PENIS
you shouldn't chose not to log in a certain way just because of grep...
stupid ass logic

based
well if it doesnt log anything at all, then you know that its a dead method
thats the point
I do know, but test it for yourself
good man
i learned that if i bother the entire #development channel enough someone will give me the solution without me having to do anything 
for the love of god
actually write some code
some of you [slur redacted]s forget you have hands

Yes, that means the method is dead. That was the whole purpose of putting the NSLog into your code.
I don't think anybody here is gonna know that off the top of their head.
debateable

but really figure it out for yourself

Well you can download them from those sites but they are obviously not meant to be used/included
@orchid ice most people use the online version
i think
you need to dump those yourself
[[flexAll]]
[[libFlex]]
The ones online are dumped btw
flex is easy asf if you know what ur doing
literally all you need is knowledge of uikit
and objc
knowledge you should have before getting into tweak development
@grim sparrow do you know how to decompress a file natively in swift cause
Or would it be better to use a 3rd party lib
yup
Is it a jailbreak app or stock?
jb ofc
Then you can use libzip
bruuuuh
saily code
could they not have done swift requiresRestart = install .map(\.0) .contains(where: { $0.hasPrefix("wiki.qaq.chromatic") }) || remove.contains(where: { $0.hasPrefix("wiki.qaq.chromatic") })
also saily source is so bloated theres like 3k files
json 
xml, xml property list
Why the fuck does it even need 2k json file
i have no idea
the devs Mac exploding when they open the Xcode project
not bloated, it's mostly 3rd party code
well
it has some icon library with like 2,200 icons that are all presumably copied into the app so I take that back
actual app code excluding Foundation/ dir

Wait
Why tf does it have 2k icons
WTF

some icons library
8 billion depends later
ok so how do i make procursus think my project doesnt have patches
because it keeps looking for them and complaining that they arent there
what
oh wait i fucked something up
you wrote a neomutt makefile?
o
if you are gonna do makefiles you might wanna set your sights a lot closer first
something way easier than that
true
what is a good way to start making tweaks and what coding language are they made in
@pliant fossil I have neomutt debs on my repo at https://cameronkatri.com
Also iSync
Orion moment
Orion is too good to be true so its not real
he's trying to store your mom
Don't need compression for that
@grave sparrow NSData supports these
do {
let compressedData = try (yourData as NSData).compressed(using: .lzfse)
// use your compressed data
} catch {
print(error.localizedDescription)
}
If you want to use other algorithms you can either rewrite the library in the language you need, which is what SWCompression is, or you can just compile the dylib and bundle it in your app
I'm sure apple would include libzstd in the standard sdk if you asked nicely enough 

Riddle me this
apple and facebook are best of friends after all
xip is cringe i donāt want it
xip is the best compression algo to ever exist 
please apple i am begging you to compress xcode as zstd
man
the wikipedia page for .xip is dead af
An .XIP file is a XAR archive which can be digitally signed for integrity.[1] The .XIP file format was introduced in OS X 10.9, along with Apple's release of Swift.[2] .XIP allows for a digital signature to be applied and verified on the receiving system before the archive is expanded. When a XIP file is opened (by double-clicking), Archive Utility will automatically expand it (but only if the digital signature is intact).
Apple has reserved the right to use the .XIP file format exclusively, removing it from public use since release. Starting with macOS Sierra, only .XIP archives signed by Apple will be expanded. Developers who had been using .XIP archives were required to move to using signed installer packages or disk images. [3]
iām not sure who wouldāve ever wanted to use xip to begin with
this probably isn't that great
NSData *srcData = [NSData dataWithContentsOfFile:srcPath options:0 error:&scratchErr]; I don't think loading the entire contents of the compressed file into memory is a good idea

itās not great because i didnāt write it and itās not in swift
I can see this being an issue for larger files on certain devices 
As far as I know it loads the entire buffer into memory
Theyāre for different file types
rip zlib
Damn you Apple
zlib-ng lives on
I love the attitude of I am the reference
liberal license??? i only use conservative licenses in red white and blue ššššŗšøšŗšøšŗšø
Whatās with all the red names? Whatās happening?
apple event is tomorrow
And how is that related to red names?
apple exec role
to be fair if youāre the primary source, then youāre the primary source i guess...?
if itās true or not is up for interpretation.
exactly
Am I supposed to believe that Apple executives are in this very discord ? 
yes
Ok
we had a copy pasta about that but i think it got nuked :(
Good
Please stop showing off my pipe
This is hilarious
true
oh cool ty
@pliant fossil are you learning tweak dev 
no

was trying to add a makefile to procursus
boba best
who up playing with they worm
me
no fap 1 day strong


The fact that actual Apple Executives are on this server using, recommending and condoning tweaks blows my mind, I'd think that they'd be against the idea of sharing what they use and discussing them as if they are just normal users, I mean as far as I'm aware Apple hates jailbreaking devices and wants to stop it at all costs, that's why it's getting harder to do, but the fact that they are here discussing tweaks and saying the price of them, essentially recommending them, still blows my mind. understand they are here mainly to add features to the default iOS, but that doesn't necessarily mean you have talk about it and help others out with tweaks. Not complaining. I personally think it's awesome. Just, I find it kinda strange and hard to believe at times. And that some are even giveaway sponsors is even crazier to me, I mean, it's essentially supporting the community that all the security patches destroy. Awesome that they do it, just kinda odd to me.

[redacted]
thank you albert very cool
Albert Gore Jr.

is this related to baseband not supported with 13.7 or divise did sth
tl;dr
Xcode is just ass at handling this
oof
unplug replug the device
then cancel and retry
same
Wtf impresonation
GOOOOOOOODDDDD MORNINGGGGG!!!!! My name is Tim MORNINGGGGG!!!!!, and I hope ALL of you are having a wonderful MORNINGGGGG!!!!!

lol
lool
But can you read the json file?
{
"read": "no"
}
?
what does it do
same š¤Ŗ
@everyone jailbreak
go harass him now
@neon compasssnow @pwn20wnd check it out guys new jailbreak
All Of My Exploits are Exclusively Available for The Use of the Manticore Team. Copyright 2011 Do Not Steal ! Proudly Developed In Pakistan 2021. :)

[[joe]]
don't care
.
man
thats nice and
all but who
in the fuck
asked
.
?*
average development conversation
because you have notifications on for every message
Real
š¶
Lmfao thought this was you when I first looked
Nah real Hayden is cuter
khayden
@indigo peak what did you do this time
We donāt talk about it
Slight homicide
And a little arson
Those orphans didnāt see it coming
No cap
why should i sign my repo
It is like signing commit it verifies that it yours basically
quick, change it to @import UIKit; before adam complains

although saying that, you only need to import Foundation for that code
you should
you also donāt have an sdk so how is it going to know how to build anything 
i am not rich
thatās how capt made typecentury (barely) work 
rock
just work at apple
just learn the darwin kernel and contribute yourself bro
find a person who is smarter than you and make them your bitch
just buy a first party monitor nerd
no biggie
just spend a couple thousand
Pretty sure $300 monitor does not fall under the poor category
Because SDK is not part of the compiler
cumming
yes meth
discords api is shitting itself
Yeah
are you using procursus?
build essentials will take care of that
then you need to point it to the directory where the sdks are
i donāt know i donāt use rust
lol
fish 


@upbeat wyvern I'm not sure if this is expected behaviour but I figured out how to reproduce the giveMeRoot crash in other stuff, trying to use MSHookFunction with a NULL symbol will result in a crash instead of just silently failing

because
substitute injects into everything inside the app bundle
so if a tweak is injecting into sileo, it will also inject into giveMeRoot
and this crashes it
meaning sileo isn't able to run root commands
the crash log was almost identical to when I was trying to use MSHookFunction but I had a typo in my MSFindSymbol code
its the cause of this error
idk the specific reason for killing giveMeRoot
I just know that if any tweak is injecting into sileo and you have substitute installed, giveMeRoot will crash
with a substitute crash log
no
any tweak
theres your logs funny words man
I have no idea
I only tested it on my end with TweakIO and TweakReviewsDB
but it seems to be happening with everything
Why
its not a fault in my code
You care far more than I do
n
And I just restored my phone from checkra1n because of another substitute bug
that was making me want to off myself
He's already able to reproduce it on his end....
why would I restore my phone again to confirm the existence of a bug
for no purpose
I know whatās causing that but Itās a result of another fix for literally the same issue so I need to figure out proper tests for every ios version for it and a better fix
fair enough
at first I thought it was a bug in my hook stuff until eventually realising I spelt GPIO wrong in the symbol
I have an exploit idea
Why not just blast an iPhone with radiation, causing bit flips during the part where it checks if the tss blobs are valid
Since I know that most Apple devices are not certified for the ISS lol
let us know when you have a prototype of that
I need to obtain some radioactive material first
Yup gl
I mean people pulled off insane shits like the Kamikaze hack for the 360
hey friends
need some help
so i am on ios 12
arm64
lemme print some stats about my binary
so fake codesigned
universal binary
it works on ios 10
so whaaaat am i missing
Where is User
who
@twilit jungle could you please explain your banner, Iāve been wondering about it for a while
it says welcome

what else do u need to know
Fair enough
weeb

Dgh0st weeb confirmed???
You could probably put it in the microwave
Lol Jules sent it to me like a month ago... still waiting on him to send me a new one
Good luck bombing your own home
why is my house on fire
deadass though
so that explains why my phone installs android whenever i drive by the local nuclear power plant
Isn't it ldid -S to fake sign a bin
Did you found an exploit yet?
as deep would say
he gave the opening speech at fermicon 2024
oh wait im from the future i wasnt supposed to tell you that
yup, we been doing that
works just fine
EXCEPT IN IOS 12
you might need platform-application ent
no
:bruh_l:
just add the major 3 everyone uses and hope for the best
4 if you need ios 14 and itās an app, 5 if you care about the chinese
jailbreaks were fucked up back then
iām fucked
is*
yours was until she met me
yeah iāve taken a lot of virginities away
that was me when i met your mom after NNN last year
my mom is a male
yeah what about it
cam doesnt discriminate
Except cam discriminates when its time for child support
and when its time for racial equality
child what?
child allowance
i only believe in slave labor

brilliant
Or its injected into the trust cache
Hi
Yes kermit is bae
lol
@grave sparrow 
Where have I heard that name before
i have no clue
It was rhetorical
i still have no clue

sorry, cant help you
I also have no clue
see thats when you fucked up
he also has no clue.
when sbingner doesnt know the answer
true
oh I have lots of answers, just no clue
we go way back
blues clues
š
i need to add acc creation date to accord
evelyn is also my bestie

i am evelynās bestie
pogger
bestie!!
you can fact check it
not wrong

u didn't do accord stuff though 
evelyn, sbingner, scoob and dgh0st are all my besties
im eating dinner now
no need to fact check
roach
can i help with accord in any way shape or form?
someone make me accord windows UI 
this
i call it the win32 api not the sdk
swift calculator app on win32
i have a very basic understanding of swift
but it cant be thaaaatttt bad

@tepid olive is it only on mac rn?
what is
accord


hello
this actually sounds easy
i just don't use windows
do you have a device/emulator to test on?
i do
same
maybe not charged but yeah
trOS
frOS
@tepid olive send accord source code, ill convert to windows, no scam
def wont release on the dark web
ill actually give it a shot
sent u an invite

50$
if u get 50$ for it give me 10 at least

ok i dont actually know how xcode works
so the actual source code is in the Accord dir
but the properties for the app IN xcode is in the .xcodeproj?
so i just need to look at the Accord + icons folders?
you only need the stuff in ./Accord/
anything that imports SwiftUI can't be used
you should start by making a simple app with a list and a textfield and go from there

so example GifManager.swift that imports Cocoa and not SwiftUI could that be used straight?>
nope
or would i need to do some hacker man shit
ok now i got to install swift 
cool kid list ā¬ļø
honda
honda
Is their a tweak that can take use of the Apple Find My Network feature to see if any devices are requesting connection or have been recently connected via your phone? Like a Find My Network Radar?
thats not what this channel is for
no but you can make it

ur in #development, make it bro
got a test on big O coming up. thanks for the help
@tepid olive SwiftWin32 is so fucking hard to setup
indeed
bruh just use opencore or vm
@tepid olive happy birthday bestie!
thank u
I had my first quiz on proving O(n^2) yesterday š¤
i am not going to lie, i am still not comfortable with big O. i wish there was a teacher that could actually teach me like even on youtube
i have a mid term tommorow 
big O is ez
and i am up at 6 am nice
facts it seems easy, but i havenāt learned about it. i tried to watch the lecture and my teacher did not explain shit right
The second method he shows in this video is great for proving big O https://www.youtube.com/watch?v=DjfYhHSkWqo
Learn how to prove computer science asymptotic analysis.
This video proves f(n) = O( g(n) ) or in this case f(n) = O(n^2).
Big Oh proof by definition.
Easy Algorithm Analysis Tutorial:
https://www.udemy.com/algorithm-analysis/
Recurrence Relation Tutorial:
https://www.udemy.com/recurrence-relation-made-easy/
Please subscribe !
āŗWebsite: h...
<@&459007852728811520> @tepid olive Hope you have a wonderful day 
Does A15 have MTE?
we donāt even have the phones 
Remember folks you have to buy 256gb model to record in 4K
thanks !!
i don't think
they will continue disabling it until its ready or they need it
not sure why they prolonged entanglement for so long
lol
same people who let pegasus happen yet again
ok the 4k shit is just for prores
what would a hello world tweak in logos be
https://github.com/semvis123/Sonyfy was a hello world tweak for me 
that tweak is deprecated, use Sonitus instead lol
i like to do 1 of these two
// executes when the springboard loads
%hook SpringBoard
-(void)applicationDidFinishLaunching:(id)application {
%orig;
NSLog(@"TWEAKNAME hello world.");
}```
```OBJC
%hook SBStatusBarManager
// executes when you tap the statusbar on the homescreen/lockscreen
-(void)handleStatusBarTapWithEvent:(id)arg1 {
%orig;
NSLog(@"TWEAKNAME hello world.")
}
this was a hello world tweak for me:
why is the repo not deprecated
@indigo peak why would you do that over alert

alert is more hello world imo
it is now lol
i dont think so
i think its automatically imported
bc like spiffy
"%hook SpringBoard
- (void) viewDidLoad {"
- advanced dev

%hook SpringBoard
- (void) viewDidLoad {
%orig;
UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Hello World" message:msg preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction *action = [UIAlertAction actionWithTitle: @"Dismiss" style: UIAlertActionStyleDefault handler: ^ (UIAlertAction * _Nonnull action) { NSLog(@ "Dismiss Tapped"); }];
[alert addAction:action];
[self presentViewController:alert animated:true completion:nil];
}
%end
%orig mf
tweaks are usually objc
ik
compared to just
%hook SpringBoard
-(void)viewDidLoad {
%orig;
NSLog(@"TWEAKNAME cum.");
}```
fixed
makefile tweak guide eta
Since when is SpringBoard a view controller?
always has been


you have upset DGh0st 
until you're bored after school and read the make man page
you mean at school?
heh
did you mean to make it print ```
roach
balls and roach
and you forgot phony š
hmm yes i did
Silly goose
youre a silly goose
dummy
right

bad joke attempt ignore

:frspider:
Hey anyone alive here?
no
yes
No they declared my time of death a few hours ago
whatās the problem
Okay

5.75 more hours until preorder time

bruh
Ever heard of a table view?
nah
time to learn UIKit then
lmao
but anyways
idk why i did wrong exactly
to cause this issue to occur with my scrollview and switches
if anyonje is able to be able to find out the issue ill give a little tip :0
š
$$
i'll take the money for free
The issue is within ModMenu.mm, I'd like my $10 to go to leviathan developer.
then just fix it












