invalid redeclaration in auto code generate NSManagedObject Subclass Swift 3 : <p>Using Version 8.1 of Xcode.</p>

<p>Create an entity named "MapRegionObject" in .xcdatamodeld file.<a href="https://i.stack.imgur.com/iAwn7.png"><img src="https://i.stack.imgur.com/iAwn7.png" alt="enter image description here"></a></p>

<p>Using auto code generator, click Editor on the navigation bar -> create NSManagedOject Subclass... </p>

<p>Got two files : MapRegionObject+CoreDataClass.swift and MapRegionObject+CoreDataProperties</p>

<p>Errors in two files showing in the screenshot:
MapRegionObject+CoreDataClass.swift
<a href="https://i.stack.imgur.com/M7VPp.png"><img src="https://i.stack.imgur.com/M7VPp.png" alt="enter image description here"></a></p>

<p>MapRegionObject+CoreDataProperties
<a href="https://i.stack.imgur.com/80t6Z.png"><img src="https://i.stack.imgur.com/80t6Z.png" alt="enter image description here"></a></p>

<p>Please help me fix this bugs, thank you so much!</p>
