#development
1 messages · Page 244 of 1
not yet, maybe in a couple of months
I mean think about how long meta supported iOS 12 😭 or even discord
thats true
still
ios 26 adoption isnt great from what ive heard
worse than last year
plus, isnt it only apple intelligence devices?
Hm? no
no
Foundation Models is for Apple Intelligence devices yes
not yet
also, pretty much everything it can do, external ai packages can do as well
maybe worse syntax
but still
actually
that gives me an idea
no idea
Hmmmmmm
My stupid adhd brain is telling me "well LLM's can run on nearly any hardware what if you make a package with identical syntax that backports a slightly worse llm to older versions"
oh no
It can b e done
Grrr
The API is pretty similar
And its pretty small
ah it uses swift concurrency
yeah i really need to get onto that
idk if i can fix that on my own tho
Ugh this is ridiculous
Why did I have to get obsessed with this
Ig it's just super satisfying
And it also teaches me that Apple is an ass
is it? 😂
I would have gotten so frustrated with it
When companies like Apple said it couldn't
And it does
and it works really, really well
and thats me
a shitty ahh swift dev
imagine what they could have done
ive done this in a few weeks of my spare time they couldve done all of this in like fuckall time and way better
ive learnt theres NO reason they shoudlnt have
theres no downsides
they couldve shipped swiftui to ios 12
they couldve made uikit recursively update
the excuse is always "new hardware features" and shit like that
in some cases its true
but like with swift, 99% of the time its not the case
its just either apple forcing users and devs to upgrade or just being lazy
i will always be salty that swiftui was ios 13+
well there is stuff like sf symbols which were very integrated into SwiftUI
those would always be iOS 13+
No
Apple's whole idea was to have SwiftUI be very fluid and dynamic, and not being able to use sf symbols would break that whole notion
SF Symbols is literally a set of svgs basically
It would take 0 effort to just include them as a framework on older versions
literally 0
im thinking of doing it myself
Where are they stored on the filesystem? I'm genuinely curious
whoops
clipboard been acting up
CoreGlyphs
SFSymbols.framework
its literally a framework
😭
theyre a packed asset.car
but inside the .car they're svgs yeah
i know this bcus i made a custom sf symbol LMAO
and its in my game
theyre literally a bunch of svgs
ok well the concern with iOS 12 would be that they wouldn't be able to directly inject it into the actual library folder, every SwiftUI app would have had to bundle them in
they already do that with literally the ENTIRE swift runtime
if they can inject a full code runtime
they can do a bunch of images
mm
like come on
there is no way
in fact
i know there isnt
watch
ill do it
itll take me 2 hours tops
sf symbols on ios 6
its bullshit
apple is bullshitting us
ykw i bet you if they ever accidentally did what they did w sprikit
(ios 6+ built, but ios 7)
which btw
works on ios 6
they built for ios 6 accidentally
said its ios 7
if you include it at runtime from the sdk
it works literally perfectly fine
yet another bs lie
if they did that for swiftui
i bet you if you moved sf symbols in as well
itd work
lmao
they couldve done opaque types as well
those work fine
they were too lazy to make a shim
to just
patch the system switf libray
btw
i found out why
its ios 12
they would have done it if not for ios 12
bcus ios 12 is swift 5.0
and not 5.1
it got completely fucked
bcus ios 11 and below uses inbuilt swift into app
ios 12 uses the system one
instead of literally just
patching the system lib
they decided nope
ios 13+
it literally took a SINGLE FUCKING WORD IN THE SOURCE CODE
😭
maybe they did that so that one day a lone JWI would make it work on older versions
LMAO
rela
nah i hate apple for this
even fucking WINDOWS IS BETTER
EVEN WINDOWS
THATS A REALLY LOW ASS BAR
right, whatever
thats why enterprise uses them
and cant leave them
theyve had them trapped for decades
it's also why the UI for windows is so inconsistent
yep
this is what i tell everyone tho
YOU aren't microsofts main customer
enterprise is
and always will be
enterprise doesnt really give a shit about ui consistency
they want their app to work
anyways APPLE those shitheads also bsed about concurrency
they actually flat out lied
its so funny
"itll only work on ios 13+, we've worked really hard to get it there but we cant take it lower"
meanwhile their port to ios 13+ works PERFECTLY ON IOS 12
by perfectly i mean you literally just tell xcode to fuckoff about compat checks and it runs
no custom toolchain
no recompiling swift
nothing
stock Xcode
they literally just bullshitted
i think apple has a vendetta against ios 12
everything they do is always ios 13+
the funny thing is
is apple was never going to take concurrency back to ios 13
the community just got so fucking mad
that they were forced to
and when you look at the effort they put into do it
its like
literally 5 extra medium sized files, and a few lines changed
98% of what was done was kept
they very well COULD have done it
they just didnt until the devs got pissfuck mad at them
and i have a secret belief that apple could have made concurrency a generally available feature
custom executors were a proposed feature
if they actually got implemented
you could very very easily backport it
but of course it was ignored
and now apples special executor is off hiding god knows where in the source
idek if its in there
or if its proprietary
Would NOT be surprised to find out its the latter
Ykw else pisses me off
Emojis
Why does apple gatekeep them behind new ios releases
they could SO easily just have it download after install
just download all the new emojis after you're done installing because its a goddamn unicode standard
not a fucking special feature
because they want people to use newer iOS's and upgrade to newer hardware if they're on obsolete hardware
that's the real reason
Exactly
Shit reason
Greedy ahh reason
They already do security patches so they're clearly aware of the important stuff that they really should have to do
It's just anywhere they could make some more money
They don't
not really, for any big company it makes much more sense to make people go to latest so the bug reports come from latest and they're able to improve the software
The fact they patch iOS 15 and 12 as often as they do says otherwise
They clearly know they have a somewhat large enough chunk of users there to have motivation to do so
iOS 9 is literally archaic though
They still STILL sign iOS 6 and 8
For users on iPhone 4S's
to upgrade
STILL
we're back to the beginning
purely because they have to
They could have unsigned it ages ago
They don't have to
LIke you said
They don't update those anymore
They're old, they don't have to work
¯_(ツ)_/¯
Okay what really makes me mad is this
Apple supports their old devices
They're really good at doing it
They're one of the best
Why when they do that
Can they not just
Make it easier to target older versions
It takes no effort
If a 17 year old dumb ass can make a few modifications in like 4 weeks
it hinders the usage of newer APIs
No, it wouldn't have to
Most of new API's would work if you just shipped the framework
But instead Apple insists you use the system one
Stuff like Metal, understandable
app sizes would be huge if that were the case
Only for old versions, which, if they didn't wouldnt even get the app
(they're already quite big, but it would be even worse)
It's i dont get the app vs i get a big ass app but i still get the app
And the best example is swift
...and the app might be slower due to the outdated hardware
They did it with swift until iOS freaking 12
Sure but that’s the users issue
They’re using shit hardware thy know it
and Apple cares about the users, they don't want a subpar experience
You get what u get
UHM
iPhone 4S…
iOS 9
aside from that...
purely there because of organizations
It’s genuinely barely usable
Fair
iPod touch 2 on iOS 4 is arguable bit also a12 iPads on iOS 26
iPhone 4 on iOS 7
2015 MacBook Air getting Monterey
ok fine they generally care about not having a subpar experience
Fair enough
Still
SwiftCrossUI, which is a MUCH slower implementation of SwiftUI, runs very very well on a freaking A5 on iOS 9
And that's with very heavy effects and like 50+ views lmao
It even uses UIKit to render it 💀
Like it is not optimised at all
SwiftUI just isn't that heavy
I mean okay realistically heres what should have happened
and what people thought wouldve happen
switfui goes open source
it should have happened
it still should
i dont know why it doesnt
yeah it uses apples devices as an assumption
doesn't mean the open source community will not 100% jump on and make new backends
bcus they definitely will
Swift going open source turned out great for apple
Swift is better than ever
Idk why they refuse to do it with SwiftUI
is this a “16player when you [insert hex] and [insert hex]” reference
can i use theos on rootless?
not to build for rootless, building on an actual rootless jb
Yes
@azure pivot https://theos.dev/docs/installation-ios
What am I expecting to happen?
Haven’t noticed anything unusual
just found out about this damn https://daniel.haxx.se/blog/2025/01/14/secure-transport-support-in-curl-is-on-its-way-out/
"The easiest route is to accept that you need to maintain a separate CA store and then you can do this immediately and you can use a TLS library that supports the latest standards and that is well supported. "
throwing shade
macOS/iOS TLS is fked up apparently, stuck at 1.2, cant upgrade to 1.3
Yep
I had so many issues
Home brew crapped out
Butt
anybody knows how audio is done on safari/webcontent tabs ? when i debug the tabs (com.apple.webkit.webcontent process') all they have is audiotoolbox without anything higher level. When i debug safari it has some higher level stuff like AVF but i don't think they are related to the tabs, i can also see some logs about HTMLMediaElements which seem to be what i am looking for, but since they are javascript objects i can't seem to find a way to interact with them via debugging the process. any help is welcome
@orchid fulcrum https://github.com/WebKit/WebKit/blob/main/Source/WebCore/Modules/mediasource/MediaSource.cpp
just look around in webkit i guess
Indeed
document.addEventListener('play', event => {
if (event.target instanceof HTMLMediaElement) {
console.log('Dynamic media started:', event.target);
event.target.volume = gPreferedVolume;
}
}, true);
just realised this kinda just works, now i need to find a way to interact with tabs and turn this into either an extension or a tweak for safari
oh so this was just an xy question
i wouldn't say that ..
still need to find a way to run the js on the tabs
which is kinda what i was asking in the first place
If it's a tweak your making you can probably do what I did here https://github.com/wilsonthewolf/webshade
I did this recently https://github.com/iCrazeiOS/safari-startpage/blob/main/Tweak.x#L57-L65
Contribute to iCrazeiOS/safari-startpage development by creating an account on GitHub.
ik about evaluateJavascript but i need to make it so i can do it for each tabs wkwebview individually, rather than all of them.
hm, i think i can use their url to identify tabs tho that might work
do you just need to check if it's the current tab?
if so you should be able to check
<the BrowserRootViewController instance>.webView.URL
webshade checks URL's for its options (it has per site options)
I'm not very familar with how the browser stuff all works, I haven't touched webshade in 3 years
oh yeah same, these two things i've posted are like the only times i've ever worked with safari lmao
I need a bit of help with my app. Basically to make it simple, the app is a simple of the iPhone stock reminder app. User inputs whatever they want, date and time, then notification pops up at that preferred date and time. However, it leaves a notification badge, regardless when I click on the notification banner, it doesn’t get rid of the notification badge at home screen so I manually made a button that you press to clear the badge. What’s a better solution than a manual button?
Tbh, I know ChatGPT or Claude on Xcode would give a solution but sorta wanna hear people’s advise and solution
So I can just learn from it(?)
Trigger the cleaning function at viewDidLoad or something
i kinda want to make a slider for every tab. not sure whats the best way to access tabs though i never touched safari before
https://developer.apple.com/documentation/uikit/uiscenedelegate/scenewillenterforeground(_:)
When user opens the app.
I personally wouldn't use viewDidLoad because that would only run when the app starts cold. If it launches from the backend then the view will already be loaded
Oooooo
“In addition to calling this method, UIKit posts a didActivateNotification and a willEnterForegroundNotification.” Very nice
Thank you thank you
True, wasn't sure if you were UIApplicationDelegate or UISceneDelegate. You should probably switch over soon though, UISceneDelegate will be required for iOS 27
I forgot I have to dynamically update the counter because I could in theory just reset the badge to 0
lol
the guy that made it cant even invert a binary tree on a whiteboard
Google: 90% of our engineers use the software you wrote (Homebrew), but you can’t invert a binary tree on a whiteboard so fuck off.
damn 10 years ago im old
crazy
Idk how I've achieved this but the wallpaper is acc lowkey cool hahaha
@radiant idol I'm backporting more stuff now
OpenCombine works so thats done for me
URLSession + all types
URLSession websockets (socketrocket wrapper)
"FoundationCompatKit"

websocket stuff is yet again useful for all ios versions so is opencombine which is neat
YOOO
I FIXED THE TYPE THING
if you drag a file at runtime
with this
import Foundation
#if canImport(FoundationCompatKit)
import FoundationCompatKit
public typealias URLSession = FoundationCompatKit.URLSession
public typealias URLSessionDataTask = FoundationCompatKit.URLSessionDataTask
public typealias URLSessionConfiguration = FoundationCompatKit.URLSessionConfiguration
public typealias URLSessionDownloadTask = FoundationCompatKit.URLSessionDownloadTask
public typealias URLSessionWebSocketTask = FoundationCompatKit.URLSessionWebSocketTask
#endif
#if canImport(UIKitCompatKit)
import UIKitCompatKit
#endif
shit just works
doesnt get confused anymore
🔥
it ALWAYS prefers your types
W
ts getting better and better
type aliasing a type alias is wild
public typealias UIStackView = UIKitCompatKit.UIStackView
W it works lets go
you can now write this
private var stackView: UIStackView!
ima make a giant file
with every type alias
so now you gotta do EVEN LESS WORK
to backport shi
ok
holy moly that was a lot of work
backported pretty much all of urlsession
import Foundation
public class URLSessionDownloadTaskCompat: URLSessionTaskCompat, NSURLConnectionDataDelegate, NSURLConnectionDelegate {
private let completionHandler: (URL?, URLResponse?, Error?) -> Void
private var connection: NSURLConnection?
private var tempFile: URL?
private var fileHandle: FileHandle?
public init(session: URLSessionCompat, request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) {
self.completionHandler = completionHandler
super.init(session: session, request: request)
}
public override func startTask() {
guard state == .running else { return }
let tempDir = NSTemporaryDirectory()
let fileName = UUID().uuidString
tempFile = URL(fileURLWithPath: tempDir).appendingPathComponent(fileName)
FileManager.default.createFile(atPath: tempFile!.path, contents: nil, attributes: nil)
fileHandle = try? FileHandle(forWritingTo: tempFile!)
connection = NSURLConnection(request: originalRequest, delegate: self, startImmediately: true)
}
public override func cancel() {
super.cancel()
connection?.cancel()
if let tempFile = tempFile {
try? FileManager.default.removeItem(at: tempFile)
}
}
// MARK: - NSURLConnectionDataDelegate
public func connection(_ connection: NSURLConnection, didReceive response: URLResponse) {
// Delegate can handle response if needed
}
public func connection(_ connection: NSURLConnection, didReceive data: Data) {
fileHandle?.seekToEndOfFile()
fileHandle?.write(data)
if let delegate = session.delegate as? URLSessionDownloadDelegateCompat {
delegate.urlSession(session, downloadTask: self,
didWriteData: Int64(data.count),
totalBytesWritten: Int64(fileHandle?.offsetInFile ?? 0),
totalBytesExpectedToWrite: -1) // unknown length
}
}
public func connectionDidFinishLoading(_ connection: NSURLConnection) {
fileHandle?.closeFile()
let response: URLResponse? = connection.currentRequest.url.flatMap {
URLResponse(url: $0, mimeType: nil, expectedContentLength: -1, textEncodingName: nil)
}
completionHandler(tempFile, response, nil)
if let delegate = session.delegate as? URLSessionDownloadDelegateCompat, let tempFile = tempFile {
delegate.urlSession(session, downloadTask: self, didFinishDownloadingTo: tempFile)
}
finishTask()
}
public func connection(_ connection: NSURLConnection, didFailWithError error: Error) {
fileHandle?.closeFile()
let response: URLResponse? = connection.currentRequest.url.flatMap {
URLResponse(url: $0, mimeType: nil, expectedContentLength: -1, textEncodingName: nil)
}
completionHandler(nil, response, error)
finishTask(with: error)
}
}
one of the backports

im fairly sure i fucked up som eparts
i had to use gpt extensively to cleanup my objc errors
i am NOT good with objc stuff in swift
im okay w objc on its own
and swift on its own
not great when mixing
Now the big boy
DispatchQoS
I'm cooked
Ngl chatgpt is gonna handle the objc side bcus i aint know the syntax
Alright
Okay
made a 2 part guide
rate the ease of understanding
lmk of any changes you'd make
Talking about iOS 6: NowPlayingArtLockscreen.bundle is specific to iOS 6 iirc but is there an equivalent for iOS 17 
you could distribute a new xcode template
Idk how to do that
Happy to be informed
I don't think this is a very documented process, or well documented, but you can put templates in /Applications/Xcode-26.0.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project\ Templates/iOS/
and theres a lot of examples there to copy from
and they show up here
The other thing is I would rather people not go into Xcode itself as Ive seen so many screw up
So I’d make a script to out it there instead
Tried to automate the tool chain patching process but it’s too complex for my scripting
I’d also have to make one per Xcode version so I’ll keep current instructions
And maybe add some templates for the big ones
Is it even allowed to do
Each version of the sdk will have different features
And different build setup as well
too diff that you couldn't use the variables you get in a template?
they have MASSIVELY changed how templates work since then

everything is split off
@grim sparrow after absolute pain my god the templates are actually cooked they're the worst thing i think apple has made in a long ass time i made a template set that actually functions
ios 7 as base target no bs storyboards
time to add a command to install automagically
now ima do everything in a pkg
so no more manually copying files
How tf to get ur tweak on a repo
There’s guides
Also you could ask AI
Very simple setup
No you won’t be able to do that
But you can host on your own repo
Havoc only accepts a certain standard of tweaks iirc
What do I need to do to get developer role
Make a project large enough
Not specifically
I got it from my Swift iOS 6 stuff
Das it?
Is ur tweak on ur own repo
I have a tweak on a repo yes
Isn’t that what yourepo is for
I mean GitHub pages exists
My tweak is like whenever u click the clock it changes to m:s and it goes back to h:m after u click it again or automatically (change in settings timings)
Is that big enough
Not even close
You’d need a properly fleshed out product iirc
Ask more experienced tweak devs
I’m mainly a legacy iOS developer
lmao
So like does it need more features or be more polished
I mean yo it’s a good idea
I genuinely only use my iPhone 6 for a clock to see the exact time it hits for the bell to ring
I mean if ur finding use in ur own tweak that’s always good
Just does the scope need to be bigger
Bigger more polished, probably you’d need a couple as well
Nice repertoire of tweaks and projects
Should I make it a status bar tweak instead?
that’s up to you man ¯_(ツ)_/¯
Couldn’t tell you
You a legacy os dev dawg
Alr
Also will there ever be a 32 bit emu on iOS 11+
No
What happened to the on LC devs were making
I never heard of any legitimate 32 bit emulator ¯_(ツ)_/¯
To my knowledge the work required to have something like that is near impossible
To run ipa
Not to mention fairly useless and unstable at best
Whatever lc doing was like almost done
Flappy bird
@magic hazel some guy told me he’ll pay me 70 dollars to get flappy bird on iOS 11+
Live container
No need to ping me, I’m in the channel
Oh that, don’t know
My bad bad habit
Cool
The work required would be immense
I mean I want cotmz too
Gl
Idk
Would the whole app need to be fixed or just some shit
To turn it 32 to 64
Not “fixed” you’d need to get a working version of the source code through decompiling which would not even probably be possible but you could try
Or just
Use a clone
lol
Dawg it’s flappy bird
Nvm
It has a big culture with us
Nice
Now you just compile it
lol
Easy peasy
Should be very straightforward
Wowwww youre saying that this guy cant get his tweak on havoc probably without even seeing his tweak
Messed up
just being realistic but sure ¯_(ツ)_/¯
It’s a simple tweak
It does one thing
I thought that havoc had guidelines
Maybe I was wrong about that
Dawg
Of course all fucking tweaks do one shit
iPhone X gestures on iOS 12 does one fucking thing
That’s why we’re allowed to install more tweaks
Yes but it’s slightly more complex than a simple injection into the status bar
I mean you can always try!
Go for it
Because it’s designed how stock iOS
@magic hazel you’re going to see my fade in animations and iOS 27 is going to copy it
Watch.
Because you may know me as jay right now but on the desc you’re going to why I have my father last name
Because you may know me as jay right now but on the desc you’re going to why I have my father last name
How does one achieve developer role? 🤔
Backread
I explained
(Other devs step in if I’m wrong)
Np glad back reading helped
This would be a great free tweak
fork mine if you'd like https://github.com/rugmj/jailbreak-repo
or if you want it on a big repo just signup to their developer page
It’s going to be paid
Then no I would say that is not enough content for a paid tweak
this would feel kinda like an insult icl
I agree!
LMAO I’m just playing
Yeah it’ll but free of course
Gotcha, well then good luck, seems like a wonderful free tweak
If I were you I would open source it as well
Doesn’t iOS have built fade in animations via accessibility
Yeah it does
ios 12
[[nicebar]]
An awesome battery by GuShi.
Gushi
1.2
Free
com.yourepo.soda-ldz.gushicolorstatusbar8juicecallassistnicebar
[免费]仅支持iOS11-12
does anyone know when _UIStatusBarStringView was remove and introduced
iOS 13 probably changed shit considering nicebarX had to have a diff version for it
what about introduced
Hey is there any genius for spanish
wrong channgel;
Y
Well
First
It’ll be sf symbols 7
So it’s useful to all iOS versions
And second
Bcus modern ui requires modern symbols
Plus they’re cool and useful
Should be a self contained package like everything else
Have fun
So far the only issue has been some empty symbols
I've gotten most as PDF
now i need to make them scalable
and handle rendering
etc
Gotchu
grrr
ios 6 and 7 dont natively support resizable pdfs

time to go searching for a solution
grr i hate when this happens
i have to fork a bunch of projs and modify their pkg.swift
grrrrrrrrr
istg iosurface is the most cooked thing ever
it's like the base of so many jbs
imagine being apple and having ppl use your internal framework for decades to create objs to do k r/w
crazy
istg iosurface is the most cooked thing ever
it's like the base of so many jbs
imagine being apple and having ppl use your internal framework for decades to create objs to do k r/w
crazy
FINALLY
got something to render svgs
now to get onto backporting
If I replicated modern UIKit's API's, as well as the iOS 7+ design language, and made it so that the effort required to add support to your UIKit applications would literally be to download Xcode 13.4.1, add my packages to your app and changes a couple of lines of code to target iOS 6+, would you?
2
2
2
No
bro made a poll
doing every weight is a pain
ermm okay i might have a solution but realistically i dont know if its a solution thats actually deployable
💀
bcus it involves you having 62 thousand svgs
nvm thats just gonna be what itll be
itll take a bit to build and a bit to clone but
thats the best i can do on ios 6-8
you can't read directly from zips
grrr its so slow
does anyon eknow if you can make your own assets.car
and load files from it like apple does
nvm
they dont support svgs
damn k
so i guess i relaly do just either
only provide .regular
or i literally have 62k svgs
and youll have to just deal w it
😭
80mb
of svgs

anyone have any ideas
i mean
technically
i could host them
and fetch ota
but like thats a shitty ahh solution
only bundle the symbols your app uses?
its a swift package
it has to copy the files over when building regardless
ok then just make the user copy the symbols the way you're supposed to backport them
like
ur options are either:
A: Do it the current way
B: Don't do it the current way
both have ups and downs
issue is i dont see any other way of doing it
its fine bcus i need to do testing to even get shit working first
swiftsvg is a pain
meow
well the current way is just copying symbols into your assets.car from sf symbols
no
the current way is
i extracted every svg from the sfsymbols app
i put it into a swift package
and reference them via swiftsvg
and a wrapper
to replicate sfsymbols api
so that u can use proper sfsymbols with real scaling rather than xcode being garbage and not supporting vector graphics on anything but ios 11+
assets.car doesn't support svgs
even today svg's are just converted to pngs at compile time
then how are you able to resize without quality loss (at runtime)
what are sfsymbols at runtime
whats the purpose of all this work anyway
like
for the 7 daily active users of these devices so its not viable for anyone to still develop for these platforms
i mean sfsymbols 7 on every ios version is kinda useful
well
im backporting t
full stop
and
i happen to be able
to backport to ios 6 as well
also
theres actually about
1400
users
ish
from bluetweety data at least
nvm
a lot more
if im reading this right thats more like
2.4k ish?
users
but versus the few hundred million on ios 18/26
well yeah sure but lets talk percentages
percentages of people who will benefit from this in that community
about 90%
percentage of me doing something like this for ios 18/26
less than a percent
less than a percent of a percent
and so on and so forth
plus, the aim of the game here is to be able to
- let devs if they want to include ios 6+ support
- if they dont want to ill do it for them
ive already done it with a bunch of pretty large pkgs
0.01% of 300,000,000 is still more than 90% of 2.4k
so on and so forth
basically nobody will use my packages on modern ios
why would they
what even is there to do
no but the point is you're working on something for very little users
as opposed to working on something else that could be used by a lot more people
you could say the same about jbs and exploits for those versions
and they're a whole lot more work
its cool and neat, but i just struggle to see the whole why thing
- its cool
- i can
- it means im making smthing that will actually be used. modern ios package standard is absolutely insane. shit is crazy
- its unique
- its fun
- i get to give apple the middle finger over and over for every feature they said "cant do it on older ios"
- i (hopefully) actually see the product of my labours when ppl use it
- its good for learning programming skills, compiler knowledge, problem solving etc
- i like doing it

for every feature they said "cant do it on older ios"
This is the only one I don't think you can take. They don't backport shit because it doesn't make economic sense to
ah but thats false
they backport shit all the time
they backported arc ffs
if they can backport fucking arc
to older ios
they can backport a pack of svgs
could pkg with app
also
they had to write a backport for it
which is what they tell you to do!
well yeah but it'd take minimal effort for them to just
do it for you
but thats like one thing
debatable
swift on ios 6 shouldve been supported
it was for 3 betas
never shouldve dropped until ios 7 was dropped
apple could have and should have
if they dropped ios 6 altogether
id understandbut they didnt
they allowed objc builds
it was only swift
and there is no good reason why at bare minimum swift 2.3 shouldnt have been supported
it was native
freaking info.plist change
literal 0 effort
😭
even my compiler modifications i as an unexperienced dumb ahh did those in like
3 weeks?
proper swift engineer couldve done in what
a day?
i am also of the opinion apple is dumb for using system frameworks
and not shipping up to date ones
like uikit
and swiftui
the frameworks are tiny
like 10mb for both ish
for swift targets you literally already ship the runtime so i dont see the issue i mean nearly every other os other than apple os already does this
either they allow updating frameworks on the same os
or they just ship w the app
finding info on this is so difficult because any serach that includes swift and 6 just talks about what is new in Swift 6
yep
theres none
literally none
theres nothing online
i have searched and searched
nobody talks about it
nobody said why
MAYBE
somewhere
deep in the swift repo
there could be a commit
mentioning it
but itd be all the way back at swift 1
when it was initially removed
ill clone repo and have a search
LMAO
why tf did you remove all the tests
they break build
😭
not ios 6 based
just
any build
whatsover
swift doesnt tell you what xcode u should use
so u just have to guess
they do but i can only use a max of xcode 13.4.1
bcus apple was annoying and removed armv7
idk why they removed it ngl
like
i get saying
"pls dont use"
but why remove
why hardcode it
if im supplying my own toolchain
let me do whatever i want
dont just say "erm no you can't even tho ur compiler says yes"
but you made the pr
and then stopped when a dude called you a moron
I found it because im trying to find exact references to ios 6
yes
nobody else would be doing that daily
which there were none before
i mean realistically
its not even latest swift
they dont merge prs for outdated swift
as the guy said
I can assure you no Swift dev is sitting down at the office and going "hmm I wonder if we should backport from iOS 15 to iOS 6, lemme see if theres a PR to do this"
no
but to think theres only one person like me who would want to run ios 6 swift
is probably wrong
theres a lot of ppl in the world
idk
just seemed like something i could do
so i did
even if i really spent hard time doing it properly
it never wouldve been merged
it adds back armv7 ffs
they're NEVER merging in something that adds back armv7
bcus xcode doesnt support armv7
grr why is swift repo so large
it really ballooned
it was a good size for ages
and then it got giant
then again you might think "hmm can we backport to ios 12"
far more likely
keep in mind this isnt for ios 6 only
this is the only fork that does all versions 6-12
doesn't make business sense to
ig
this isnt rlly aimed at business tho
😭
what business is using some kids custom toolchain

the other thing is the main reason i even tried to start is i just dislike objective c for many reasons its just a personal preference and i also know a decent chunk of aspiring legacy devs dont start bcus of objective c, its old, requires a bunch of stuff so u can get an ancient dev env setup, tutorials are old software is old etc, not very well documented anymore bcus its all on apple archives and swift is main lang
swift being open source gives me the option to take matters into my own hands
and the very reason this wasn't done before is bcus of ppl thinking "why bother"
i mean swift 2.3 literally is native support
info.plist change
no effort
nobody tries
or even did try
when it was relevant
3de8ec3bca8 Sema: Consider availability of conforming type when diagnosing protocol witness availability
this is all i can see?
https://github.com/swiftlang/swift/commit/a3b704ec423c7814f8bd397d81e4394987d2131b
https://github.com/swiftlang/swift/commit/d075f06573ffcb842598151ec01f3b3d07e3dd38
…r earlier) as unavailable.
This patch takes care that synthesized initializers are created
when overriding unavailable initializers (thanks Doug).
Swift SVN r19202
Implements rdar://problem/17532113
Swift SVN r19451
1 week apart
did they literally just give no reason?
well.
there are commits above
disabling jit on macOS 10.8
because of memory leaks
i mean sure
i'm trying to figure out why
did you revert it to the old behaviour?
nah i just stole the patch from newer swift
they patched that
to work
😭
they added availability checks n shit
that doesnt even do jackshit btw
maybe on osx
not on ios
swift 2.3 as i said still works natively
i honestly just think shit wasn't working and under time crunch they just bumped their min targets
and by the time they had to time to go back and fix it, it didn't matter
so they just did both
bcus ios 6 and 7 are REALLY similar
osx 10.8 and 10.9 are NOT
10.9 was like the first modern macos
it was supported by swift long after ios 7 was dropped
from reading more and more commits referencing the change in target I think I'm gonna stick with the theory of time crunch
so i was right they could have but didnt
grrr
why time crunch
apple shouldve given more time

unfortunately a business has to do things in a businesses best interest
i mean
heres the issu
i patched it
it works
theres nothing you can do thats not concurrency
that wont work
lang wise
ive tested it all
i mean yes
but like
they made the lang
i didnt know shit about it
going into it
have you tested this on macOS 10.8
no, i haven't
would be interesting to tho
idk if my patches are enough to fix 10.8
idk if i should try w swift 1
ill see
istg if osx10.8 was the reason they just cooked ios 6
grr
makes no sense if so bcus they supported osx10.9 for basically a decade
kinda crazy
ngl what i hate most is no control
you cant tell compiler to shut up
i can ignore warnings and even errors on like every other compiler but not with xcode
aw man i literally am going to have to recompile all of swift if i want to allow native ios 6 build targets
its in frontend.cpp
😭
wait
i can just return on diag
nvm its not there anymore
found it
LMAO you can unblock 32 bit builds for ios 11
LOL
oh dear god
i have to recompile llvm
and then redo all the toolchains
and grrrrrrrrrrr
and there is always the chance
that this breaks more
bcus xcode tries and targets ios 6
you would need to run a separate kernel that has 32bit support still
and dont forget that every framework you're trying to link against only has a 64bit slice
nah
i meant
you could unblock in the same place
you would never be able to do it
grrr
if only xcode was this easy to fool
can you binary patch xcode?
wdym
like
change the versions it thinks it can compile for?
well yes but technically no
apps that are made with an xcode that isn't signed by apple can't be distributed

