I'm trying to get my App to work again on the simulator as well as on my device. Before I got this error, I went through an odyssee of XCode signing errors, but right know it seems like I'm really stuck.
The error:
When I try to launch the App on a device, it builds without any errors, but after installing the app I get the error message:
Could not launch "APP_X_Y" - 'A' packet returned an error: -1
Unfortunately I cannot use the Simulator either - it gets stuck at "Attaching to APP_X_Y". You can also take a look at the simulator problem over here - but there is no final solution out there.
What I've done so far:
After different XCode Errors I went through the following Stackoverflow questions, each helping me out with to get to the next level.
- Xcode: failed to get the task for process
- Profile bug (Error launching remote program: failed to get the task for process XXX.)
- Code Sign error: Provisioning profile can't be found
- Provisioning Profile "Team" is "Unknown"
In the last step, however I think things got really screwed up: XCode wasn't able to find the provisioning profile anymore, that's why I've deleted my provisioning profile string in my project file, like it is recommended over here: Codesign error: Provisioning profile cannot be found after deleting expired profile
Know I'm struggling with the packet returned -1 error and I cannot find any input out here. Has anyone an idea how to get this to work again?