NSBundle pathForResource is NULL 取不到值

错误提示:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:]: nil string parameter'

解决方法:

在 Bulid Phases里的Copy Bundle Resources里添加自己所需要的文件

原文地址:https://www.cnblogs.com/yidoucai/p/5236382.html