Post

Replies

Boosts

Views

Created

Xcode 13.3 beta 2, code completion error
example: import Vapor struct MainController: RouteCollection {     func boot(routes: RoutesBuilder) throws {         routes.get(use: index(req:)) // ↑ there // if i typing `index` and chosen from selection picker, it will display `index(req: <#Request#>)` not `index(req:)` // but when i typing `self.index` and chosen from selection picker, it will work normal     } } private extension MainController {     func index(req: Request) throws -> EventLoopFuture<View> {         req.view.render("index", ["title": "Hi guys~", "md_file": "/index.md"])     } } Environment: Xcode 13.3 beta 2 Intel chip, MacBook Pro (16-inch, 2019), macOS monterey 12.2.1 (21D62)
0
0
443
Feb ’22
Xcode 12 Build failed, error: circular reference
Our project compiles and runs fine on Xcode 11. However, when I compile with Xcode 12, it tells me <unkown>0: error: circular reference The specific information is as follows: <unknown>:0: error: merge-module command failed with exit code 1 (use -v to see invocation) and <unknown>:0: error: circular reference Command MergeSwiftModule failed with a nonzero exit code Please see my attachments for specific errors. Other than that, I can't get any more error messages. Xcode 12 build failed logs - https://developer.apple.com/forums/content/attachment/8e91198a-3348-4d7f-8459-94b8549188dd
7
0
10k
Sep ’20