Scene Kit View not showing in window

余生长醉 提交于 2019-12-14 02:39:57

问题


I am building a simulation app as a side project for a school paper I'm writing and I started building it as an iPad app initially, and only later realized I needed it on OSX.

I need some way for the user to input values and then I need a Scene Kit View to display my animation.

The problem I am encountering (I didn't have this when programming iOS) is that when I am adding a Scene Kit View in the storyboard (as a child of the main View in the only ViewController) it doesn't load. Everything is building just fine, but I get this Error message printed out right away: Failed to set (contentViewController) user defined inspected property on (NSWindow): *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (SCNView)

Note that I am using the Cocoa Application Template

I hope the above is understandable and would be grateful for any help

来源:https://stackoverflow.com/questions/35277516/scene-kit-view-not-showing-in-window

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!