当我将 Iphone Xcode 项目/文件传输到另一台 Mac 时,模拟器无法运行它?
我在 Xcode 中制作了一个项目,它是 Iphone 的逻辑游戏。
当我在自己的 Macbook 上运行该项目时,它运行得很好。
但是,当我将文件复制到闪存驱动器或通过电子邮件发送文件并尝试在另一台计算机上运行该项目时,该项目成功构建但无法运行(它显示黑屏,然后在几秒钟后它就会进入模拟器的“主屏幕”)。
可能是什么问题?我确保两台计算机的模拟器是相同的。 (4.2)
如果有帮助的话,我的项目有一堆 .xib 文件和很多 .png 文件。
I made a project in Xcode that is a logic game for the Iphone.
When I run the project on my own Macbook it runs perfectly fine.
However when I copy the files over to a flash drive or send the files in an e-mail and try to run the project on another computer, the project successfully builds but it doesn't run (it shows a black screen, then after a few seconds it goes to the 'home screen' of the simulator).
What could be the problem? I made sure the Simulator was the same for both computers. (4.2)
If it helps to know, my project has a bunch of .xib files, and a lot of .png files.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过“构建”->清洁、构建 ->清理所有目标并触及源文件?
如果这没有帮助,请尝试使用调试器,如已经建议的那样,在运行 -> 下找到调试器..
我会将其作为评论发布,但我还没有权利这样做。
Did you try Build -> Clean, Build -> Clean all targets and touching the source files?
If this doesn't help, try using the Debugger, as already suggested, found under Run -> Debugger..
I woudl post this as a comment, but I have no rights to do so yet.