Post

Replies

Boosts

Views

Activity

Xcode 26 Compiler Critical Issues?
Hello everyone, Since I installed Xcode 26, I've been encountering issues I've never seen before. I have Mac OS applications written in Objective-C, some released as far back as 14 years ago. When compiling them with Xcode 26, I experience efficiency issues related to thread management and interface updates. There are rendering problems with a simple NSTextView created through Interface Builder. The issue is not easily reproducible as it occurs randomly on some machines, regardless of their architecture or macOS version. The main thread freezes, and generally after 15-30 seconds, it unfreezes, loading the interface and text. The length of the text is irrelevant to the issue, and no crashes occur. I spent ten days trying to optimize the code and change the loading order within the class, but the problem persists. However, if I compile the application with Xcode 16.4, everything works like a charm. I also tried using the macOS 15.5 SDK to compile with Xcode 26, but it doesn’t resolve any issues. Additionally, I tried changing the compiler optimization level, but it didn’t solve the problem. This leads me to believe it’s an issue with the Xcode 26 compiler. If it were a code issue, it would be easily reproducible and would also occur when compiling with 16.4. The Xcode 26.1 Beta doesn’t resolve the issue. Can anyone tell me if I need to change something related to the compiler? Are you aware of any issues like this? Thank you, Luca
0
1
102
Oct ’25
AppIntents and bool localization
Hi, I've implemented my App Intent that asks for an int and then for a boolean with requestDisambiguation. If I use [true, false] Siri doesn't translate to other languages automatically, just asks for true or false, no matter what the system language is. let providedValue2 = try await $myval.requestDisambiguation(among: [true, false], dialog: "") If I translate the values as strings it works perfectly by interacting with the screen but, with voice, Siri enter in an infinite loop with requestDisambiguation... let restrue = NSLocalizedString("BoolLocalize", comment: "") let resfalse = NSLocalizedString("BoolLocalize2", comment: "") let providedValue2 = try await $myval.requestDisambiguation(among: [restrue, resfalse], dialog: "") var providedBool = false if providedValue2 == restrue { providedBool = true } ... Can it be a bug or am I doing something wrong? Thanks
0
0
719
Apr ’23
CKShare works only outside App Store released Application
Hi everyone, I have an application that allows to share Core Data records through CKShare. If I compile the app in debug or release mode on my devices with Xcode the Sharing functionality work like a charm, but if I download the application from App Store doesn't work, It seems that can't generate the link for sharing. Does anyone have any idea why? Thanks
1
0
345
Dec ’24