English 中文(简体)
测试设备关闭iPad的 XCode 应用程序?
原标题:Testing XCode app on device shuts down iPad?

我试图测试一个我一直在研究的应用程序, 它在模拟器中完全运作良好。 但是当它建到iPad - - 并且它确实建好 - 它在应用程序主屏幕上闪烁一瞬间(它应该显示这一点), 但是屏幕立即变黑, 显示小旋转点装载图标, 然后在您连接到计算机时, 弹出它会做的闪烁声音。 当我调查时, iPad 在屏幕保护上( 滑动以打开屏幕 ) 。

iPad Sprofile and everything are fine - 一个新的应用程序测试非常完美。 我找不到任何明显的不一致之处。 有人知道发生了什么吗? 我真的对此感到沮丧。

问题回答

尝试用设备框架重新整合所有来源。 不使用模拟器框架 。 检查框架路径 : 必须定位到 iPhoneOS. pltaform, 而不是 iPhoneSimulator. platform 。

如果您使用其他的 libs *.a, 那么这个libs 必须是重编的, 不代表模拟器, 或获取 libs 用于设备 。





相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

Iphone NSTimer Issue

Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Xcode open two editor windows with same file

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...

Forcing code signing refresh in Xcode

In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...

热门标签