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
Building with Xcode Version 13.0 (13A233) on an M1 Mac mini.
Additional Detail from JIRA
Votes
0
Component/s
Compiler
Labels
Bug
Assignee
None
Priority
Medium
md5: 259977d9ea7f5749acdf24ec873f0e00
Issue Description:
Build is failing (and it may well be erroneous code that it is calling out but I've been told that any nonzero exit is considered a bug. Apologies about the general code quality this is just a play project to explore Async Await and Core data mostly.
/Users/josephlord/hf/ios/Experiments/UKCovidData/UKCovidData/DataUseCase.swift:191:59: error: invalid conversion from throwing function of type '() throws -> Void' to non-throwing function type '() -> Void' let areas = try await context.perform { ^ /Users/josephlord/Library/Developer/Xcode/DerivedData/UKCovidData-drdmvbkbpkkgdfehcwkhtvhkjryt/Build/Intermediates.noindex/UKCovidData.build/Debug-iphonesimulator/UKCovidData.build/Objects-normal/arm64/UKCovidDataApp.dia:1:1: warning: Could not read serialized diagnostics file: error("Invalid diagnostics signature") (in target 'UKCovidData' from project 'UKCovidData') Command CompileSwift failed with a nonzero exit code
The text was updated successfully, but these errors were encountered:
This isn't correct. If the compiler or debugger crashes, that is a bug. When there are errors, the compiler should be exiting with a non-zero exit code.
Attachment: Download
Environment
Building with Xcode Version 13.0 (13A233) on an M1 Mac mini.
Additional Detail from JIRA
md5: 259977d9ea7f5749acdf24ec873f0e00
Issue Description:
Build is failing (and it may well be erroneous code that it is calling out but I've been told that any nonzero exit is considered a bug. Apologies about the general code quality this is just a play project to explore Async Await and Core data mostly.
/Users/josephlord/hf/ios/Experiments/UKCovidData/UKCovidData/DataUseCase.swift:191:59: error: invalid conversion from throwing function of type '() throws -> Void' to non-throwing function type '() -> Void' let areas = try await context.perform { ^ /Users/josephlord/Library/Developer/Xcode/DerivedData/UKCovidData-drdmvbkbpkkgdfehcwkhtvhkjryt/Build/Intermediates.noindex/UKCovidData.build/Debug-iphonesimulator/UKCovidData.build/Objects-normal/arm64/UKCovidDataApp.dia:1:1: warning: Could not read serialized diagnostics file: error("Invalid diagnostics signature") (in target 'UKCovidData' from project 'UKCovidData') Command CompileSwift failed with a nonzero exit code
The text was updated successfully, but these errors were encountered: