IOS project showing error “An internal error occurred. Editing functionality may be limited” on xcode 7.1

前端 未结 23 2177
春和景丽
春和景丽 2020-12-02 15:34

I just created one new cordova ios project via CLI, and i opened that project in Xcode 7.1 and while running on simulator am getting some error on mainViewController.xib, if

23条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 15:52

    Running Xcode 7.3.1, I had the same error message appear while editing a .xib file. Performance would stall, and Xcode often became unresponsive. Filed a bug report, and in the meantime came across this line of code in the .m file associated with the most problematic .xib:

    NSString *check = [formatter stringFromDate:date];/

    The "/" was not being flagged as an error, and the project had built and run many times with this in place. After removing the "/", performance improved dramatically, and the error message has only appeared a couple of times, briefly, since then and by now not for several days.

    So far, this seems to be a case of a glitch in the debugger.

提交回复
热议问题