Xcode 8.2.1 fails to load app to Simulator with error -102

Hi all,


I'm brand new to Xcode and app development so have been following Apple's Guide - Start Developing iOS Apps (Swift).


I've installed the latest version 8.2.1 (on Sierra 10.12) and followed the very basic steps to create a new Single View Application Project. When I get to the "Build and Run" stage the Simulator 'boots' successfully and the app builds successfully but I get the following error:


The operation couldn’t be completed. (LSApplicationWorkspaceErrorDomain error -102.)

The app doesn't appear in the Simulator.


Any ideas?


Thanks!

Update for anyone else who runs into this problem:


Hi all,


I've managed to sort out this problem. Basically I had moved my home folder including user Library to a FAT32 drive after adding a smallish SSD for MacOS and BootCamp a couple of years ago. I assumed permissions might be an issue so logged in as System Admin and sure enough everything worked fine with loading app to sim. System Admin user Library was also on the Mac formatted drive so not sure if the real problem is drive format or permissions.


Anyway, after some tidying up, and symbolic linking to keep some of the larger folders on the FAT32, I've moved my home folder back to it's rightful place on the OS drive and all appears to be working i.e. the new blank app loads on the simulator with no error.


Happy apping.

Xcode 8.2.1 fails to load app to Simulator with error -102
 
 
Q