Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iPhone has denied the launch request. Internal launch error: process launch failed: failed to get the task for process 7661 #3124

Closed
Luckygirlllll opened this issue Apr 18, 2019 · 8 comments

Comments

@Luckygirlllll
Copy link

Luckygirlllll commented Apr 18, 2019

Describe the bug
I was making settings for AWS Pinpoint IOS, when I'm trying to run the app on my real device, I got an error: "iPhone has denied the launch request.
Internal launch error: process launch failed: failed to get the task for process 7661'

To Reproduce
Steps to reproduce the behavior:

  1. Follow official guide for setting up Push Notification AWS Pinpoint,
  2. Uncheck automatically manage signing
  3. Import provisioning profile

Expected behavior
App runs on the phone

Desktop (please complete the following information):

  • OS: IOS

Smartphone (please complete the following information):

  • Device: Iphone
  • OS: IOS

Additional context
When I was using "Automatically manage signing" I was able to install an app on the phone, however, I was not able to receive any push notification from AWS Pinpoint in that case, I'm not sure whether or not "manual signing" is required or not.

@Luckygirlllll
Copy link
Author

This problem was solved by going in Xcode to Product -> Scheme -> Edit Scheme -> change Executable to Ask on Launch

@haverchuck
Copy link
Contributor

@Luckygirlllll It sounds like this issue was solved, so I am closing the ticket.

@feudadrien
Copy link

This problem was solved for me by going in Xcode to Runner -> Signing & Capabilities -> Signing (Debug) -> Check "Automatically Manage Signing" +Add Team

@RicardoBarroso
Copy link

RicardoBarroso commented Dec 20, 2019

For me the problem was solved following the @Luckygirlllll suggestion but selecting an option with a different description (probably it was updated on the meanwhile):

Product -> Scheme -> Edit Scheme -> Wait for executable to be launched

@TunvirRahman
Copy link

For me it was signing issue. I was trying to build in device with production provisioning profile.

@RicardoBarroso
Copy link

RicardoBarroso commented May 15, 2020

Despite my last answer which did work for a previous app now I've seen that on a new one the solution was to check Automatically Manage Signing.

Be aware that if your build scheme is using Debug or Release the corresponding signing provisioning profile on Build Settings also must be set to Automatic.

@RicardoBarroso
Copy link

RicardoBarroso commented Oct 27, 2020

I stumbled again on this issue and now I was able to solve it despite NOT using Automatically Manage Signing.

You only need to go to Product -> Scheme -> Edit Scheme and uncheck Debug executable on your build scheme:

Screenshot 2020-10-27 at 23 04 57

@github-actions
Copy link

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants