Reputation: 1427
I searched 5 hours solution, and I can't find it. Please help me. I uploaded my app yesterday to AppStore and I want to make an update. I made some changes in code and try to Run the new app with the Distribute scheme.
I got
Error Starting Executable "myApp"
Error launching remote program: failed to get the task for process 5047.
Solutions on forums are not working for me. What can I do?
Upvotes: 1
Views: 2621
Reputation: 5954
Werner's response eventually worked for me. I ran into this issue after making adjustments to my app for ad hoc distribution (Testflight).
I could also minimize the disruption between Testflight and on-device debugging by simply changing one setting back-and-forth. That is, during on-device testing:
For Testflight distros, I changed the identity back to a profile I carefully name 'Testflight'.
Another thing I found helpful was to use the application identifier as the name (without the dots) for the App ID in the Provisioning profile (to avoid confusion, that's developer.apple.com) . Then you can see the differences in xcode between the two standard profiles, the automated one from xcode, and the one you actually want to use right now.
Upvotes: 0
Reputation: 161
You need to follow these steps:
Upvotes: 6
Reputation: 859
Make sure you are not running the myApp with the distribution certificate because that will not work. Did you do a "Build - Clean" before testing ?
Upvotes: 10
Reputation: 12614
I'm forgetting the exact steps, but make a 'zip' of your release build binary and manually upload that to itunesconnect. Using the zip approach, just seems to eliminate a host of headaches, especially when trying to update the binary.
Upvotes: 0