Can't install watch simulator in Xcode - xcode

I am trying to install the watch simulator in Xcode but I keep getting this error:
Details
Registering simulator runtime with CoreSimulator failed.
Domain: DVTDownloadableErrors
Code: 29
User Info: {
DVTErrorCreationDateKey = "2022-11-01 16:19:17 +0000";
}
--
The service used to manage runtime disk images (simdiskimaged) crashed or is not responding
Domain: com.apple.CoreSimulator.SimError
Code: 410
--
System Information
macOS Version 12.6 (Build 21G115)
Xcode 14.0.1 (21336) (Build 14A400)
Timestamp: 2022-11-01T16:19:17Z
How do I fix this error?

This solved it for me:
Delete Xcode
Delete ~/Library/Developer folder
Restart Mac
Install Xcode

Related

New flutter project couldn't build on mac os intel chip

New Flutter project cant build succefully in Mac mini intel chip
Output :
Launching lib/main.dart on iPhone 14 Pro Max in debug mode...
lib/main.dart:1
Xcode build done. 17.2s
Failed to build iOS app
Error (Xcode): ../../flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:9:8: Error: Error when reading '../../.pub-cache/hosted/pub.dev/vector_math-2.1.4/lib/vector_math_64.dart': Permission denied
../…/material/bottom_navigation_bar.dart:9
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.
Exited```
`flutter doctor` seems to be fine
I tried delete SDK and create new one but didnt work, i hope someone can help.
Try running flutter clean then flutter create . in the root directory. This should reset the plugins. Also, check if there is any outdated plugins in your pubspec.yaml file.

Xcode 12.3: Failed to re-create a coordinator for com.me.myapp

I'm getting the following message while trying to launch simulator
Details
Failed to re-create a coordinator for com.me.myapp.
Domain: IXErrorDomain
Code: 29
Failure Reason: Coordinator already exists.
User Info: {
FunctionName = "+[IXAppInstallCoordinator(IXSimpleInstaller) _beginInstallForURL:consumeSource:options:completion:]_block_invoke";
SourceFileLine = 313;
}
--
System Information
macOS Version 10.15.5 (Build 19F101)
Xcode 12.3 (17715) (Build 12C33)
Timestamp: 2021-01-25T15:50:20+01:00
I also found that it works Ok if i launch it on another device simulator (lets say iphone 11 pro instead of 12 pro) but i'd like to fix this somehow.
What i had already tried:
cmd+shift+K
rebooting mac
quitting xcode
Xcode: Version 12.3 (12C33)
any ideas on how to get it fixed would be appreciated
On simulador menu:
Device -> Erase all Content and Settings...
I solved it by uninstalling the app from the simulator and running it again.
Found the solution:
xcrun simctl erase all
Hope it helps someone facing the same problem.

Xamarin error ios Simulator HE0046: Failed to install the app ... Failed to install the requested application

I changed name of my VS 2019 project running on Mac (from PrismApp1 to something else) and now I can't run on iOS simulator. Tried to run on different simulator phone too. I searched for PrismApp1 in folder and on machine can't find anything... delete bin and obj folders and did a Build All. any ideas?
error HE0046: Failed to install the app 'com.companyname.PrismApp1' on the device 'iOS 13.2 (17B102) - iPhone 11 Pro': Failed to install the requested application
Note: it works if i deploy to my physical iPhone...
I had a similar issue with iPhone 13 emulator and iOS 15, where I couldn't deploy my app on the simulator, but it worked on a real device.
The error I was getting was:
error HE0046: Failed to install the app 'ma.myapp.app' on the device 'iOS 15.0 (19A339) - iPhone 13 mini': “Myapp” Needs To Be Updated
This is how I solved the issue.
I had this weird error after app was successfully compiled and it was simply due to a null variable involved in a plist command executed post build.
Just try to close and reopen VS, it worked for me.

Xcode 11. Unable to install app in the simulator

In Xcode 11.1 (11A1027) I unable to install the app in the simulator with iOS 13.1 (17A844).
I tried to reinstall the Xcode and reset a content of the simulator without no luck.
The error code I get is the following:
Details
This app could not be installed at this time.
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Could not install at this time.
--
The operation couldn’t be completed. (LSApplicationWorkspaceErrorDomain error -102.)
Domain: LSApplicationWorkspaceErrorDomain
Code: -102
User Info: {
CFBundleIdentifier = "com.home.test";
Error = RegistrationFailed;
"_LSFunction" = "-[_LSInstaller _doinstallApplication:atURL:withOptions:installType:notificationJournaller:reply:]";
"_LSLine" = 627;
}
--
Also the springboard of the simulator is empty which is also strange:
iOS 13 Simulator has no apps installed
Confirmed. It worked for me in the official release of Xcode 11.1

Unable to run app in Simulator Xcode 6.1

I'm getting an error message while trying to run an application developed in Xcode 5.1 iOS 7.1 on Xcode 6.1 for iOS 8.0. The error state that 'Unable to run app in Simulator' as show in below screenshot.
I have tried below mentioned solution but none seems to work :
Reset the content of simulator
Rebooted mac after installing Xcode 6.1.
Xcode -> Preference -> Locations -> Command Line Tools : Changed
Xcode 5.1.1 to 6.1
What might be fix?
Delete /etc/launchd.conf if it exists on your system and reboot. See Unable to boot iOS 8 Simulator

Resources