device.newDefaultLibrary() returns nil

天涯浪子 提交于 2020-01-07 06:25:07

问题


After I installed XCode 6 GM, application, compiled by it started to return nil at Metal Framework device.newDefaultLibrary() call. What's the problem?


回答1:


Update your device to iOS 8 GM and it will stop failing.




回答2:


Try use - (nullable id )newDefaultLibraryWithBundle:(NSBundle *)bundle error:(__autoreleasing NSError **)error



来源:https://stackoverflow.com/questions/25757157/device-newdefaultlibrary-returns-nil

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