Unable to start the simulator
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Unable to start the simulator
When I try to test an iOS app with the simulator, Livecode answer this :
"Unable to start the Simulator : Failed to install the requested app"
Has anyone ever seen this error message ?
I'm using LC 9,0,5 and Xcode 10,1. I don' t find solution to solve this error ... .
Thanks
Seb
"Unable to start the Simulator : Failed to install the requested app"
Has anyone ever seen this error message ?
I'm using LC 9,0,5 and Xcode 10,1. I don' t find solution to solve this error ... .
Thanks
Seb
Re: Unable to start the simulator
Run the iOs emulator from within Xcode. Start Xcode---> run emulator
Then hit the test button again.
The it will work.
I had the same error as you, it seems it does not start the emulator from LC
Then hit the test button again.
The it will work.
I had the same error as you, it seems it does not start the emulator from LC
Re: Unable to start the simulator
thanks you for the reply.
It still not working with the same error. I tried launching the simulator within Xcode with the same result. Before, I opened the simulator directly in the package of Xcode (contents > developer > Applications > Simulator) and the test with LC worked well. I have recently change my Mac and now I have this error "Unable to start the Simulator : Failed to install the requested app".
(sorry for my English)
It still not working with the same error. I tried launching the simulator within Xcode with the same result. Before, I opened the simulator directly in the package of Xcode (contents > developer > Applications > Simulator) and the test with LC worked well. I have recently change my Mac and now I have this error "Unable to start the Simulator : Failed to install the requested app".
(sorry for my English)
Re: Unable to start the simulator
Indeed your english is fine.
Check in lc settings for mobile phone if xcode is found. Then check the version of xcode. The last version of xcode is not yet supported, but will be in the next lc as far as i know.
Check in lc settings for mobile phone if xcode is found. Then check the version of xcode. The last version of xcode is not yet supported, but will be in the next lc as far as i know.
Re: Unable to start the simulator
Settings in livecode are ok, I have Xcode 10,1 linked and the icon is green. The release notes of LC 9,0,5 specify the compatibility with Xcode 10,1.
It is possible that the problem is about an error with the internal app ID and Profile (stand-alone settings) ?
Tomorrow I will try to do again this [how-to-create-a-free-ios-development-provisioning-profile/]configuration[/url] with Xcode
Thanks again for your help
Seb
PS off topic : is not possible to add a link in this message ? I tried to add an url (lessons of LC) but I can’t. The same thing if I want to write the number of a version including points (I have to replace them with coma in this message)
It is possible that the problem is about an error with the internal app ID and Profile (stand-alone settings) ?
Tomorrow I will try to do again this [how-to-create-a-free-ios-development-provisioning-profile/]configuration[/url] with Xcode
Thanks again for your help
Seb
PS off topic : is not possible to add a link in this message ? I tried to add an url (lessons of LC) but I can’t. The same thing if I want to write the number of a version including points (I have to replace them with coma in this message)
Re: Unable to start the simulator
PS on topic (or at least a popular question), yes it is possible to add a url, however you need a post count of 10 first. You have 7 to go (as of this post)
Re: Unable to start the simulator
Oh! Ok, sorry . I think it’s very possible that I continue to post in this forum, seem very helpful... and I’m a beginner with LC!
Re: Unable to start the simulator
i'm not 100% sure, but it could be the cause indeed that it is not installing due to a wrong provisioning profile.Tomorrow I will try to do again this [how-to-create-a-free-ios-development-provisioning-profile/]configuration[/url] with Xcode
But if you already had one before, then it might be enough to repair/restore it when opening the project in Xcode(if you had one already made for that app on your previous system as you wrote), else do the lesson to refresh it
Re: Unable to start the simulator
We hope you enjoy our little place here
I would add that, without exception, everyone was once a beginner in Lc (although several had a HUGE jumpstart having used Hc and Mc), so your in good company, and no apologies are necessary
I would add that, without exception, everyone was once a beginner in Lc (although several had a HUGE jumpstart having used Hc and Mc), so your in good company, and no apologies are necessary
Re: Unable to start the simulator
Hello,
I tried to reconfigure all the settings of Xcode and I can install an app in a physical device now. The simulator still not working with the same error but at least I can test an app in iOS again !
Thanks for yours replies.
If I find a solution for the simulator (I hope), I will say it here.
I tried to reconfigure all the settings of Xcode and I can install an app in a physical device now. The simulator still not working with the same error but at least I can test an app in iOS again !
Thanks for yours replies.
If I find a solution for the simulator (I hope), I will say it here.
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Unable to start the simulator
Hello babas66,
Did you ever install Xcode 11.x? If yes, then I think I know where the problem is. I had the same problem and spent a lot of time trying to figure out the cause, as the error message from the simulator is not informative at all. So, short description of the problem:
By installing xcode11.x and its additional components, a couple of new subfolders were created in /Library/Developer/* folder. These new files contain the new CoreSimulator framework (of xcode11.x), which includes some changes. One of these is that it no longer allows installing apps to the simulator that do not include a particular key in the plist. Even if you uninstall Xcode 11 and install Xcode 10.1, this file is not replaced by Xcode10.1's equivalent (because the one from Xcode11 is newer, so it does not allow older ones to overwrite it).
Solution:
1. Open Finder, and choose (from Finder's menubar) Go -> Go to Folder and enter /Library/Developer/
2. Delete the /Library/Developer/ folder (or rename it to /Library/XCode11_Developer/)
3. In the terminal, type sudo xcode-select --install and press enter. This will show a dialog asking the user to agree to xcode's terms and conditions and then to install the additional components. Click "I agree" and then "Yes install them"
4. This will create a new folder /Library/Developer/, which will contain the correct additional components (i.e. including the CoreSimulator framework) from Xcode 10.1
5. Now type in the the Terminal sudo xcode-select -s <path_to_xcode10.1.app>
This will hopefully work. Then, make sure you follow the instructions from the previous posts (i.e. to launch the simulator first and then click "Test" in LC)
Kind regards,
Panos
--
Did you ever install Xcode 11.x? If yes, then I think I know where the problem is. I had the same problem and spent a lot of time trying to figure out the cause, as the error message from the simulator is not informative at all. So, short description of the problem:
By installing xcode11.x and its additional components, a couple of new subfolders were created in /Library/Developer/* folder. These new files contain the new CoreSimulator framework (of xcode11.x), which includes some changes. One of these is that it no longer allows installing apps to the simulator that do not include a particular key in the plist. Even if you uninstall Xcode 11 and install Xcode 10.1, this file is not replaced by Xcode10.1's equivalent (because the one from Xcode11 is newer, so it does not allow older ones to overwrite it).
Solution:
1. Open Finder, and choose (from Finder's menubar) Go -> Go to Folder and enter /Library/Developer/
2. Delete the /Library/Developer/ folder (or rename it to /Library/XCode11_Developer/)
3. In the terminal, type sudo xcode-select --install and press enter. This will show a dialog asking the user to agree to xcode's terms and conditions and then to install the additional components. Click "I agree" and then "Yes install them"
4. This will create a new folder /Library/Developer/, which will contain the correct additional components (i.e. including the CoreSimulator framework) from Xcode 10.1
5. Now type in the the Terminal sudo xcode-select -s <path_to_xcode10.1.app>
This will hopefully work. Then, make sure you follow the instructions from the previous posts (i.e. to launch the simulator first and then click "Test" in LC)
Kind regards,
Panos
--
Re: Unable to start the simulator
Hello Panos,
thanks you very much for your reply and the description of the problem.
It's work well now !
Effectively, i'have install Xcode 11.x and Xcode 10.1. Your solution to delete worked but it was impossible to launch a device in the simulator with Xcode 10.1, I have reinstall completely 10.1 and the simulator work fine with livecode now.
regards,
Seb
thanks you very much for your reply and the description of the problem.
It's work well now !
Effectively, i'have install Xcode 11.x and Xcode 10.1. Your solution to delete worked but it was impossible to launch a device in the simulator with Xcode 10.1, I have reinstall completely 10.1 and the simulator work fine with livecode now.
regards,
Seb
-
- Posts: 349
- Joined: Tue Oct 28, 2008 1:23 am
- Contact:
Re: Unable to start the simulator
I had this same problem trying to get the simulator working after my Mac rebooted due to a power issue. I was able to solve it by FIRST, launching Xcode and the simulator, THEN launching LC 9.6.0 (in that order).
Greg
Greg