could not locate device support files
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
could not locate device support files
I see that this topic was discussed in the past (more than a year ago) but nothing in those previous discussions seems to fix my problem.
I am running macOS High Sierra 10.13.6 LiveCode 9.0.2 Build 15152 and Xcode 10.0 (10A255)
Everything works until I try to install the App onto my iPhone 8 Plus running iOS 12.1.2
I get a message "Could not locate device support files. This iPhone 8 Plus is running iOS 12.1.2 which may not be supported by this version of Xcode."
LC 9.0.2 requires Xcode 10.0.
Am I missing something? I haven't done this for quite a while.
Thanks for the help.
Tom
I am running macOS High Sierra 10.13.6 LiveCode 9.0.2 Build 15152 and Xcode 10.0 (10A255)
Everything works until I try to install the App onto my iPhone 8 Plus running iOS 12.1.2
I get a message "Could not locate device support files. This iPhone 8 Plus is running iOS 12.1.2 which may not be supported by this version of Xcode."
LC 9.0.2 requires Xcode 10.0.
Am I missing something? I haven't done this for quite a while.
Thanks for the help.
Tom
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: could not locate device support files
Hello Tom,
If I remember correctly, I have seen this in the past, but it was just a warning. The app was installed correctly in the device. Is this still the case?
Kind regards,
Panos
--
If I remember correctly, I have seen this in the past, but it was just a warning. The app was installed correctly in the device. Is this still the case?
Kind regards,
Panos
--
Re: could not locate device support files
Hi Panos,
No the App doesn't install.
There is an answer box that pops up prior to getting this error that states "A valid provisioning profile for this executable was not found."
The app built fine. I have gone through the process of trying to get a new provisioning profile. I am missing something in that process but now I'm going through the LiveCode Lessons Vol 2 Pages 844 thru ~ 850.
One thing I noticed last night was that the "Test" button is grayed out.
If you can point me to better documentation to follow it would be helpful.
I've done this successfully before. I have even had 3 Apps on the Apple App Store but it has been a while.
Thanks
Tom
No the App doesn't install.
There is an answer box that pops up prior to getting this error that states "A valid provisioning profile for this executable was not found."
The app built fine. I have gone through the process of trying to get a new provisioning profile. I am missing something in that process but now I'm going through the LiveCode Lessons Vol 2 Pages 844 thru ~ 850.
One thing I noticed last night was that the "Test" button is grayed out.
If you can point me to better documentation to follow it would be helpful.
I've done this successfully before. I have even had 3 Apps on the Apple App Store but it has been a while.
Thanks
Tom
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: could not locate device support files
Hello Tom,
Could you post a screenshot of the iOS standalone settings?
Since the standalone is built successfully, but it fails to install with error "A valid provisioning profile for this executable was not found.", it means the app was signed with an incorrect provisioning profile (for example with an AppStore Distribution provisioning profile - this will not allow installing the app locally to your device)
Kind regards,
Panos
--
Could you post a screenshot of the iOS standalone settings?
Since the standalone is built successfully, but it fails to install with error "A valid provisioning profile for this executable was not found.", it means the app was signed with an incorrect provisioning profile (for example with an AppStore Distribution provisioning profile - this will not allow installing the app locally to your device)
Kind regards,
Panos
--
Re: could not locate device support files
Hi Panos,
I have 1 Apple Development Certificate expiring on July 23, 2019
I have 1 Key And I have 1 provisioning profile.
There are 2 devices and the one that I am using connects to the MacBook both with a cable and with the network.
Does my main stack need to be named like either the provisioning profile or the Development Certificate?
Here is a screenshot of my Standalone settings.
[/attachment] Thanks for the help,
Tom
I have 1 Apple Development Certificate expiring on July 23, 2019
I have 1 Key And I have 1 provisioning profile.
There are 2 devices and the one that I am using connects to the MacBook both with a cable and with the network.
Does my main stack need to be named like either the provisioning profile or the Development Certificate?
Here is a screenshot of my Standalone settings.
[/attachment] Thanks for the help,
Tom
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: could not locate device support files
Hello Tom,
You need to uncheck "beta version" from the iOS standalone settings. This option is incompatible with development provisioning profiles.
Please let us know if this fixes the problem.
Kind regards,
Panos
You need to uncheck "beta version" from the iOS standalone settings. This option is incompatible with development provisioning profiles.
Please let us know if this fixes the problem.
Kind regards,
Panos
Re: could not locate device support files
Hi Panos,
Thank You,
I had checked it because it didn't work without it being checked.
Just un checked Beta version and I get the same result.
Tom
Thank You,
I had checked it because it didn't work without it being checked.
Just un checked Beta version and I get the same result.
Tom
Re: could not locate device support files
Hi Panos,
I have switched to LC 9.0.3 RC 1 and Xcode 10.1. Running on MacBook Air Mac OS Mojave Ver 10.14.3.
The iPhone is iPhone 8 Plus iOS 12.1.4
Tom
I have switched to LC 9.0.3 RC 1 and Xcode 10.1. Running on MacBook Air Mac OS Mojave Ver 10.14.3.
The iPhone is iPhone 8 Plus iOS 12.1.4
Tom
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: could not locate device support files
Hello Tom,
Ok, interesting. BTW the "beta version" needs to be unchecked when you use a development provisioning profile.
Next things to check:
1. Could you provide a screenshot of the second ("Requirements") tab of the iOS standalone settings?
2. Is the device ID of this iPhone 8 Plus associated with this provisioning profile?
Best,
Panos
--
Ok, interesting. BTW the "beta version" needs to be unchecked when you use a development provisioning profile.
Next things to check:
1. Could you provide a screenshot of the second ("Requirements") tab of the iOS standalone settings?
2. Is the device ID of this iPhone 8 Plus associated with this provisioning profile?
Best,
Panos
--
Re: could not locate device support files
Hi Panos,
Here is the Screen shot.
The iPhone is one of 2 devices I have listed in my Devices. The 6s is not in use anymore.
Thanks Tom
Here is the Screen shot.
The iPhone is one of 2 devices I have listed in my Devices. The 6s is not in use anymore.
Thanks Tom
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: could not locate device support files
Hello Tom,
The iOS standalone settings look fine. RE the device ID, you need to check if it is included in the device IDs that this provisioning profile is associated with. So click on this provisioning profile, then click Edit, and see if this device is checked:
The iOS standalone settings look fine. RE the device ID, you need to check if it is included in the device IDs that this provisioning profile is associated with. So click on this provisioning profile, then click Edit, and see if this device is checked:
Re: could not locate device support files
Hi Panos,
I didn't see how to edit but here is a screenshot of the devices associated with the provision profile.
the second one is my 8+
Thanks,
Tom
I didn't see how to edit but here is a screenshot of the devices associated with the provision profile.
the second one is my 8+
Thanks,
Tom
- Attachments
-
- Screen Shot 2019-02-26 at 8.01.19 AM.png (21.61 KiB) Viewed 9452 times
Re: could not locate device support files
Hi Panos,
Do I need icons?
In the past when I tested on iPhone a generic icon was used for the app.
I just went into the icons section of settings and deleted the reference to some icon files that are no longer on my Mac.
i'm not sure when but the test button on LC turned from greyed out to black. I tried to test and the iPhone screen pops up but is not able to load.
Tom
Do I need icons?
In the past when I tested on iPhone a generic icon was used for the app.
I just went into the icons section of settings and deleted the reference to some icon files that are no longer on my Mac.
i'm not sure when but the test button on LC turned from greyed out to black. I tried to test and the iPhone screen pops up but is not able to load.
Tom
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: could not locate device support files
Hello Tom,
You do need icons if you submit the app to the AppStore. If you just want to test on your device, it is not necessary. A generic icon will be used instead.
RE the device IDs, where did you get the screenshot you attached? It does not look like it is from https://developer.apple.com/account/
If you want to edit your provisioning profile, you have to select it in https://developer.apple.com/account/ios/profile/ and click on the Edit button. After that, if you scroll down, you should see which devices are included in this provisioning profile. It is not necessary that all of your registered devices will be included in this provisioning profile. So if you try to install the standalone that was signed with this profile into a device that is not included in the profile devices, it will fail.
Now, RE the issue of the simulator not loading, try to open the simulator from Xcode first (launch Xcode and choose Xcode -> Open Developer Tool -> Simulator from Xcode's menubar). Then, when the simulator is up and running, return to LC, make sure the simulator is selected in Development -> Test target, and then click on the Test button.
BTW what is the output of the following command in the terminal?
Kind regards,
Panos
--
You do need icons if you submit the app to the AppStore. If you just want to test on your device, it is not necessary. A generic icon will be used instead.
RE the device IDs, where did you get the screenshot you attached? It does not look like it is from https://developer.apple.com/account/
If you want to edit your provisioning profile, you have to select it in https://developer.apple.com/account/ios/profile/ and click on the Edit button. After that, if you scroll down, you should see which devices are included in this provisioning profile. It is not necessary that all of your registered devices will be included in this provisioning profile. So if you try to install the standalone that was signed with this profile into a device that is not included in the profile devices, it will fail.
Now, RE the issue of the simulator not loading, try to open the simulator from Xcode first (launch Xcode and choose Xcode -> Open Developer Tool -> Simulator from Xcode's menubar). Then, when the simulator is up and running, return to LC, make sure the simulator is selected in Development -> Test target, and then click on the Test button.
BTW what is the output of the following command in the terminal?
Code: Select all
xcode-select -p
Panos
--
Re: could not locate device support files
Panos
The screenshot was from Finder on my Mac. Went to the library folder Mobile provisioning profiles. Scrolled down to the Devices.
How do I get to the terminal?
Tom
The screenshot was from Finder on my Mac. Went to the library folder Mobile provisioning profiles. Scrolled down to the Devices.
How do I get to the terminal?
Tom