Jarred Sumner
Jarred Sumner

Reputation: 1863

App builds & runs in iPhone Simulator, but doesn't deploy to iPhone

The app I'm working on builds & runs just fine in the iPhone Simulator, but, when I try to test it on an iPhone 4S, XCode says, "Finished running ..." immediately after I click "Run", and, when I look at the iPhone, there's no icon for the app at all. It's as though XCode doesn't detect that XCode isn't deploying the app to the device.

I've got a signed certificate, a developer profile, and a valid provisioning profile (XCode's Organizer says so). The provisioning profile is present on the iPhone.

I've tried restoring the iPhone, and I still get the same error.

How do I successfully deploy my app to the iPhone?

Edit:

It's deep in the comments of the below answer, but the problem was that I had a misspelled within Info.plist's required Required device capabilities section. I solved it by deleting that row.

Upvotes: 0

Views: 704

Answers (1)

Augie
Augie

Reputation: 1341

few things to check:

clean your build folders and rebuild. In Xcode project navigator, under products folder, is your app present?

open iTunes and try dragging this app into iTunes. Will it show up in iTunes or do you get an error? if it shows up, can you install it to iPhone via iTunes?

Is you iPhone iOS version and Xcode version and build settings all in sync? I know some version of Xcode 4.x have issues build and running apps on iOS 4.x.

Upvotes: 2

Related Questions