Xcode 11. Unable to install app in the simulator - xcode

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

Related

Can't install watch simulator in 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

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.

Error after Xcode 6.3 update

I am getting the following errror after I updated Xcode to 6.3. I cannot run the apps on simulator or on device. I didn't update the OS. Do I need to update the OS to 10.10.3 to get Xcode working?
The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)

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

Xcode 4.4.1 does not work properly under OSX Mavericks

examples:
Organizer shows for iOS 3.1.3 'The digest is missing' key
It can crash with next crash data:
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Extension Xcode.Device.iPhone class 'DVTiPhoneLocator' not found for required key 'locatorclass'
For me it happens after run Xcode 6 beta which install incompatible "MobileDevice.framework" on first launch.
so solution:
disconnect any iOS devices, close iTunes, close XCode
sudo rm -rf /System/Library/PrivateFrameworks/MobileDevice.framework
start Xcode 5.1.1 - It will install compatible MobileDevice.framework

Resources