简体   繁体   English

Xcode 6是否可能显示与iOS 7兼容的错误?

[英]Is it possible for Xcode 6 to display errors for iOS 7 compatibility?

I have Xcode 6 and the game I am writing crashes when I run it in the iOS7 simulator. 我有Xcode 6,在iOS7模拟器中运行它时,我正在编写的游戏崩溃。

Yes, I can read the logs during runtime such as [SKEmitterNode nodeWithFileNamed:] doesn't exist in iOS 7. But it would be much nicer to see that this method doesn't exist when I'm typing it (also without having to look at the developers documentation) since I learned Sprite Kit on iOS 8. 是的,我可以在运行时读取日志,例如[SKEmitterNode nodeWithFileNamed:]在iOS 7中不存在。但是,很高兴看到此方法在键入时不存在(也不必请参阅开发者文档),因为我在iOS 8上学习了Sprite Kit。

I know you can do this if you change the SDK to iOS 7, but I've read numerous problems happens if you rig the project like that. 我知道,如果您将SDK更改为iOS 7,则可以执行此操作,但是如果您按这样的方式绑定项目,就会发生很多问题。 Is there any other way to get errors or warning before runtime? 还有其他方法可以在运行时获取错误或警告吗?

正是出于这个目的而创建了DeployMate应用程序。

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

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