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
{{ message }}
Repository navigation
Xcode 27.2 emits six compiler warnings in AetherEngine 7.76.0 #1140
I upgraded my app to AetherEngine 7.76.0 and still see two warnings about times in FrameUpscaler.swift. There are four other warnings in this release. The builds succeed, and I haven't seen a playback problem tied to them.
I reproduced this with Xcode 27.2 (27B52) on an Apple silicon Mac running macOS 27.2.1. The engine is at 506d3fc1467e6653320b1071b194c8c19420866f, with the default package traits.
Steps to reproduce
Add AetherEngine 7.76.0 to an app and build with fresh DerivedData for a generic tvOS device in Debug.
Check the warnings from the AetherEngine target.
I get the same six warnings in iOS and visionOS device builds. The arm64 simulator builds show the four subtitle/audio warnings. The upscaler code is compiled out there.
Sources/AetherEngine/Video/FrameUpscaler.swift:1422:29: warning: reference to captured var 'times' in concurrently-executing code [#SendableClosureCaptures]
Sources/AetherEngine/Video/FrameUpscaler.swift:1459:87: warning: reference to captured var 'times' in concurrently-executing code [#SendableClosureCaptures]
Sources/AetherEngine/AetherEngine+Subtitles.swift:588:17: warning: initialization of immutable value 'plan' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
Sources/AetherEngine/AetherEngine+Subtitles.swift:594:17: warning: initialization of immutable value 'batchEnd' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
Sources/AetherEngine/AetherEngine+Subtitles.swift:3441:37: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#ImplicitStrongCapture]
Sources/AetherEngine/Audio/Shaping/BinauralRenderer.swift:152:61: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
This looks related to #1062 (closed), which reported six Xcode 27.2 warnings in Apple app builds. The code at the lines you quote in FrameUpscaler.swift and AetherEngine+Subtitles.swift is unchanged on main, so these warnings probably still show up there too. Your report already has the toolchain, commit, traits and full warning list, so nothing more is needed to reproduce it.
Automated triage by Quint (Claude). A maintainer reads every issue and will follow up.
Thanks again for the exact list, it made this quick. All six are fixed on main in 579df08:
FrameUpscaler.swift: the ML pass callbacks now get a constant copy of the stage times instead of capturing the function's var.
AetherEngine+Subtitles.swift: the unused plan and batchEnd are gone, and isCurrent captures self plainly. The enclosing task already holds it, so the weak bought nothing.
BinauralRenderer.swift: the property setter passes its value through withUnsafePointer instead of &v.
While checking I also built for macOS, which turned up a seventh one in PictureInPictureAreaTracker.swift that I had left in at #1062 because the 26 SDK still needs it. That one is fixed too, in a way both SDKs accept. Fresh Debug builds for tvOS, iOS, visionOS and macOS devices under Xcode 27.2 (27B52) now show no warnings from the engine, and the Xcode 26.3 build still passes.
Nothing changes at runtime. It isn't released yet. It goes out with the next version, and I now build every release for warnings before tagging, so this shouldn't come back. I'll leave the issue open until you've had a chance to check it on your side.
Activity
quint-aether commentedon Nov 27, 2026
This looks related to #1062 (closed), which reported six Xcode 27.2 warnings in Apple app builds. The code at the lines you quote in
FrameUpscaler.swiftandAetherEngine+Subtitles.swiftis unchanged onmain, so these warnings probably still show up there too. Your report already has the toolchain, commit, traits and full warning list, so nothing more is needed to reproduce it.Automated triage by Quint (Claude). A maintainer reads every issue and will follow up.
fix(build): clear the macOS PiP tracker warning under the 27 SDK too (#…
superuser404notfound commentedon Nov 27, 2026
Thanks again for the exact list, it made this quick. All six are fixed on
mainin 579df08:FrameUpscaler.swift: the ML pass callbacks now get a constant copy of the stage times instead of capturing the function'svar.AetherEngine+Subtitles.swift: the unusedplanandbatchEndare gone, andisCurrentcapturesselfplainly. The enclosing task already holds it, so theweakbought nothing.BinauralRenderer.swift: the property setter passes its value throughwithUnsafePointerinstead of&v.While checking I also built for macOS, which turned up a seventh one in
PictureInPictureAreaTracker.swiftthat I had left in at #1062 because the 26 SDK still needs it. That one is fixed too, in a way both SDKs accept. Fresh Debug builds for tvOS, iOS, visionOS and macOS devices under Xcode 27.2 (27B52) now show no warnings from the engine, and the Xcode 26.3 build still passes.Nothing changes at runtime. It isn't released yet. It goes out with the next version, and I now build every release for warnings before tagging, so this shouldn't come back. I'll leave the issue open until you've had a chance to check it on your side.
fix(build): clear the six Xcode 27.2 warnings in 7.76.0 (superuser404…
superuser404notfound commentedon Nov 28, 2026
Released in 7.77.0 (cda1e97). Built with Xcode 27.2 on tvOS, iOS, visionOS and macOS before the tag, with no warnings from the engine's own sources.