             parser.shouldResolveExternalEntities = false
             
             if !parser.parse() {
-                fatalError("Error parsing data, error: \(parser.parserError)")
+                fatalError("Error parsing data, error: \(String(describing: parser.parserError))")
             }
             
         } catch let error as NSError {

                object.visible = false
            }
        }
        
        // print("Object: \(object.name) - pos: \(object.position) - size: \(object.size)")
        
        // Add the object to the object group
        group.objects.append(object)

                parseCSVEncodedTileDataString()
            }
            
        case .layer, .map, .object, .objectGroup, .imageLayer:
            parsingElement = .none
            
        default:
