You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is somewhat correct behavior, by changing one file you might be changing characteristics other files in the project depend on, e.g. function signature, the exact address to a function, etc. Swift is just going to be like this because of its lack of headers, and stronger leaning on static compile-time constants rather than runtime lookups as ObjC is. swiftc's makedeps output drives this. It's still possible that it could be somehow implemented wrong in Theos though.
Are you on the Orion branch? We pass all swift files to the compiler invocation like @kirb mentioned, but swiftc itself should skip files that have no changes/changed dependencies, and you shouldn't see the "Compiling Foo.swift" line in Theos' output
Yeah, I'm on the Orion branch. Here's a live showcase of the behavior
Luki120
changed the title
All Swift files get compiled again in an app project when only one was modified
All Swift files, despite not being any relation between them, get compiled again in an app project when only one was modified
Nov 20, 2022
What are the steps to reproduce this issue?
What happens?
What were you expecting to happen?
Paste any relevant logs, error output, etc.
Additional context
What OS are you seeing the problem on?
Linux/WSL
What OS version does it have installed?
Kubuntu 21.04
What toolchain and version are you using?
Kabir's Swift 5.6.1 toolchain
Which SDK version are you using?
iOS 15.5
What OS is your client device running?
iOS
What OS version does it have installed?
iOS 14.5.1
Which device model is it?
iPod Touch 7th generation
Which jailbreak is it using (if relevant)?
checkra1n
The text was updated successfully, but these errors were encountered: