Note that there are some explanatory texts on larger screens.

plurals
  1. POtesting app on device does nothing
    text
    copied!<p>I am trying to test an app on my iOS 4.2.1 device using XCode 4.2 and the latest iOS SDK. The application does not have any functionality that is specific to iOS 5.0. When I run on my devide it says "Build successful" and then "Finished running app on device", but nothing is installed on my device and the application never starts. While searching here, I've found several possible solutions, none of which have worked. Here's what I've tried.</p> <ul> <li>Resintalling all certificates and provisioning profiles</li> <li>Setting the deployment target to the same iOS version as my device (without this, testing on device was not even available).</li> <li>Set the "Debug" value on the Code Signing section of Build Phases to my developer certificate.</li> <li>Someone suggested to set "accelerometer" to YES in "Required device capabilities", only I can't find such a section anywhere in my .plist file or the Build Settings.</li> <li>ANother suggestion was to set target architecture to armv7 instead of having both armv7 and armv6. I tried with both, armv7 only and armv6 only. None worked.</li> <li>Deleted /Developer folder and reinstalled XCode.</li> <li>So far, the only "error" message I could find in the logs is this:</li> </ul> <blockquote> <p>Stream error occurred for : Error Domain=kCFErrorDomainCFNetwork Code=2 "The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.)" UserInfo=0x133cf0 {kCFGetAddrInfoFailureKey=8}</p> </blockquote> <p>Any help will be greatly appreciated.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload