Xcode shows many errors but program compiles and runs fine (in both simulator and device)

后端 未结 16 1363
陌清茗
陌清茗 2020-12-23 13:46

After installing the CocoaLumberjack\' log compressor class I\'ve been getting this annoying behavior: Xcode complains that there are many undeclared identifiers and gives m

16条回答
  •  隐瞒了意图╮
    2020-12-23 14:08

    This happened to me as well, but cleaning didn't fix it. What did was quitting and reopening XCode. Afterwards, all the phantom errors were gone. For those wondering, the tabs you have open when you close will still be open when you reopen.

提交回复
热议问题