#development
1 messages · Page 241 of 1
ip logger
heroku and digitalocean
theoretically yes but that's not something i'm considering
:(
tweakreviewsdb keeps track of users with udids
i'm not sure if a udid is considered pii but i don't want to just give that database to someone else
makes sense
I would say it is
you wouldn't give your UDID to a random person
if you were to give it to someone else even if they're trusted, I personally would have people do something that asks if they would want their UDID transferred which in the process could have it compromised of sorts, and if they say no then it wouldn't be transferred
i would
i have 4 udids and 2 of them are nebulas
This
its prob the game
Is there anyway to unzip it
is that even a zip
Deltarune is game maker right?
So it’s probably the game maker shit and assets packed into that file
Yes
How to open and see things inside of it
Or just edit
If it's a gamemaker thing undertale mod tool might be able to open it
Should’ve hashed 
there's also an issue regarding anonymity
people who have not set a username are practically anonymous, the only way you can match one review to another through the public API is through usernames
of course that anonymity is completely lost if I give the full data to someone else
tbh I don't think anyone cares but there's the possibility that someone might
How do you get extensions to show up in autocomplete
wait for xcode indexing to index
i'm aware this answer is so incredibly vague
well, i've had xcode sit here for about 36 hours 💀
nuke the cache
btw i'm talking about like
.vertical enum
i hate having to manually type .vertical and have it try and autocorrect to .Vertical
ill try that tho
so like all of derived data?
what version of xcode is that-
xcode 7.3.1
bro get a new setup 😭
a new setup that supports the swift 2.2 toolchain?
i'd be glad to hear which one that is
so i looked into it
and trust me, i have tried literally every solution in existence
i mean every solution
you cannot get swift 2.2 running properly on a modern mac
it will not happen
lol
i mean what are you trying to do with swift so old
and
swift on ios 6
yeah i get it but why lol
xcode 7 had shit autocomplete and most solutions are jsut turn it off
i have xcode 8
xcode 8 has the same problem for me
xcode 8.2.1 is the last version to support swift 2.2
if ur mixing and matching you'll want to be nuking deriveddata each time
and setting the right xcode path in settings
i do
#if !swift(>=3.0)
import Foundation
import UIKit
extension UILayoutConstraintAxis {
static var vertical: UILayoutConstraintAxis { return Vertical }
static let horizontal = UILayoutConstraintAxis.Horizontal
}
#endif```
ignore the mismatch
it was for testing
but this is what i want to autocomplete
yeah idk what to tell you
yeah okay so
ive decided since thats the only thing that doesn't autocomplete
you can just manually change your camel case
sure the codebase wont IMMEDIATELY compile in everything
but xcode will figure out what u did wrong
and fix it fory ou
so its fine
i'd rather keep autocomplete
at least functions autocompelet
Best macOS you can use for swift 2.2 is macOS High Sierra with Xcode 8.2.1 and swift 2.3
Ok
Just a PSA for anyone wanting to use it
import UIKit
// MARK: - Internal Anchor Backport (safe names)
class JAnchor {
weak var view: UIView?
let attribute: NSLayoutAttribute
init(view: UIView, attribute: NSLayoutAttribute) {
self.view = view
self.attribute = attribute
}
func constraint(equalTo other: JAnchor, multiplier: CGFloat = 1.0, constant: CGFloat = 0) -> NSLayoutConstraint {
return NSLayoutConstraint(
item: view!,
attribute: attribute,
relatedBy: .Equal,
toItem: other.view,
attribute: other.attribute,
multiplier: multiplier,
constant: constant
)
}
func constraint(equalToConstant constant: CGFloat) -> NSLayoutConstraint {
return NSLayoutConstraint(
item: view!,
attribute: attribute,
relatedBy: .Equal,
toItem: nil,
attribute: .NotAnAttribute,
multiplier: 1,
constant: constant
)
}
}
// MARK: - UIView extension using safe internal anchors
extension UIView {
var jLeadingAnchor: JAnchor { return JAnchor(view: self, attribute: .Leading) }
var jTrailingAnchor: JAnchor { return JAnchor(view: self, attribute: .Trailing) }
var jTopAnchor: JAnchor { return JAnchor(view: self, attribute: .Top) }
var jBottomAnchor: JAnchor { return JAnchor(view: self, attribute: .Bottom) }
var jWidthAnchor: JAnchor { return JAnchor(view: self, attribute: .Width) }
var jHeightAnchor: JAnchor { return JAnchor(view: self, attribute: .Height) }
var jCenterXAnchor: JAnchor { return JAnchor(view: self, attribute: .CenterX) }
var jCenterYAnchor: JAnchor { return JAnchor(view: self, attribute: .CenterY) }
}
// MARK: - NSLayoutConstraint isActive Backport
private let activeConstraints: NSHashTable = NSHashTable(options: .WeakMemory)
extension NSLayoutConstraint {
var jIsActive: Bool {
get {
return activeConstraints.containsObject(self)
}
set {
guard let firstView = firstItem as? UIView else { return }
firstView.translatesAutoresizingMaskIntoConstraints = false
if newValue {
if let superview = firstView.superview where !superview.constraints.contains(self) {
superview.addConstraint(self)
}
activeConstraints.addObject(self)
} else {
if let superview = firstView.superview {
superview.removeConstraint(self)
}
activeConstraints.removeObject(self)
}
}
}
// MARK: - Activate / Deactivate multiple constraints
static func activate(constraints: [NSLayoutConstraint]) {
for c in constraints { c.jIsActive = true }
}
static func deactivate(constraints: [NSLayoutConstraint]) {
for c in constraints { c.jIsActive = false }
}
}
// MARK: - Typealiases / Modern-looking names
extension UIView {
var leadingAnchor: JAnchor { return jLeadingAnchor }
var trailingAnchor: JAnchor { return jTrailingAnchor }
var topAnchor: JAnchor { return jTopAnchor }
var bottomAnchor: JAnchor { return jBottomAnchor }
var widthAnchor: JAnchor { return jWidthAnchor }
var heightAnchor: JAnchor { return jHeightAnchor }
var centerXAnchor: JAnchor { return jCenterXAnchor }
var centerYAnchor: JAnchor { return jCenterYAnchor }
}
anyone have a better solution
using typaliases is a bit annoying
Hi there, has anybody attempted backporting ios frameworks yet? I wanna try making AppTrackingTransparency backport but I'm not sure how to properly inject it
With great difficulty
Has anybody achieved proper framework injection?
What’s your end goal
I know coolstar was able to back port lossless music but it was a complete pia and not at all production ready
it worked by just copying a cache from a new ipsw over and forcing apps to use that
I wonder if one could do the same for WK 
WatchKit or WeatherKit
that’s vague
WebKit
OH
Yes
I see people doing that all the time
don’t you dare say whoosh
Somewhere here I’m sure you can find a statically linked safari from new iOS
wait what
statically linked
???? Since when lol
r/woosh
What’s the point of tweaks like [[Polyfills]] then, if someone could just wrap dsc launching/static safari
I think the biggest argument for not distributing a static Safari is it’s arguably piracy
I’m not sure what the servers stance on it is
Okay, but then, if you download dmg from ipsw using libpartialzip, mount and extract safari/dsc it probably wouldn’t be considered as piracy
(everything is on device)
Sure
introducing a new framework should be totally doable, if you're on rootful
unless dyld is hardcoded to never look on disk for /System/Library/(Private)Frameworks which it might be
Bind mounts on rootless too
write a framework that just implements stubs for the public APIs and see if it works
wasn't there like a file on internal builds that made it look at the disk for libraries too
makes it seem like it would be prevented by default
that sounds like a thing they'd do yeah
From a sideloaded ipa / appstore app, are there restrictions around connecting to localhost over TCP? Specifically, SSH? It's timing out for me
Ah that's so annoying, it seems like iOS blocks the SSH port specifically
I tried it on localhost port 44 (dropbear) and it connects fine. wtf.....
i assume this is why palera1n has another ssh server on port 2222\

I want to run iOS 14 apps on iOS 13
Or at least to try to make it work
Would that not just make apps act wonky if they use anything that isn’t present
I mean you can do it on macOS with relative ease
Hello, Amy I assume you are in this channel, I have a question about Sileo telemetry. Does that exist? How many users do we have in the different iOS versions?
@grim sparrow ^
I’ll load it up shortly
Inb4 1/2 being from sketchy phone farms
I can check but I forgor what the domain is for the dashboard
oh I got it
nop it's broken
well I can tell you what Chariz is seeing, should be about the same
i dm'd it
boot iOS 26 simulator on your phone 
fwiw, simulators keep original dylibs and frameworks instead of having just dsc
OH
I wonder if it’s possible to make safari/etc use wk/jscore functions from these dylibs instead of whatever is in dsc
something like a dsc hook idk
i put 16.4 simulator webkit in place of 16.4.1 webkit and it worked fine
but pointless
Runtime Requirements: iPhone OS 2.0
Does anyone know how one would fix (shadcn) sidebars with iOS 26? Has apple said something about this? Are there new css env vars to fix this?
Bye 🫡✌️
As far as I can tell it's working as intended?
Well, before they made the bottom thingy transparent, the cutoff wasnt visible and fit in the viewport. But now, the viewport size is the same, but the bottom bar is transparent so you can see behind it, breaking the "illusion"
the second image just doesn't look good
Sure but it's the same behaviour, it goes to the bar. I honestly have no idea I would probably create an issue with shadcn
This isn't an issue with shadcn
It's an issue with safari
safari 26 specifically
i'll try experimenting with https://developer.mozilla.org/en-US/docs/Web/CSS/env
but doubt that that's the right solution
i just thought maybe one of you knew a few new css vars that have been added (or not) in safari 26, or if the safari developer docs say something about this
cant get it to work
it overflows
but it isnt shown
even when overflow: visible is set
it does work when you scroll??? 
why are overflows not visible
Lmao
oop I missed him
XCode
there just isn’t a solution currently, and I’m certain Apple likes it this way

you mean apple likes websites looking broken now?
on Chariz we have a trick where I made the backdrop shade extend to like -100px and 100px, but it’s not working
that was going to be my suggestion
yeah its very weird why viewport overflows are not shown
maybe 26.0.1 fixes it https://x.com/aaronp613/status/1968426726960050200
it seems to me if the page is equal height to the viewport, it cuts it off
even if you have divs that extend past it
but the page isn't 100% the height of the viewport
neither the <html> nor the <body>
the thing is
the sidebar is position: fixed
and in my experience
safari does NOT like fixed elements
maybe its coz of that
probably coz apple thinks all fixed elements will be ads and popups 
@native dune Is it working yet
@native dune Is it working yet
Are you working yet
Hes working on nocturne as a slave rn
For free
You just sit around and do nothing all day probably
Working on my jellyfin rn
what r u doing on ur jellyfin
Adding a show
nice
Ban Maxine for piracy
im still adding one but its taking forever and im on hour 3
Arguably worse
Hello, I'm not sure if this is the right place, but I would like to know if there is a way on iOS to create an app that triggers backups of all other apps. I have seen that by connecting it to OS X, it is possible to do this using mobilebackup2. However, I was wondering if there is a way to do this from within iOS without jailbreaking.
can i implement a custom CAFilter?
As far as I'm aware this is not possible with any existing tools. This may be possible using sidestore's trick to connect to the device
that requires a pairing file
yes
how
one that uses a custom shader if possible
i have this extremely gorgeous shader written in metal that id love to put system wide
so real, non-gaussian blur only glass can be made
this is super cool
wonder if i can get it to work on ios 6
would be extremely cool but prolly needs a ton of runtime checks
note that @/#available doesn't work properly prior to iOS 8 or so
you need to do the @available guard to satisfy the compiler check, and then do a runtime check such as against kCFCoreFoundationVersion
it would require so much more than that
it would require me to write a full fleshed out backport of swift 3+ to swift 2.3
atp idk if its simpler to track down the api calls in swift's source and build a custom toolchain
the issue is whenever i try it's so overwhelming
swift's codebase is monumental
openswiftuis codebase is pretty large as well
i feel like it might be worth doing though
i dont t hink the project relies on stuff like concurrency
which is good
because i have no idea how i would even attempt to implement that in swift 2.3
rn ive just done like funni api renames but everything already fundamentally exists
either via obj c apis
or old swift apis
when were property wrappers introduced?
i think its possible i could maybe MAYBE get the first version of swift 3.0 preview to work on ios 6
with a custom toolchain
i already have a custom toolchain of swift 3.0 before the great renamings happened
that works
its a bit annoying to use though
ugh all of this would require so much wor
idek where to start
all for the purpose of getting away from uikit
i am hating uikit more by the day tho
i just fundmentally dislike the viewcontroller approach
its messy
swift 5.1
property wrappers
thats beyond even ios 7 iirc
swift 4 workson ios 7
If I'm generating an IPA for sideloasing should I make a .tipa or .ipa?
Like should my tool output files in which extension?
If its specifically using functionality that trollstore signed apps would provide use TIPA
Otherwise its just an IPA
wtf, gnustep but for sw*ft!
i really need to set up lsp in my nvim sometime
have a look at kickstart nvim, it's a bare bones config to setup the basics like lsp
how do you edit a mach-o binary's current_version and compatibilty version
i need someone to help me do a mass change to all my dylibs
Doesn't trollstore consume both anyway
.tipa is just a way of saying "this wont work without trollstore"
i'm banging my head against a wall here
nothing online gives any useful information
vtool doesn't work, install_name_tool doesn't work
i think it's best to just write your own program with one of the mach-o parsing libs out there
either that or use a hex editor and a mach-o template and go to town
honestly though someone should just write a mach-o editor tool that allows you to edit anything you'd like
Can’t vtool do this
i mean sure but it's meh
it also doesn't work properly for some reason
and it's pretty limited
there's already a mach-o editor btw
machoview
i think ipsw macho patch mod might
also vtool only seems to change some other version?
$ vtool
usage: vtool [-arch <arch>] ... <show_command> <file>
vtool [-arch <arch>] ... <set_command> ... [-replace] [-output <output>] <file>
vtool [-arch <arch>] ... <remove_command> ... [-output <output>] <file>
vtool -help
show_command is exactly one of:
-show
-show-build
-show-source
-show-space
set_command is one or more of:
-set-build-version <platform> <minos> <sdk> [-tool <tool> <version>] ...
-set-build-tool <platform> <tool> <version>
-set-version-min <platform> <minos> <sdk>
-set-source-version <version>
remove_command is one or more of:
-remove-build-version <platform>
-remove-build-tool <platform> <tool>
-remove-source-versio
build and source versions
and platform versions
i was thinking this
its like 20 lines of code to mmap in the macho header of a fiel
0.11.3 made this super easy, no dependencies, put this in ~/.config/nvim/init.lua
vim.lsp.enable'clangd'
vim.lsp.config('clangd', {
name = 'clangd',
filetypes = {'c', 'cpp', 'objc', 'objcpp'},
cmd = {'clangd', '--background-index'},
on_attach = function(_, bufnr)
local map = function(lhs, rhs) vim.keymap.set('n', lhs, rhs, {buffer=bufnr}) end
map('gd', vim.lsp.buf.definition) -- jump to definition (.m/.mm or framework header)
map('gD', vim.lsp.buf.declaration) -- jump to declaration (often the .h)
map('gI', vim.lsp.buf.implementation)
map('gr', vim.lsp.buf.references)
end,
})
you will need to generate compile_commands.json and put it in the root dir of your project, i use https://github.com/rizsotto/Bear
Aren't you supposed to use nvim-lspconfig so you don't have to manually reimplement every single language server integratiom
true nvim enjoyers will do so anyways to configure it just how they like it
idk i code in a finite number of programming languages
you can edit this tool to only apply version the changes if you want, it’s really meant for changing the platform but also changes the current/compatibility_versions as well https://gist.github.com/dlevi309/b06e14607e4f7a9d2296145d0734bb32
interesting
@native dune Is it working yet
what is this thing that you’re constantly asking is working or not?
- him
- the custom image that hes working on for the spotify car thing to make it work again
- himself
@wind ravine THANK YOU, I HAVE HAD MINE STUCK ON FOREVER

Damn
i have this awesome shader
that if anyone can tell me
how to put it into cabackdroplayer et. al.
then we would have a more accurate than not liquid ass
i know for a fact that the gaussian blur is coming from the gpu
so there has to be a shader somewheere
@orchid fulcrum did you ever figure out a way to bring the launchpad back on with the official macos tahoe release
also unrelated, but posterboard now exists in macos tahoe
don't think it was there before
spritekit works on ios 6
i knew it would
apple yet again having artificial limitations
getting it to work is slightly intrusive
you have to modify the mach-o files
but once you copy the frameworks into a local locatin
it works perfectly
exactly as you would expect
this is spritekit 1
im gonna try spritekit 2 next
using chatgpt to make me a build automation script
that way anyone can use it automagically
itll detect your sdk version and extract the frameworks then modify them
done
got a working script
does it all for yoiu
gonna try with xcode 6 beta now
this is so hype
ios 6 development is here fr
i wonder how many ios 7 "only" changes can be backported in this fashion
hell maybe i can even backport swift 3 like this
just find wherever the missing symbols are and copy over the system libraries
then again those aren't frameworks
rip
this is pretty huge tho
its pretty jank under the hood but one build script and it's all taken care of for you
is it illegal to provide apple's frameworks
nope, the featureflag method is broken and they replaced it with hardcoded YES so while the code is still there it needs a tweak to be ran. i also tried the tweak idea to swap [spotlight sendLaunchAppsBrowsing] (new launchpad) and [Springboard toggleForReason:] (old lp) but i either couldn't do it because they are on different classes or because i couldn't figure the reasons
it was there on 15.4
what class/method is the hardcoded YES in
Either grab the iOS 7 sdk and put it in your sdk directory + set it to the currently used sdk in xcode OR just used xcode 5.1.1 if you don't care about swift (in that case use the nonswift version since the swift version makes patches to the corresponding swift library)
i only had a beta4 Dock. I think a beta1 would work better
ah ok
damn, well if you ever end up figuring something out lmk
what am i looking at ?
well obviously a bottom right hot corner toggling launchpad on the release macos. but wondering how
replacing the whole dock .app with an older one ?
im gonna try this
ok, I've extracted it from a 15.6 ipsw but I get the "can't be opened" error so more stuff has to be done
now i've gotten further, if you run the binary and allow it in settings it opens but gets killed immediatly
sigkill
@native dune Are you working yet
ARE YOU WORKING
console shows the error CoreData: Unable to create token NSXPCConnection. NSXPCStoreServerEndpointFactory 0xc7d905ea0 -newEndpoint returned nil
whatever that means
i just disabled SIP to see what happens and now my mac keeps saying my password is wrong ?
thankfully i have a backup account so i was able to reset it but wtf
oh ive actually seen this reported as a known bug in new macos
huh, weird
yuh
ok @orchid fulcrum I have gotten the old launchpad to "open" on 26.0 but not how you expect it
I disabled SIP and added -arm64e_preview_abi as a boot arg for it to open, but for some reason, when you open the app or run the binary it will oddly just run the new lauchpad
see video
oh i just realized you were talking aboiut replacing the entire dock.app not launchpad.app but whatever
if you run it with rosetta it produces the same result, the boot arg just doesn't need to be added
ah yeah the launchpad.app and apps.app do the same thing. post a notification called com.apple.launchpad.toggle
and dock.app handles that notification (so drawing/operating the launchpad)
oh that makes more sense
now time to see if i can get it to run with the old dock.app then ig?
ig its worth a try, if the "can't open the app" warning comes again maybe try to change the versions in the info.plist and resign it
No because im a university student whos being cooked with 830 lectures that i dont even go to anymore
im giving up for now
Doing a final attempt to fix Swift 3 on iOS 6
Gonna manually patch out each and every missing symbol
and create a list
so that when i'm done I can do the same thing on swift 3 stable
and maybe even swift 4
so far it actually is working
got rid of munmap and it moved onto the next symbol
LMAO
I DID IT
I GOT SWIFT 3 TO WORK ON IOS 6
PROPER SWIFT 3
well
3.0db1
BUT STILL
LMAOOOOO
i had to remove like 5 things
💀
mismatch errors
going for swift 3.1 instead
closer commit match
if this works
its very possibl
ethese
20 odd lines of cod
are al that stands between swift 3.1
and maybe even swift 4.2
then again ios 11 sdk
idk
MAYBE ios 10 sdk will allow some funni business
oh wait nvm
you can still target ios 10
which has armv7
lmao
HAHAHAHHA
SWIFT 3.1 WORKS
FUCK YES
Contribute to JWIMaster/Swift-3.1-for-iOS-6 development by creating an account on GitHub.
solid work
This is huge
im not stopping here
its very very possible swift 4 works
afterall
ios 6 vs 7
shown to be v similar
now
techincally
i may have bypassed some interesting stuff
like munmap adn some dealloc methods
but
should be alr
I'm trying to use Cephei in my tweak (kind of new to preferences stuff tbh) and it seems like a lot of apps can't read the HBPreferences keys at all. Is this something to do with the sandbox restrictions in Cephei 1.12+? I'm not trying to access Apple preferences or anything, just my own tweak prefs :(
Is this because my filter is com.apple.UIKit or did I make some other silly mistake? Here's a code snippet for demo purposes:
static HBPreferences* globalPrefs;
#define getPrefs() [HBPreferences preferencesForIdentifier:@"com.uint2048.runasdate"]
%ctor {
globalPrefs = getPrefs();
if (globalPrefs == nil) {
syslog(LOG_ERR, "RunAsDate error: Failed to find preferences!");
}
}
void the_one_big_beautiful_time() {
NSString* bundleIdentifier;
NSDictionary* prefs;
bundleIdentifier = [[NSBundle mainBundle] bundleIdentifier];
if (!bundleIdentifier) {
syslog(LOG_ERR, "RunAsDate: Failed to find bundle identifier");
return;
}
if (globalPrefs == nil) {
globalPrefs = getPrefs();
if (globalPrefs == nil) {
syslog(LOG_ERR, "RunAsDate error: Failed to find preferences in bundle %s!", [bundleIdentifier UTF8String]);
return;
}
syslog(LOG_ERR, "RunAsDate: Loaded preferences in bundle %s!", [bundleIdentifier UTF8String]);
}
prefs = [globalPrefs objectForKey:bundleIdentifier];
if (!prefs) {
NSArray* bundles = [[globalPrefs dictionaryRepresentation] allKeys];
syslog(LOG_ERR, "RunAsDate: Bundle %s is not in set of bundles %s", [bundleIdentifier UTF8String], [[bundles description] UTF8String]);
return;
}
// ...
}
@lime pivot If you have any insight, I'd appreciate it especially since Cephei killed the queen
if this works in xcode 10.1 maximum macos maybe get raised from 10.13.6 all the way to 10.14 or 15
ngl we've had a huge improvement tho
that's kind of crazy you got that working
natively you wouldve had to use obj c in xcode 5.1.1 on max 10.10
i got swift 2.3 working ages ago
turns out it always did
💀
natively
no mods
literally just change info.plist
nobody tried it
lol
why didn't apple allow that then
absolutely no clue
ykw's funny
in xcode beta 6 1-3
swift 1
native build target for ios 6
god knows why they removed it
whats funnt
is at the start
i thought that was it
maybe i wouldve been content in another universe
like everyone else
it's so funny to me that this key piece of info for legacy dev's is just.. missing forever
now there's a slight downside to using my method for swift 3
it's not quite as clean
but it may as well be
essientially you'll just replace the system libraries in the sdk w my custom ones
but there's like
3
and then ur done
and u can compile from source
so i don't have to worry about apple getting mad at me
in the sdk? not even on the device?
ah
sometime you should do a tutorial post in r/legacyjailbreak
like manually patching the binary
i already have a writeup for how i got swift 2.3 working
once im done finding the highest swift i can get w this new method
ill make a new writeup
crazy how apple could've omitted 30 lines and lost like 4 sub types and a memory management method but kept full ios 6 support
also for ppl more technical than i, is there anything bad that could come of using free() in place of munmap()
grrrrr
the new timer method is an ios 10 sdk method
alr so ill still have to patch that in sadly
that's alr
mark it as nonobjc and should be good to go
https://stackoverflow.com/a/30219650
Not sure whether it is the case on iOS but free() might not actually give memory back to the OS
i mean
munmap doesn't exist in. ios 6
like at all
so
there must have been some way
i mean it wasn't even called until the 2nd final commit of swift 3.0db1
so i doubt i broke anything
it's only related to dispatch anyways
seems like it's a wrapper for mach_vm_deallocate in ios 10 kernel:
hmmmm
might have to replace that.. it's fine
if it's a mere wrapper
i can probably just reimplement the wrapper stub
call it something else
and then use it
in place of munmap
idk
we'll see
might not actually cause issues
ive had this app running a timer loop on a dispatch queue for 20 minutes now
on 256mb of ram, if it were gonna crash, it would've crashed
memory usage seems perfectly normal
I don't think we got this working on iOS 15+ IIRC
Oh really? Yeah, this is iOS 15... I was assuming the 1.17 documentation would largely hold for 2.0 :(
docs are accurate, other than it not working I guess
never finished working on that. sorry I don't have anything to help here
Oh should have checked the issues tab, would have found https://github.com/hbang/libcephei/issues/64 ... I assumed it was just that I didn't know what I was doing... swallowing my head
that comment there kinda works, not super recommended, but I guess it's the only working option
you would also need the other half of it, but I can't find if anyone wrote that down properly
the other side of it that goes in the prefs bundle classes and writes to the plist directly
Congrats
Hmmm... I wish I knew from a technical perspective why exactly it isn't working in Cephei on iOS 15+ but I guess if you knew that you probably would have fixed it. It's ironic that I'm trying to use Cephei instead of just writing to a plist in the first place because of your blog article from 10 years ago claiming that Cephei existed to solve this exact problem: https://adamdemasi.com/2015/02/15/settings-the-right-way-redux.html
As it turned out, retrieving tweak settings from
NSUserDefaultsas outlined in the post I wrote a few months ago proved to not be very robust and still had problems within a sandboxed process.
no
no
no
an iphone will not help with what you want to do
i am not a developer stop sending me offers in dms
if i'm ignoring a dm (which is what it says in my bio) what makes you think that upping the cash value will make me respond
What are you saying
ragebait in #development
Wait you're offering money?
Ok I am an iOS developer
It's probably bullshit if you're offering that much though
Is this for onlyfans
Or any other pimp stuff
Because that's what everyone who offers 1k for a jb tweak wants
Truth nuke
I think bro is just in here to XP farm
Nah he was in another discord I moderate asking
@torn oriole can u do smth
what is there for hydrate to do
im confused
kitty!!
cat
Get the dude out of here I don't want him in development
you told me it is not possible
also you are not developer
from where thoughts Lebovsky
just because im not a developer doesn't mean I don't know anything iOS related lmao
you told me it is not possible
also you are not developer
from where thoughts Lebovsky
What are you wanting now?
🔥
Joins just to start shitting on people and acting high and mighty
me
Like shut up bro you work the porn industry
Nebula
@light owl @kind herald Fuck you
What i do
Nebula just antsy again 🙄
Ding!


Nebula is typing...
Please stay on topic in the development channel or else the police will come after you.
Yeah see how its me always fixing ur shit
Fuck you
Fuck you
Ok
Fuck the police
@native dune Whats the move btw
Hopefully that's not too political

bro I need a new IDE that's not PyCharm or VSCode.. but I also don't want to start getting into neovim 😭
Im actually not planning to work on anything today im just asking what the move is
keep vscodemaxxing
Vscode is fine why do you need a new one
fuck that company and fuck that ide
use vscodium then
It's open source
Open source software always sucks
use zed
@native dune Are you done your school work yet
Ig that's why nocturne is oss
haha
But people only have like 3 options so they dont really have a choice
That's why we use nocturne-private
I have been using zed, but falls short since there's no markdown support still. I can use it for most things but no LLVM and no markdown gets kind of annoying
Tf is zed
@native dune is ios 18.6.2 trollstore out yet
all the ai stuff can be disabled
Mostly Rust, and there's some easy to disable assistant crap. https://github.com/zed-industries/zed
yeah
Okay thanks im updating now
I'm a genius
How did I know it's rust and ai
Wheres your genius role then
Because startups and funding
They be giving genius to like everyone now
Good question man
if maxine can have genius you can too
They haven't given it to me tbf
No dude I have no idea about jbing now except it's dead
Trollstore, mdc, cowabunga, no idea what any of that stuff is
I think mdc and cowabunga are plist editors
Mdc might be the exploit for cowabunga
give tree genius trust
I probably wouldn't do anything but send exactly 1 more meme than I currently do every other day
was trying to look it up, I guess you're not far off? https://github.com/leminlimez/Cowabunga
it's basically the on-device version of blacktop's ipsw but like less exciting
???
am I wrong though? 
well, one is for using funny workarounds to write files out of sandbox, the other is for the analysis of firmware images
intent is different, but they both can handle the same mods afaik.. Hence the "less exciting" bit
If that’s bottom of the barrel I’m the bottom of a fucking cardboard box
ipsw doesn't handle any mods?
Download and Parse IPSWs (and SO much more)
Usage:
ipsw [command]
Available Commands:
appstore Interact with the App Store Connect API
class-dump ObjC class-dump a dylib from a DSC or MachO
comp Compress files using libcompression
decomp Decompress files using libcompression
device-info Lookup device info
device-list List all iOS devices
diff Diff IPSWs
disk Disk commands
download Download Apple Firmware files (and more)
dtree Parse DeviceTree
dyld Parse dyld_shared_cache
ent Manage and search entitlements database
extract Extract kernelcache, dyld_shared_cache or DeviceTree from IPSW/OTA
fw Firmware commands
help Help about any command
idev USB connected device commands
img3 Parse Img3
img4 Parse and manipulate IMG4 files
info Display IPSW/OTA Info
kernel Parse kernelcache
lsbom List contents of a BOM file
macho Parse MachO
mdevs List all MobileDevices in IPSW
mount Mount DMG from IPSW
ota Parse OTAs
pbzx Decompress pbzx files
pkg 🚧 List contents of a DMG/PKG file
plist Dump plist as JSON
pongo PongoOS Terminal
ssh SSH into a jailbroken device
swift-dump 🚧 Swift class-dump a dylib from a DSC or MachO
symbolicate Symbolicate ARM 64-bit crash logs (similar to Apple's symbolicatecrash)
version Print the version number of ipsw
watch Watch Github Commits
Flags:
--color colorize output
--config string config file (default is $HOME/.config/ipsw/config.yaml)
-h, --help help for ipsw
--no-color disable colorize output
-V, --verbose verbose output
Use "ipsw [command] --help" for more information about a command.
its all parsing and analysing firmware images
I meant like cowabunga is as much of a plist editor as ipsw can interact with a device to edit a plist. But I get what you're getting at
Bro I'm just checked out
ipsw doesn't do that though -
it doesnt even have anything remotely close to that
I haven't used it recently so maybe I'm misreading the GH page then.. https://github.com/blacktop/ipsw?tab=readme-ov-file#core-capabilities

Cooked
Success at last
'
I checked I’m allowed to distribute these
Warning: do not use yet
There’s issue
U can use w swift 3.0.2
But not swift 3.1 yet
I have to figure out some issues
Idk if it’s even possible to fix
Without a custom tool chain
Rn you don’t even nedd that
You just drag those into the Xcode tool chain and compile
Works like magic
@kind herald Hey suspicious files i think
It's open source lmao
Me when i upload malicious files to github under my own account and claim they are not suspcious
lol
@native dune Yo why do we read the version info from version.json but not use it in the app
Are you stupid
life was simpler 10 years ago
I had a sandbox workaround half working, but I never had a chance or motivation to finish it
yeah alr just
don't use it
swift 2.3 is so much more consistent

unless i can iron out the buggyness
which would be very nice
maybe i can
i think if i'm gonna put effort into getting a version to work swift 3.1 isn't a bad place to start
i bet its the unmap thing
gonna try swift 3.0
and hope dearly that it functions properly
bcus rn uikit is kinda fucked up on ios 6
man oh man apple does not want me to have swift 3 on ios 6
i mean technically swift 3 works fine
it's just libraries it interfaces w
there's also substantial issues with how it interfaces with objective c classes for some odd reason
however, lucky for me
the swift toolchain is built for xcode past 3.0
so no matter the version of 3 i get working
you should be able to just, use it on most modern macos versions
technically i'm testing 3.0.2
after that if it's borked i'll be testing 3.0db6 as a last resort
indeed
reason being that i know that when i go looking for stuff and i can't find it i find it super annoying bcus i know ppl have done it before
so hopefully the next person who does smthing like this finds all my shit
and has an easier time
im actually mighty stumped here tho
import UIKit
import Darwin
class ViewController: UIViewController {
let a = UIButton(type: .custom)
let stack = UIStackView()
override func viewDidLoad() {
super.viewDidLoad()
DispatchQueue.main.async(execute: {
self.view.backgroundColor = .red
})
DispatchQueue.main.asyncAfter(deadline: .now() + 4) {
self.view.backgroundColor = .blue
}
/*let _ = Timer.scheduledTimer(withTimeInterval: 0.1, repeats: true) { _ in
self.view.backgroundColor = .red
DispatchQueue.main.asyncAfter(deadline: .now() + 0.05) {
self.view.backgroundColor = .blue
}
}*/
a.setTitle("Hi", for: .normal)
a.translatesAutoresizingMaskIntoConstraints = false
a.backgroundColor = UIColor.gray.withAlphaComponent(0.4)
stack.axis = .vertical
stack.distribution = .fill
stack.alignment = .center
stack.addArrangedSubview(a)
view.addSubview(stack)
view.addConstraint(NSLayoutConstraint(item: a, attribute: .width, relatedBy: .equal, toItem: view, attribute: .width, multiplier: 0.25, constant: 0))
view.addConstraint(NSLayoutConstraint(item: a, attribute: .height, relatedBy: .equal, toItem: a, attribute: .width, multiplier: 1, constant: 0))
view.addConstraint(NSLayoutConstraint(item: a, attribute: .centerX, relatedBy: .equal, toItem: view, attribute: .centerX, multiplier: 1, constant: 0))
view.addConstraint(NSLayoutConstraint(item: a, attribute: .centerY, relatedBy: .equal, toItem: view, attribute: .centerY, multiplier: 1, constant: 0))
// Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
override func viewDidLayoutSubviews() {
a.setTitle("\(a.frame.width)", for: .normal)
a.layer.cornerRadius = a.frame.width*0.5
}
}```
can anyone tell me why the frame would be percieved as 0? keep in mind i am using OAStackView, however, it functions just fine on ios 7+
also it works fine in swift 2 as well
i'm truly stumped
and it's only when it's inside the viewstack
It's the 2nd last issue i'm facing
i mean realistically it's an easy bypass
but it's unexpected behaviour
and it's rather annoying
i doubt it has to do with unmapping memory
actually now that's the only thing left
i fixed the other issue
now gotta hope and pray i can use swift 3.0.2 easily enough on newer xcode versions
if so i can actually get off high sierra
fixed it
just run layout subviews lmao
if needed
lets go
swift 3.0.2 stable
i think
gotta push it really hard now
well, building with the toolchain fails, but archiving doesn't
got chatgpt to make a script to cover up the messy parts
will send in a sec along with new repo and the rest of the stuff
Has all the binaries, and build files for you
Should be EXTREMELY easy to use now
Now, time to test on newer Xcode versions
After that, writeup time
Nope
Won't work on Xcode 9+
Welp, I guess i'm forced to try and patch swift 3.1 now
Shouldn't be appalling hopefully
<@&355174844205367317>
Bear in mind that I have no idea what I'm saying here but if I just really hated security, could I hypothetically use something like https://github.com/opa334/libSandy to extend the sandbox in some way to make it work
going for the big guns today
swift 4.0
gonna start off just removing bad types and then go in for the big fix
objc_allocwithzone
if i can get this working, it's highly likely you'll be able to use xcode 12, 13 even 16 to develop applications
Swift 4.0 is supported in every version of modern Xcode to my knowledge
however the replacements needed to be made are far more intrusive, so i will be recommending you install the open source toolchain and edit it
and by more intrusive i just mean you'll be replacing the entire compiler
theoretically though swift 4 may work to boot using the previous method so long as you do absolutely nothing even remotely obj c related
LMAOOAOAOAOAOAOAOA
SWIFT 4 WORKS
not fully yet
i have to modify t he compiler now
but like
just swift on its own
actually works
bro this is so fucking cooked 💀
if this compiler fix actually does end up fixing objc_allocwithzone which im 99% sure it will
then
swift 4.0.2 is gonna be stable and working on ios 6 💀
Made a layered icon for Apollo, is there any way to link the resulting .icon file into the apollo IPA so it's dynamic like this?
@wide gyro any ideas since you were the one to make the liquid glass patch? I can share the .icon with you if you want, it's a little bit janky in some places, but honestly it looks really good to my eyes even so
or sorry actually you didn't make it, my bad, @dankrichtofen on github made/packaged it, but maybe you have some ideas anyway how it could be inserted?
I made the technique for the patch, but not the patch itself. Those icon files look pretty cool though!
was hoping to avoid dependencies (people hate me for Cephei being a dependency/having dependencies in the first place) but maybe it's useful
Cephei was great and amazing for the tweaks that needed it, but I think Springboard tweaks would have been better off using NSUserDefaults which never seemed to be the recommendation
Ah I see, well, thanks anyway, I’ve been using the patch and it’s great, just the icon missing now to really make it feel like a brand new app
I couldn’t find the thread on GitHub for a while but finally I have and shared it there, maybe someone in it knows how to patch this in
sure, I still think it's good to use for consistency if you depend on Cephei for some other thing anyway
if you're not in the sandbox you have either option, if you are then the options are limited
and I don't like the option of directly reading the NSDictionary because that's slower than using the cfprefsd in-memory cache
yikes
so for swift 4.0.3 i needed to rewrite the emitobjc call function once
not too bad
now i've had to completely change it
all to try and desperately avoid objc_allocwithzone
holy sex
what are the supported Xcode versions?
@magic hazel I feel like it would be productive for you to try and make a test app that's not just a changing background, perhaps a button that changes the background and changes the text of a label or something
something more complicated so you can gague the understanding of how usable the swift patches are
Nah that’s just the visual stuff
There’s a bunch of crash tests running in app delegate
Like memory filling and thread tests
no I get that
I'm saying to do a more comprehensive visual test in order to make sure the APIs still function correctly
oh yeah i have
there's some oddities
really the only thing that's kinda borked is frames
but as long as you run view.layoutifneeded
then everything works great
oh yeah swift 4.2 works lmao
disable enable bitcode tho
it breaks everything
Xcode 26 works!!!
Haven't tried armv7 yet
Nvm
Xcode 26 is being very annoying
release with binaries eta
i encourage anyone who has the time to try it out
It should in theory work on all xcode versions
post xcode 8
all you need is the open source swift toolchain which is easily accessible on swift's website
each folder has a name directing you to put the files where they belong
if you have any experience using a toolchain in xcode it should be trivial
Xcode 10.1 works on macOS 10.14
Maybe 10.15
going to try Xcode 11.3.1
Did swift stop packaging the Swift library in Swift 5?
Whenever they did is the last version I can actually get to work
Tho past Swift 4 the codebase HUGELY expands
If i get Swift 5 and 6 working there's no real reason why openswiftui wouldn't work
It doesn't rely on UIKit at all from what I can see
Xcode 11.3.1 works
Confirmed
Yep so swift 5 is packaged with the ipa
If I can actually port that shit might get real
OpenSwiftUI for all devices
Swift 5 works on iOS 7
Awesome
So it'll work on iOS 6 probably
lol this is actually becoming so crazy
Technically yes this is swift 5.1
However
Wait I j ust realised
You can now use Big Sur
💀
I can confirm swift 4 on iOS 6 is fully production ready and only has minor quirks related to iOS 6 UIKit
But I can tell you that this development workflow is substantially more modern than anything that came before it
@native dune wyd wya wtm is it working are you working does she love you yet
Swift 5.1 is almost certain to function which is exciting
The only issue, is that Xcode handily provides an API limit point for Swift 4.2
For minor Swift 5 version's you're not so lucky
Understandably
quick question— can I symbolicate a large spindump (think multiple dylibs) with a bunch of dSYM files in bulk?
Time to do Swift 5.1
I think my absolute peak maximum I'm going to be able to get working is Swift 5.6.1
Xcode 13 is the last version to support an armv7 target
Then again, I might be able to just use the open souce toolchain
Swift 5 works
yo, in palera1n rootless, or rootless in general, how do you call system? https://man7.org/linux/man-pages/man3/system.3.html
i used to do this before, but i guess thats broken now:
int (*system)(const char *) = dlsym(RTLD_DEFAULT, "system");
Contribute to JWIMaster/Swift-5.1.5-for-iOS-6 development by creating an account on GitHub.
it always returns 0x7f00
do i have to load something in from libjailbreak or something
not directly related to what you're saying, but for what purpose do you need system?
to run random shell commands like find, ls, killall, etc
gotcha, I mean from what I understand nowadays the most common way to do it is to use posix_spawn or NSTask
When did Xcode remove armv7
system is convenient in that it's just one simple command, but
And was it Xcode or the sdk
ohhh interesting. okay, yeah posix_spawn sounds nice and portable thanks ill try that
Impressive work, but your commit histories are really messed up 😅
Why not fork the Swift repo and and commit your new changes on that fork?
Because it’s too messy that way
The swift build script does suoer funk stuff
Every time I try and do that it overwrites my changes
Feel free to ask any questions, I have some examples of posix_spawn usage in my GitHub repos if interested
Hm, are you not able to edit the build script as well?
It’s so complex that I don’t want to touch it
Swift is held together with tape
Especially the build
yep
1200 line build script 💀
i mean its a toolchain so expected
but still
but still
i gravitated towards system because that's what Lua uses, along with popen
system https://github.com/lua/lua/blob/v5.4/loslib.c#L132-L139
popen https://github.com/lua/lua/blob/v5.4/liolib.c#L59-L60
im sure you can see why its kinda unapproachable
also update-checkout is super cooked on the more modern versions
im so so happy that apple actually archives their work tho
basically every preview version, every dependency has it's own branch, its magical
first time ever that someone has actually made a build process logical
rather than "erm you figure it out"
Reasonable, I gotcha
From what I see, though, it's either deprecated or obsoleted, you're not supposed to use it
and I think (from what I remember), the jailbreak has to patch something to get system to actually work, whereas posix_spawn/NSTask work just fine (given that you have the right entitlements of course)
Fair enough, I would say that you should note that in your (potential) writeup, it could be disconcerting for a person looking at the repo for the first time
yeah dw i'm so happy i did a writeup bcus i basically still copy paste commands from there 💀
some modifications
bcus modern swift
Nice 👍
anyways gonna put up the prebuilt binaries now
hoping my instructions are fairly simple
Make sure you have permission to host them
apache license
ill note my modifications for all the repos soonish
just been too busy on this moving train of version upgrades
This is Swift 5.1.5
Next up is swift 5.10
fully modern swift 5
then
i haevnt looked yet
but
possibly
swift 6
cant say anything for sure yet
i have to check certain things havent changed
I sincerely doubt modern Swift 6 features would work, such as Swift concurrency
I mean I'm not sure how Swift concurrency works under the hood, but idk
i suspect it is very possible if they havent changed out how core parts of swift work that it will actually work
the easiest modifications are just the type ones
remove types that dont exist
piss easy
the hard one was genobjc in irgen
that was tough
had to rewrite a good portion of it
switching munmap to free has in my testing seemingly had 0 consequences
which is great
did a bunch of memory fill tests they all worked
mm
you have to use the build script to build tho
its super easy to use tho
otherwise you're in for pain
you can build from xcode asw i think
build script also doesnt require a signing id
thats kinda an old xcode problem tho
i left it in there regardless
you can archive from xcode just fine tho
thats all the script does
xcodebuild doesn't work w a custom toolchain tho
only archive
I'm just wondering how janky this all is - like do you have issues with autocomplete, etc?
autocomplete may suggest a function or something that doesn't exist in iOS 6 though 🤔
well yes
not a function
every swift function exists
then you're worrying about uikit apis
thats just normal tho
right, that's what I mean
in that case you would have to starrt removing things manually
without knowing much about it
nah
thats not in the swift source rlly
its more to do w xcode sdk
i mean i could
but
no yeah I mean for a fully working build process
🤷♂️
also if you set target to ios 8 which you can do in xcode 11.3 its basically the same
also if you use my swiftcompatkit
and uicompatkit
you can just ignore all of it
conditional compiling
just code as you usually would
plan is to get openswiftui working asw
swiftui on ios 6+
idk how much stuff it uses from uikit under the hood but im hoping nothing thats super api constrained
well I'm sure not everything is working, idk
what like
api wise
or swift wise
🤷♂️

