Xcode 11 sims not working

macOS 10.5 (19A487m)

Xcode 11.1 (11A1027)


Getting this every time I try and run:


```

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 = "xxx.yyy";

Error = RegistrationFailed;

"_LSFunction" = "-[_LSInstaller _doinstallApplication:atURL:withOptions:installType:notificationJournaller:reply:]";

"_LSLine" = 627;

}

```


Once sim loads just seeing a black screen with no app icons.


Then get a pop up with this:


Process: com.apple.migrationpluginwrapper [1324]

Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/DataMigration.framework/XPCServices/com.apple.migrationpluginwrapper.xpc/com.apple.migrationpluginwrapper

Identifier: com.apple.migrationpluginwrapper

Version: 1.0 (1)

Code Type: X86-64 (Native)

Parent Process: launchd_sim [1235]

Responsible: com.apple.migrationpluginwrapper [1324]

User ID: 501



Date/Time: 2019-09-24 23:35:22.067 +0100

OS Version: Mac OS X 10.15 (19A487m)

Report Version: 12

Anonymous UUID: 4831C8E5-AFC0-57CE-1995-C5687D03F9FD





Time Awake Since Boot: 970 seconds



System Integrity Protection: enabled



Crashed Thread: 2 Dispatch queue: com.apple.migrationpluginwrapper.plugin.MobileSafari.migrator



Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY



Application Specific Information:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:isDirectory:]: nil string parameter'

terminating with uncaught exception of type NSException

abort() called

CoreSimulator 681.5.4 - Device: iPhone 11 Pro Max (13CCE785-13D5-48B6-80F4-92DDE1D19670) - Runtime: iOS 13.1 (17A844) - DeviceType: iPhone 11 Pro Max

Did you restart the Mac after installing XCode ? But I read in the other thread you did it several times.


Are you using external libraries ? Is com.apple.migrationpluginwrapper your own or a third party one ?


As you have problems with apps, with sims, your should try to reinstall XCode.


Note: I suppose it is MacOS 10.15, not 10.5

Sorry for duplicate, I posted this yesterday and it disappeared. One can be deleted.


I removed Xcode and did a clean install from AppStore. Exactly the same issue still.


I can build and run on real device but not simulators. Same issue with missing UVKit.framework loading a SwiftUI project, no canvas and can't run on simulator.


Yes, sorry, MacOS 10.15.

If it works on device, that shows problem lies in simulators.


Did you try several models for iPhone simulator ?

Yeah its an issue with iOS 13 sims.


Was able to get some apps to install on a iOS 12.2 simulator.


Removed the iOS13 sims that i had installed and tried again but still no luck 😟


I notice that when the iOS 13 sims are booting, there is no apple logo above the progress bar. Is that new or is something missing?

So you mean that the sim are loading on the Mac, but do not load anything ?


You say;

Removed the iOS13 sims that i had installed


Did you install those sims yourself or was it part of the automatic installation (usually you get a message for installing additional components) ?

For me it was part of the automatic installation using the App store (install of Xcode).

I solved it by re-installing MacOS 10.15. I originally had the 10.15 Beta version installed. So make sure you run MacOS 10.15 (not Beta)

@letmejoinplz

Was yours 10.15 beta as well ?


It is noted in release notes that XCode and OSX must be "synced" if I dare say.

Xcode 11 sims not working
 
 
Q