iOS NSBundle加载出错解决 The bundle couldn’t be loaded because its executable couldn’t

2,162 阅读1分钟

当使用NSBundle加载资源出错 The bundle couldn’t be loaded XXX because its executable couldn’t be located 且使用pathForResource:name ofType:nil为nil时,可以使用 pathForResource:name ofType:nil inDirectory:@"/"获取