Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 iPad 应用程序 iOS 6.0 XCode 4.5 中,我在运行时收到以下消息:
* 由于未捕获的异常“NSInvalidArgumentException”而终止应用程序,原因:“* -[__NSArrayM insertObject:atIndex:]: object cannot be nil”
我看了又看,但我没有看到它发生在哪里。我设置了 NSZombies,但在 Instruments 中没有得到任何有意义的东西。是否有工具或设置或至少可以告诉我发生这种情况的地方?
我删除了与Magical Record有关的所有代码,下载了最新版本并重新安装了它..解决了问题! 感谢您的建议。