问题描述
当我用Xcode 8 GM Seed构建我的应用程序并运行它在iOS 9.2下面的设备或模拟器,我会在应用程序启动或应用程序启动后几秒钟奇怪的EXC_BAD_ACCESS崩溃。崩溃总是发生在不同的地方(添加一个子视图, [UIImage imageNamed:]
,应用程序委托的主要方法等)。当我在iOS 9.3+或10上运行时,我不会得到那些崩溃,当我使用Xcode 7 构建时不会得到它们,并且在iOS 9.2及以下版本上运行。有没有人体验类似的东西?这是Xcode 8的已知问题吗?
查看接受的答案
您可以保存16位资产作为8位的与Preview.app
When I build my app with Xcode 8 GM Seed and run it on an iOS 9.2 below device OR simulator, I get strange EXC_BAD_ACCESS crashes during app startup or a few seconds after the app launched. The crash always happens in a different spot (adding a subview, [UIImage imageNamed:]
, app delegate's main method etc). I don't get those crashes when I run it on iOS 9.3+ or 10 and I don't get them when I build with Xcode 7 and run on iOS 9.2 and below. Has anyone else experiences something similar? Is this a known issue with Xcode 8?
See the accepted answer https://forums.developer.apple.com/thread/60919
You can save 16-bit assets as 8-bit ones with Preview.app
这篇关于Xcode 8在iOS 9.2及以下版本上崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!