Failed to upload iPhoneAppName

While fiddling with some code in XCode a few minutes ago, I then decided to run it on my new device to see how it works. So I loaded the provisioning profile etc into my brand new iPhone and modified the configuration to run it on my device.

Then once I clicked on the “Build and Debug” button and instead of seeing my app on the device. I was confronted with a “Failed to upload YourAppNameHere” error in XCode. After regaining my senses, I rechecked my provisioning profile etc to make sure that everything was correct and it was. So a quick googling later. I discovered the cause of the issue.

Seems like XCode does not like you debugging on a device when 2 or more projects are open. So with this in mind, I closed XCode and opened the project that I wanted to test and voila, the app appears on the device.

If you encounter such an error, be sure to check that only the project that you want to debug on the device is opened.

This entry was posted in Uncategorized and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>