TheBinaryhood
TheBinaryhood

Reputation: 231

Could not launch “<AppName>” after trying to build to device

I just upgraded to Xcode 4.4.1 and bought into the Apple Developer Program. I setup the Developer Provisioning profile and got all the proper credentials on my device. Then, when I try to run the app on the device it give the the "Could not lauch '' ". I have tried all the possible combinations of closing xcode, deleting the derived data, restoring the device, and restarting the computer. None of that seems to work. Is anyone else having this issue and how did you solve it when no one else's solution worked?

Upvotes: 1

Views: 873

Answers (2)

Almog C
Almog C

Reputation: 895

Try deleting "Required device capabilities" in the -Info.plist file.

You can't require armv7 on a 3G, and you can't require armv6 on any newer device, so just delete this attribute entirely.

Upvotes: 5

Daniel Gorelik
Daniel Gorelik

Reputation: 289

Is your device running iOS 6? You need the developer preview of Xcode 4.5 to run apps on devices with iOS 6.

Have you registered your app ID with Apple?

If you go to the Organizer (Window->Organizer), is the light next to your device green?

Upvotes: 0

Related Questions