Home > OS >  After updating Xcode to version 14, the error: 'Table' is ambiguous for type lookup in thi
After updating Xcode to version 14, the error: 'Table' is ambiguous for type lookup in thi

Time:09-13

Updated Xcode to the latest version (14.0 (14A309)) and there was an error with the SQLite package (v. 0.13.3). Has anyone already encountered a similar situation, any ideas how to solve it? Thanks in advance and have a nice day. enter image description here

CodePudding user response:

SwiftUI got a new View called Table

so now the compiler doesn't know of you mean SwiftUI.Table or SQLite.Table

You can specify which Table by prefixing it like this SQLite.Table or if you don't need anything from SwiftUI in this file then you could simply remove the import.

  • Related