When I try to run my iOS app in the simulator, I get this error: Unable to lookup service com.apple.CoreSimulator.host_support: 0x3
The app runs just fine when I deploy to my phone.
I am on macOS 10.12.2, Xcode 8.2.1, Simulator 10.0
I have already tried restarting Xcode, cleaning and cleaning the build directory. It does not just happen with one particular project.
Thanks for any help you can provide!
Related
I have recently installed Xcode 6 beta in OS X Mavericks, with which comes the iOS simulator for iOS 8.
using this new Xcode I have create one new project and run it on simulator with iOS 8, but when opening the simulator, it always get the error
Unable to boot the iOS Simulator
So, pls tell me how to solve this error?
Quit both the simulator and Xcode. If that doesn't fix it, reboot your Mac.
Welcome to the world of beta builds!
Be sure you "select" your new Xcode version before launching / downloading updates.
sudo xcode-select -switch /Applications/Xcode6-Beta6.app/Contents/Developer/
If you're already seeing Simulator troubles, try rebooting too.
Make sure that you load X-Code 6 and not 5.
Run your project.
If fails to load, try clicking on the menu at the top on the iOS Simulator button and reset the device. Resetting the device seems to do the trick for me.
Also, make sure you are on the laatst x-code version
I'm getting a weird bug on Xcode 4.5. When i tried to run my application on Ipad 2 from xcode with iOS 6, I'm getting this error.
I done the following methods to run the application, but no luck.
Cleaned the project and run
Restarted the device
Restarted xcode
I have a valid certificate in my machine and the application is installing on the device but it's not launching automatically. What could be the issue ?
Thanks in advance
That is really annoying. This error happens in a number of different situations. Sometimes restarting the Xcode, fixes the problem. If not, follow these steps:
Disconnect your device.
Delete the app from your device.
Quit Xcode (Do not just simply close the window, quit it)
Delete derived data folder (~/Library/Developer/Xcode/DerivedData/-gbrvhlvwmpiobxdujegtghggrffp - or something like that)
Now start Xcode once again, connect device and run the project. It should work fine.
from DhilipSiva blog
I recently upgraded my XCode 4.2 to utilize the iOS 6 SDK (Mac is too old to install Lion and XCode 4.5) following these instructions here:
Is it possible to get the iOS 5.1 SDK for Xcode 4.2 on Snow Leopard?
Everything seems to work fine (i.e. creating builds to upload to the app store with iOS 6 as the base SDK, generating builds for the customer to test, able to detect devices with iOS 6 installed).
Unfortunately, though, I get the following error when I try and run on my iPhone 4 (iOS 6) in debug mode, after attempting to switch between my simple viewControllers:
Error Starting Executable “AppName" - Error launching remote program: failed to get the task for process 453.
The process number above seems to be constantly different whenever I give it a shot. Also, the app works fine on the iOS 5 simulator or if I stop debug mode and open up the version that gets installed on my device.
Anyone have any insight into how I can solve this issue for running debug mode on my device?
Thanks in Advance!
Everytime I run my application in Xcode 4.2 with iOs 5, Xcode says it finished running on my device but actually it doesn't build there, it just finished running. But when I run my application in Xcode 4.1 it runs in my device. by the way, my device is an ipod Touch 2nd gen with an iOs version of 4.2.1. Can anyone suggest what must be causing the problem? thanks
In your project target -> build settings
In the field "Architectures", add "armv6" and you should able to build and run the app with armv6 device s
I've updated for xcode 3.2.5 and iOS 4.2 but now everytime I deploy to device (ipod touch 2nd generation with iOS 4.1 installed) it crashes the ipod and forces it to restart.
then it restarts the device and I can go open the application regularly through its icon.
but the real pain here is that everytime I deploy to the device I have to wait for it to crash, restart the device which takes ages and them open the app by clicking on its icon.
I've already changed the target sdk to be less or equal then 3.0, hence the app working after a restart as it should.
Anyone could help me with the reason for crashing the device?
Thanks in advance
There are plenty of issues with Jailbroken devices at 4.2.1; from Xcode not collecting the Symbols for 4.2.1 from the device, to issues with dylib's loading at debug time. Many debugging facilities won't run on a jailbroken device either. Check to see if you've booted in tethered mode in redsn0w, develop on a different device temporarily, or downgrade to 4.1/4.0.1.