Encountered this compiler crash when a guard case is followed by a let (FB9643656). E.g.:
let value = CollectionDifference.Change.insert(offset: 1, element: 1, associatedWith: nil)
guard case .insert(_, _, let associatedWith) = value, let associatedWith = associatedWith else {
return
}
But splitting the two guarded conditions into separate guard statements solves the issue.
Post
Replies
Boosts
Views
Activity
iOS 17.4.1 still has the issue for barcodes (QR code issue was resolved). No official notification from Apple though. There's a Stack Overflow about this too: https://stackoverflow.com/questions/78128010/ipados-17-4-avcapturemetadataoutput-delegate-not-called-qrscanner
I also am facing this crash, in my case my using a SwiftUI ShareLink with a FileRepresentation specifying any file-like exportedContentType.
Did you find a solution?
I've been having this issue for the past few days, despite making no code changes to my app (I even went back and re-built my codebase at a point that was previously OK, and got the issue still. Cannot figure out what's going on!
I've started getting these issues in the last week. If I archive and upload the same codebase (reverting to previous commit) that was previously OK, I now get this issue ("The app links with libraries that aren’t present in macOS: /usr/lib/swift/libswiftCloudKit.dylib"). Seems like it must be a change on the App Store Connect side -- or possibly caused by a macOS software update (since the version of Xcode I've been using is unchanged - Xcode 16.0). I'm stumped.