问题
Recently installed Godot. Now Xcode will not preview .scn files. I can't change the type back to SceneKit as it isn't available in the dropdown list.
回答1:
try this:
- Open finder and locate any file with the .scn extension.
- Click on Get Info
- Navigate to the session Open with:
- Select Xcode from the list and click in change all
Hope it helps.
回答2:
You can also right-click on the .scn file in Xcode's Project navigator and select Open As
→ SceneKit Document
回答3:
Other answers did not work for me. However @tjgrant's comment worked.
I had to uninstall Godot from mac. And remove it from Trash as well. I know this is not ideal solution, but for those who are not working on SceneKit files and Godot simultaneously this is the easiest solution.
I plan to install Godot later when I am done with SceneKit work.
来源:https://stackoverflow.com/questions/55708967/godot-took-over-scn-files-in-xcode