Reputation: 30481
You may have seen a question on the cause of this error before:
iPhone has denied the launch request.
The error occurs for any Xcode
project, so the problem is not related to the project itself.
This is different, and I do not want to use some workaround.
I went in my Keychain
as it has been a year since I signed up for my Provisional Developer Certificate, which has now expired, so I deleted it:
Quitting Xcode and removing Signing
temporarily did not work still.
I then tried to renew the certificate by going to this link on the Apple Developer website, but I got an error:
When I click on some pages on the website, I normally have to log in again, but I didn't need to but got the error above.
I am aware that I need a new certificate, even though it still shows I have an iPhone certificate:
What am I able to do so I can launch my project?
Here are my Signing
settings:
The Temporary Solution is to disable Debug Executable
. However, this means that you cannot get debug logs, which is very important.
Upvotes: 2
Views: 1763
Reputation: 136
I was experiencing this issue for the past week, and today it seems Apple has resolved it.
The .mobileprovision file now has the get-task-allow
property set to true
, and it's working for me again. I performed the following steps, and everything now seems back to normal:
Automatically manage signing
option in the General
tab of target settingsAutomatically manage signing
I don't need to utilize any of the workarounds that have been floating around. Debug executable
is on in my scheme and Ask on Launch
is not selected.
Upvotes: 2
Reputation: 13577
I have faced the same issue earlier.
You can fix an issue by enabling two-factor authentication if you are the independent developer.
Enrolling as an Individual
If you are an individual or sole proprietor/single person business, get started by signing in with your Apple ID with two-factor authentication turned on. You’ll need to provide basic personal information, including your legal name and address.
Enrolling as an Organization
If you’re enrolling your organization, you’ll need an Apple ID with two-factor authentication turned on, as well as the following to get started: A D-U-N-S® Number
Your organization must have a D-U-N-S Number so that we can verify your organization’s identity and legal entity status. These unique nine-digit numbers are assigned by Dun & Bradstreet and are widely used as standard business identifiers. You can check to see if your organization already has a D-U-N-S Number and request one if necessary. They are free in most jurisdictions. Learn more Legal Entity Status
Your organization must be a legal entity so that it can enter into contracts with Apple. We do not accept DBAs, fictitious businesses, trade names, or branches. Legal Binding Authority
As the person enrolling your organization in the Apple Developer Program, you must have the legal authority to bind your organization to legal agreements. You must be the organization’s owner/founder, executive team member, senior project lead, or have legal authority granted to you by a senior employee. A Website
Your organization’s website must be publicly available and the domain name must be associated with your organization.
Reference: https://developer.apple.com/programs/enroll/
You can start enrollment by using the below reference: Start Your Enrollment if pending
After complete enrollment process successfully then download new certificate if required or go with automatically manage signing.
Thanks
Upvotes: 0
Reputation: 1548
It may be code sign issue. Make sure you're signing with developer, not distribution. still if it does not works, still there are two solutions.
Solution 1: open System Prefrences -> Users & Groups -> Add a user account (build with new user is successfully
Solution 2: open Keychain Access -> choose System, All Items -> delete certificate Apple Worldwide Developer Relations Certification Authority
Upvotes: 0