问题描述
我正在尝试在我的 iPhone 上测试我正在开发的应用程序.为此,我在 Xcode 上将目标从 Simulator 更改为 Device.该应用程序已正确上传到设备并且可以正常工作.显示了主视图,但如果我尝试打开辅助视图,应用程序会崩溃.
I'm trying to test an app I'm developing on my iPhone. To do that I changed the target from Simulator to Device on Xcode. The application is correctly uploaded to the device and it works. The main view is shown but if I try to open a secondary view, the application crashes.
在 iPhone 日志上(我安装了 iPhone 配置实用程序来查看控制台[是从 iPhone 中查看日志的唯一方法吗?])我可以看到这个错误:
On the iPhone log (I installed the iPhone configuration utility to see the console [is the only way to see the log from iPhone?]) I can see this error:
Could not load NIB in bundle
但是,在模拟器上它可以正常工作.怎么了?有什么想法吗?
But, on the simulator it works fine. What's wrong? Any ideas?
推荐答案
我发现有时候设备区分大小写而模拟器不区分.
I've found that sometimes the device is case sensitive and the simulator is not.
你的 xib 文件名是什么?
What's the filename of your xib?
或
尝试从模拟器中卸载应用程序并重新安装 - 模拟器可能有一个旧文件从应用程序的先前运行中遗留下来 - 您在开发过程中是否重命名/移动了 xib?
Try uninstalling the app from the simulator and installing it again - the simulator might have an old file left over from a previous run of the app - have you renamed / moved the xib at all during development?
这篇关于无法在 iPhone 设备上捆绑加载笔尖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)