简体   繁体   English

自定义UITableViewCell可在模拟器上运行,但不在设备上运行

[英]custom UITableViewCell works on simulator but not on device

on the simulator the view with custom table view loads fine .. but on device its throwing this error 在模拟器上,自定义表视图的视图加载正常..但在设备上它抛出此错误

* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle (loaded)' with name 'MyCustomCELL'' * *因未捕获的异常'NSInternalInconsistencyException'而终止应用程序,原因:'无法在bundle中加载NIB:'NSBundle(已加载)',名称为“MyCustomCELL”*

the xib is in 'Target membership' in 'show file inspector' also exists in 'build phases' 'copy bundle resources' xib在'show file inspector'中的'Target membership'中也存在于'build phases''copy bundle resources'中

my test device is ipod touch 3rd gen .. 我的测试设备是ipod touch 3rd gen ..

any help is appreciated :) 任何帮助表示赞赏:)

通常文件未找到错误是文件名不匹配osx HFS不区分大小写ios区分大小写

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM