问题描述
我将iphone 6更新为ios 9,并且还将Xcode更新为7.0版.当我在模拟器上运行项目时,该应用程序可以正常运行.当我尝试在我的设备上运行该应用程序时,该应用程序崩溃了,我看到了以下信息:
I updated my iphone 6 to ios 9 and I also updated Xcode to version 7.0. When I run my project on the simulator, the app works fine. When I try to run the app on my device the app crashes and I see this:
dyld`dyld_fatal_error:-> 0x120049088< +0>:brk#0x3
dyld`dyld_fatal_error:-> 0x120049088 <+0>: brk #0x3
最初,我在使用cocoapods,并为我配置的每个框架都显示一个错误,指出找不到图像".我删除了cocoapods并手动添加了所有框架,但是现在我遇到了上面的错误.任何帮助将不胜感激.
Originally I was using cocoapods and getting an error that said "Image not found" for each of my frameworks I had configured. I removed cocoapods and manually added all the frameworks but now I'm getting the error above. Any help would be appreciated.
谢谢
推荐答案
我遇到了这个问题.干净,更新Xcode,删除派生数据-所有这些都无济于事.
I had this issue. Clean, Xcode update, deletion of derived data - all didn't help.
帮助的依据是此答案:
- 转到目标设置的构建阶段"部分.
- 单击左上角的+按钮,然后选择新复制文件阶段".
- 在复制文件"阶段下,选择目标"下拉列表,然后选择框架".
- 将框架从项目导航器拖放到名称"部分.
这篇关于升级到xcode 7后无法在设备上运行应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!