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

后端 未结 16 1490
陌清茗
陌清茗 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:11

    I had this issue recently. It can be remedied in some cases by deleting the ModuleCache folder inside DerivedData, along with the project folder in DerivedData. Note that Xcode must be quit before doing this.

提交回复
热议问题