4

我越来越害怕了

Could not launch game name, no such file or directory (/Users/myname/Library/Developer/Xcode/DerivedData/Game_Name-erqxxxxxxxxxgesgegesgesg/Build/Products/Debug-iphoneos/Game Name.app/Game Name)

当我尝试在 iPhone 上运行游戏时。它在模拟器中构建/运行良好,奇怪的是,即使尝试在手机上运行,​​它也会给我一个构建成功的消息,但随后会弹出错误消息。

显然我已经用谷歌搜索了这个问题,我在这里尝试了这个建议http://dhilipsiva.blogspot.co.uk/2012/07/xcode-could-not-launch-app-no-such-file.html但是我仍然遇到同样的问题。

我检查了一下,我的手机使用的是最新版本的 iOS(6.1.x),XCode 也针对最新版本的 iOS。

找不到其他原因造成的。我确实采用了一个原始的 xcode 项目并将它的名称更改为我现在的名称,也许它与此有关。

4

1 回答 1

0

Ok I seemed to have found the issue, it was this (found on here Xcode suddenly stopped running project on hardware: "Could not launch xxx.app: .. No such file..")

"I found out what it was - while adding device capabilities to the info.plist I had somehow added a new row but not given it a value. – Amino acids"

I had a "required device capabilities" with one item which was "gameKit" but for some reason that was causing it not to work. I've tested similar projects that required gamekit on the phone before and it worked fine. Unless I typed in gameKit incorrectly or something. Anyway that seems to be working.

于 2013-04-12T08:44:45.293 回答