I have a same issue on MacBook Air (M1, 2020) MacOS Monterey Version 12.6, Xcode Version 14.2 (14C18). Turning Rosetta on/off doesn't help. Please suggest a solution
Post
Replies
Boosts
Views
Activity
I have MacBook with Apple M1, 16 GB, macOS 13.6.1
My colleagues and I discovered another feature. The delay in opening the UIViewController file only occurs if the 'guard let' construct is used in it. If you comment it out, the file loads quickly.
Some controllers start to load quickly after the "guard let" instruction has been removed from the code. Some controllers take a long time to load even without using the guard let instruction. But after formatting the file using swiftformatter, which only removes tabs on the delimiting blank lines, the file opens quickly.
Some controllers start to load quickly after the "guard let" instruction has been removed from the code. Some controllers take a long time to load even without using the guard let instruction. But after formatting the file using swiftformatter, which only removes tabs on the delimiting blank lines, the file opens quickly.