     //----------------------------------------------------------------------------
     class func activeSimulators() -> [Simulator]
     {
-        let simulatorPaths = self.simulatorPaths()
-        var simulators = [AnyHashable]()
-    
-        for path in simulatorPaths
-        {
-            let simulatorDetailsPath = path + ("device.plist")
-            let properties = NSDictionary(contentsOfFile: simulatorDetailsPath)
-            if properties == nil
+        let paths = self.simulatorPaths()
+        var simulators = [Simulator]()
+    
+        for path in paths
+        {
+            let properties = NSDictionary(contentsOfFile: path + "device.plist")
+
+            // skip "empty" properties
+            guard properties != nil else
             {
                 continue
             }
             
-            // skip "empty" properties
             let simulator = Simulator(dictionary: properties as? [AnyHashable: Any], path: path)!
+            
             simulators.append(simulator)
         }
-        return simulators as! [Simulator]
+        return simulators
     }
 
     //----------------------------------------------------------------------------

                }
            }
        }
        return userApplications as? [Application]
    }

    //----------------------------------------------------------------------------

    {
        let installedApplicationsDataPath = (simulator?.path)! + ("data/Containers/Data/Application/")
        let installedApplications = Tools.getSortedFiles(fromFolder: installedApplicationsDataPath)
        var userApplications = [Application]()
        
        for app in installedApplications
        {
