Xcode成功构建,但未复制到iOS设备,并立即终止调试器 [英] Xcode Succeeds Build, but does not copy to iOS Device, and terminates debugger immediately

查看:79
本文介绍了Xcode成功构建,但未复制到iOS设备,并立即终止调试器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题非常荒谬,我对尝试方法的想法已无所用:

This problem is pretty ridiculous and I'm running out of ideas of what to try:

在过去的几周中,我一直成功地使用Xcode在iOS设备(iPhone)上调试游戏,但是现在,当我尝试将iPhone设置为目标运行时,将完成所有工作.应用程序,然后立即停止.没有错误,控制台日志中没有任何内容.该应用程序甚至都不会复制到我的设备上.

I have been successfully using Xcode to debug my game on my iOS device (iPhone) for the past couple of weeks, but now all it will do when I try to do a run with my iPhone set as target is successfully build the application and then Stop immediately. No Errors, nothing in console logs. The application doesn't even copy over to my device.

Xcode说:正在构建,正在运行,已完成运行....都在2秒钟之内...

Xcode says: Building, Running, Finished Running....all within 2 seconds...

我正在使用Xcode 4 iOS 4.3

I'm using Xcode 4 iOS 4.3

我尝试了以下操作:

  1. 重新启动mac
  2. 从iPhone和 重新启动iPhone(尽管我有力量 按钮在我的iPhone上不再可用, 所以我不得不把整个 电池尝试一下)
  3. 已清理项目并重建
  1. Rebooting mac
  2. Deleting application from iPhone and rebooting iPhone (although my power button no longer works on my iPhone, so I had to run down the entire battery to try this)
  3. Cleaned project and rebuilt

似乎没有任何帮助. 该游戏也可以在Xcode中的iOS Simulator上成功编译并运行,而且正如我所说的,我已经能够在昨天之前复制我的游戏,但是由于某种原因,它只是停止工作了...

Nothing seems to help. The game compiles and runs successfully on the iOS Simulator within Xcode as well, and as I've said I've been able to copy my game over prior to yesterday, but for some reason it just stopped working...

更新:通过在Info.plist中将加速度计"从否"设置为是"来解决.

UPDATE: Solved by setting the "accelerometer" from "NO" to "YES" in Info.plist.

推荐答案

通过在Info.plist中将加速度计"从否"设置为是"来解决.

Solved by setting the "accelerometer" from "NO" to "YES" in Info.plist.

这篇关于Xcode成功构建,但未复制到iOS设备,并立即终止调试器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆