Xcode beta 12 compile erros

I'm getting compile errors with some of my classes.

(Same error)
Code Block
CompileSwift normal x86_64 /Users//Documents/Development//Network/Extensions/URLComponentsExtension.swift (in target '-' from project '-')
Command CompileSwift failed with a nonzero exit code

Code Block
Segmentation fault: 11



Answered by OOPer in 618130022
It is a bug of compiler if it stops compiling with Segmentation fault and without any diagnostic message.

Better send a feedback attaching the project (minimized, but enough to reproduce the same issue, would be preferred).

If you want to find some workaround until the issue is fixed, please show the code causing this issue.
Accepted Answer
It is a bug of compiler if it stops compiling with Segmentation fault and without any diagnostic message.

Better send a feedback attaching the project (minimized, but enough to reproduce the same issue, would be preferred).

If you want to find some workaround until the issue is fixed, please show the code causing this issue.
I just sent a feedback!
I'll post it when they fix this.

Thanks @OOper
Update:

I figured out
It was a type casting:


Code Block
as [String : UIView]


I deleted it and it's running now.



Xcode beta 12 compile erros
 
 
Q