AppCode is not detecting errors before compiling
Asked Answered
B

2

6

I would like to know why AppCode is not highlighting errors/warning messages (nor swiftLint errors) directly in source editor; only after running the app errors/warnings are shown in Messages panel.

enter image description here

vs

enter image description here

I am using Version 2017.2.3 of AppCode.

Bandylegged answered 9/10, 2017 at 10:13 Comment(2)
Have you seen this question? Which version of AppCode are you using?Might
Version 2017.2.3.Antifriction
B
2

I've asked AppCode help center directly and this answer worked. Hope it helps someone too.

Try building the target against device (instead of simulator) and reopen .swift file: in-editor warnings should work after that.

Bandylegged answered 10/10, 2017 at 6:10 Comment(0)
O
2

I'm afraid it doesn't work for me in AC 2021.2.2. Here's my version infos:

AppCode 2021.2.2 Build #OC-212.5284.45, built on September 14, 2021 Runtime version: 11.0.12+7-b1504.28 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 11.4 GC: G1 Young Generation, G1 Old Generation Memory: 4096M Cores: 8 Registry: max.suggested.heap.size=8192 Non-Bundled Plugins: com.intellij.plugin.applescript (0.121), com.appcodeplugins.swiftlint (1.13.4)

Edit: it seems to be a known and very recent issue with XCode 13.

Ottava answered 7/10, 2021 at 9:48 Comment(1)
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From ReviewMiddlebuster

© 2022 - 2024 — McMap. All rights reserved.