Could not launch app (Verify the Developer App certificate) - ios

I have an issue sometime when I run the app in my iPhone with Xcode.
I tried to verify apps in Settings but it didn't work. "Unable to Verify "iPhone Developer: ..." Apps.
I am a Free developer but it normally runs and sometime during 1 hour I can't run anything on my iPhone.
I tried to delete the app and run, to download all profiles in Xcode Settings, same problem.
Do you have any idea to solve it ?
Thanks for your help.

I had to actually tap the app icon on the iPhone device to launch the app and only then did the iPhone prompt me to Trust the certificate.
I had nothing appropriate listed in Settings > General > Profiles (Settings > General > Device Management on later versions of iOS).

My wifi connection had proxy which blocked the verification in iPhone settings.
Switch to 3G/4G was the solution for me.

There are two solution for this:
A. Solution 1:
Run app on device. You should be able to alert ’Trust This Computer’?
Tap on Trust option
Enter device passcode
Open Settings app. Goto Device Management.
Here you’ll be able to see list of profiles used for installing apps on device. Select profile is used to run app on device.
Tap on Trust “Apple Development:…”
Again you’ll be able to see confirmation pop up alert. Tap on Trust.
Now you’ll see that App is verified for device.
B. Solution 2:
If your device is not connected to internet/wifi then Xcode shows “Verify the Developer App certificate for your account is trusted on your device…”. Connect your device to internet/wifi and try again.

Maybe you used provisioning profile is distribute not development, in my case, it is.
When I saw this in Xcode, but there is nothing needs to verify in Settings > General > Profiles, then I just click app on my phone to run it, and system showing a alert view to let me trust it, after TRUST IT, app run well. And after this, you can run app using Xcode, but Xcode will show "process launch failed: timed out waiting for app to launch" prompt.

"A network connection is required to verify." You have to have a valid internet connection (whether 3G/4G data or wifi) or else it won't verify. When it doesn't work for me it's always due to my router being jacked up.

Related

Device Management is missing in ios settings

I am trying to build my project in Xcode and its working great but at the end Im getting an alert saying :
Verify the Developer App certificate for your account is trusted on your device. Open Settings on Artium's iphone and navigate to General -> Device Management, then select your Developer App certificate to trust it.
and when Im going through the setting the Device Management option is missing.
Note that it happend after I deleted the project from my phone and rebuild it.
I checked through preferences and I am logged in to my profile in Xcode.
yup... I had exactly the same issue just now...
you can fix it by removing the profile from xcode.. just go to window -> devices -> right click on the device and click -> show provisioning profiles -> remove all profiles.
The profiles will be recreated again when you run the app again on your phone...
It worked for me (XCode 10) when I did the following 2 things:
I disconnected the iPhone, then went into Settings -> General -> Reset -> Reset Location & Privacy. Then I reconnected and clicked "Trust this device" on both the Mac and the iPhone (i.e. the popups that come up when the iPhone is reconnected).
Reinstalled the app I had originally manually deleted from the iPhone.
I ran into this same problem today. It appears to be an Apple bug that occurs when you manually delete all apps on your device attached to the same developer account.
An easy work around is to create a completely new Hello World app and deploy it to your device. When the "Developer App certificate" message pops up then you can proceed to settings and trust your account again and Viola! Your other apps will start working again.
what worked for me!
Disconnect your mobile from your mac and then visit
Settings -> General > Profiles & Device management
option is available for me. But when I connect mobile with Xcode for testing its not there
I saw it was there (Settings -> General) after I disconnected my iPhone from the computer. I didn't do anything!
I downloaded the profile using Firefox and it never worked. When I download using Safari, the option started showing up. It seems the phone is not scanning the Firefox downloads folder for profiles.
I am using iphone 8, it is running the ios version 14.2. I can install my react native ios app successfully, although the app will not open or launch after installation. my iphone device did not have the Profile and Device Management link under Settings.
I installed the profile patch from https://www.beta.apple.com/profile or you can follow this youtube video: https://www.youtube.com/watch?v=M0DwtJlP-AQ.
I then i connected the phone device again to the mac with my usb cable. building and running the app again from xcode 12, i faced the same issue.
However with my device connected and the app installed( although the app could not be launched ), i go to settings > General > Profile and Device Management is now visible and i can enable the trust setting. Go back and open the app the again and it will launch just fine.

iOS 9.2 missing Profile section from General Settings

I was trying to activate a developer app in iOS 9.2 and the app was not trusted due to security settings. I tried to go into the Profile area under General Settings, but it wasn't there. What gives? It was there this morning . . .
Apple renamed the Profile section to Device Management. It is still under General Settings and performs the same function.
This somewhat worked for me: Instead of looking in the device, go to XCode, Devices (Under Window), ctrl -click on the device and you should see a "Show Provisioning Profiles" menu item.
I had the same problem and I couldn't debug my apps anymore.
I used the Apple Configurator (https://itunes.apple.com/de/app/apple-configurator-2/id1037126344?mt=12) to delete all of my profiles on the iPhone. Afterwards I installed another signed app again and now I can debug again.
But I still can't see "Device Management" in Settings.
I was successful doing this when I accidentally went to Product>Profile once the build is finished head over to your phone then Settings>General> then the Device Management will instantly appear under VPN.
I am at iOS 12.1.2(16C101) and was trying to verify that the Developer App certificate for my account is trusted on my device. Found the option at
General -> Profiles & Device Management.
If "Device Management" doesn't appear you must restart your device to see it.
This worked on ios 9.

Testflight Profile Installation Failed, the SCEP server return an invalid response

One of my user is having trouble installing the TestFlight App (not Apple's TestFlight).
He encountered the error: "Profile Installation Failed, the SCEP server return an invalid response."
I advise him to follow the steps listed here:
http://help.testflightapp.com/customer/portal/articles/402816-registration-issues
He told me that he has no profile installed in his profiles and after following the steps, he still encounter the same error.
I at a lost as to what to do now and any advise will be appreciated.
I finally got my testers to get past this SCEP error. Hopefully this works for you too.
Workaround:
Open the iOS Settings app, select Safari then tap on "Clear History and Website Data"
Open the Safari app and go to testflightapp.com
Log into your TestFlight account
On the "Connect this device by installing profile" screen, tap the green button "Connect Device"
Tap "Install" on the "Install Profile" screen
If you have an unlock passcode on your device, you may be will be prompted to enter it
When the SCEP error comes up, tap "OK"
Tap "Cancel" on the "Install Profile" screen
You should then be redirected to TestFlight in Safari with the "Device successfully connected!" message
Ok follow these steps,
1 - Delete TestFlight Web Clip or icon from home screen.
2 - Delete TestFlight Profile
3 - Important (Go to Safari in settings and Clear History and Website Data)
Restart your device.
Login to https://testflightapp.com/m/login on Mobile Safari.
Tap Connect Device.
Hope this worked for you :D
Bye!
I just had the same issue. The Testflight-App from the AppStore won't install, saying iOS 8 is required (although we have other iPads with iOS 7.x running the app). The "invalid response"-error occured when logging into testflightapp.com on the device and trying to register it as proposed in testflightapp.com's Help section.
I solved this issue by clearing Safari's cookies and data (Settings -> Safari -> Clear Cache) and then restarting the device.
After going to testflightapp.com again, the device was already connected an everything worked. Hope that helps!
We just saw this yesterday. The issue was the firewall at work! I had the user turn off Wifi and just connect on the cellular network. It worked fine for her then. If the device is an iPod, just wait until you get home, hopefully your home wifi is different from your work wifi.
Looks like it's often caused by firewall rules.
Try using another wifi/cellular network.
https://twitter.com/testflightapp/status/389838663494156290
Sometimes I have selected to build the program under "iOS Device" instead of my actual "iPhone" device. When this has happened none of my users were able to download and this error shows up.
This is also a common issue when you didn't register his UDID correct on the provisioning profile on developer.apple.com. Double check your provisioning profile entry of his UDID and if it is incorrect change it to the correct one. Build, export and upload your app again and it should be fine.
This has happened to me twice. Good luck!

Xcode "Could not launch". Only reports "Security" as error

I've edited the app name out. Other than that the dialog is exactly like this.
I'm developing an enterprise app and I've tried restarting xcode and the iPhone I'm developing on.
No change. Anyone encountered this? Are there any log posts that could point me in the right direction or get me more details. There is nothing in the regular log from what I can see.
Update
Found this in the device log:
<Warning>: Unable to launch com.bundleID.etc because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.
Which is a bit weird since it worked yesterday and all profiles etc. were issued a week ago.
Apparently after upgrading the OS and such you must manually launch the app on the device and say that you trust the developer of the software.
That error message disappeared now.
Using xcode 7 with an iOS device running version 9.2, I had to:
Open 'Settings'
Tap 'General'
Tap 'Device Management'
Tap 'Developer App' that's in the list
Tap 'Trust (developer name)'
Tap 'Trust' in the popup
The app should load and launch when you run xcode.
I had the problem of not having the app on my device, so I couldn't manually launch it to accept the prompt. For me, I got this to work after deleting all expired provisioning profiles from my device, which forced Xcode to install a new one.
After this, I was able to get my app to run.
I just got this issue running on an iOS 8 device for the first time as it required me to launch manually on the device (it copies it fine but doesn't launch it) and then state that I trust the developer.
I had the same issue solved like this:
It can be happen because your developer profile is not assigned as TRUSTED in your phone or watchos settings.
You can set your profile as TRUSTED as below:
Go to Settings,
Profile
Assign your profile as Trusted there.
If you sign the app with Enterprise provisioning you will get this error. It will still install the app on your phone, but apparently you cannot debug an app signed this way. You must either sign the app with Developer provisioning or manually launch the app in the phone.
Choose Window->Devices.
Right click on the device in left column, choose "Show Provisioning Profiles".
Click on the provisioning profile in question.
Press the "-" button Continue to removing all affected profiles.
Re-install the app.
To fix the process launch failed: Security issue, tap the app icon on your iOS device after running the app via Xcode.
Be sure to tap the app icon while the Xcode alert is still shown. Otherwise the app will not run.
Run the app via Xcode. You will see the security alert below. Do not press OK.
On your iOS device, tap the newly installed app icon:
After tapping the icon, you should now see an alert asking you to "Trust" the Untrusted App Developer. After doing so the app will immediately run, unconnected to the Xcode debugger.
If you do not see this "Trust" alert, you likely pressed "OK" in Xcode too soon. Do not press "OK" on the Xcode alert until after trusting the developer.
Finally, go back and press "OK" on the Xcode alert. You will have to re-run the app to connect the running app on your iOS device to the Xcode debugger.
Happened to me when my iPhone was in offline mode. Giving it access to the Internet fixed the problem.
I had the same problem as above and resolved it by changing the code signing identity to iOS Developer
(I had tried all of the other steps above first)
I can now run the app in xcode and see debug output
My solution was, use Internet on your phone cause the app must verify the email, then build again, this time will show a popup in which you can press trust and now everything works fine.
Side note: I'am developing with Flutter

Device can't support development

My iDevice is connected to my computer and I've been testing my app builds on it. It's been working perfectly until just recently. I went onto my iPad and deleted a provisioning profile that wasn't being used and was generating warnings in Organizer. At this point, I decide to restart my device (reasons not related to development) and when the device finishes rebooting and is connected Organizer shows this message:
What does that "Could not support development" mean?
Do I need to restore my device?
I also tried this thinking that it had somehow disconnected:
At this point, Organizer asks for my login information (with my dev Apple ID and password) and tells me (after 5-6 tries) that my password and login weren't correct even though I can go online and login with those exact credentials.
Any ideas as to why this is happening?
Restart the phone, and Xcode, then reconnect your device and make sure you press the "Use For Development" button in the organizer. If the doesn't work, try removing then adding your device back.
Perfect! Restart iDevice and XCode.
If this not work, try to reset devices on developer.apple.com

Resources