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
Related
Just created fresh user account to test that issue.
In new account open Xcode 8.0
Start new project
In General settings pressed 'Add account' button (else it fails to run on a device)
When adding a team (I did not enroll into $99 Apple Developer Program) it shows these errors:
Communication with Apple failed The response data was not a valid plist.
No profiles for '...' were found Xcode couldn't find a provisioning profile matching '...'.
How to fix?
Maybe I’m doing it completely wrong. Is it possible to run the app on a device without enrolling into $99 program?
UPDATE:
Ok, I know now that I should be able to test my app on the device even without enrolling.
Moreover it was working fine before I’ve tested the app on few more devices (iPhones of my friends). After that it stop working on my iPhone
If you have a device and free developer account, that's enough to install and test your game...
Go to General Settings, and set your Team. I can see its already done.
To make sure you logged in to XCode, Go to Xcode-> Preferences->Accounts,
give your developer account login credentials
Connect device, it shows up after 3-5 seconds, select the device and run.
XCode prompts it can't find a valid provisioning profile with "FIX NOW" button, just press it and run again....
I create a new Certificate in iTunesConnect than click try again,It works.
I don't know why
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.
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!
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
I am a new iOS developer, and although I have been successful in provisioning a device for development in Xcode in the past, I just obtained a new device and am having an awful time getting Xcode to provision it and allow me to test applications on it.
When I connect the new device to Xcode, Xcode does recognize and identify the device correctly, however when I run the application I get the following error message: "A valid provisioning profile for this executable was not found."
According to the Apple documentation, I am supposed to first request a development certificate in Xcode using the following steps:
Choose Window > Organizer > Devices
Select Provisioning Profiles.
Click the Refresh button at the bottom of the window.
Enter your user name and password and click Log in.
After you sign in to your account, a prompt appears, asking whether Xcode should request your development certificate.
I have followed steps 1 - 4 repeatedly and each and every time Xcode crashes before I can get to step 5. I have tried completely closing xcode, detaching device, cleaning project, restarting computer, etc. Is there another way to request a development certificate outside of Xcode?
Ok so then the docs say I should provision the device (granted I assume this step is contingent upon the success of the previous step which I cannot achieve, but I tried it anyway) using the following steps:
Connect your device to your Mac.
Open the Devices organizer
select your iOS device.
Click the “Use for Development” button. The first time you add a device ID to your account, Xcode creates the iOS Team Provisioning Profile using the iOS Wildcard App ID, your development certificate, and the device ID. The iOS Team Provisioning Profile is also installed on your iOS device. If the device was used for development in the past, the “Use for Development” button may not appear. If this happens, click “Add to Portal” at the bottom of the screen instead.
So the "use for development" button does not appear (it appeared the first time I attempted this and hasn't since), so I clicked the "add to portal button". Every single time I do this, Xcode crashes.
I currently have the code signing identity set to iPhone Developer (my name). I have also tried setting it just to iPhone Developer and even Do Not Code Sign. I also went to the iOS dev center and added the device there (not sure if I needed to do that or not).
In any case, can anyone suggest anything I might be missing or any other approach?
While I was sleeping, Apple completely abolished the Portal and created a new and apparently largely broken interface. It's like a kind of evil April Fools joke. Anyway, if you go to https://developer.apple.com/account/ios/device/deviceList.action there's a great big sign telling you that you must "reset your device list before adding any new devices". That sounds like it covers exactly your case. Good luck.
I also went to the iOS dev center and added the device there (not sure if I needed to do that or not).
You need to add the device there.
Steps You need to follow after adding device:
Next re-download the mobile provisioning profile again.
Go to organizer and delete the old mobile provisioning profile you had.
Double click the new mobile provisioning profile you just downloaded and see that it appears on the organizer.
Connect your device and you should see your device's name instead of iOS device.
hope this helps.
If you are looking to bypass the 'Register a Device' portion of the Provisional Profile registration simply upload the 'sample .txt file' they provide you and upload it. You will then be allowed to click 'Next' to finish the registration so this way you do not have to enter a device UID.