Xcode常见问题

1.Warning: Attempt to present on whose view is not in the window hierarchy!(父View还没有显示出来)

不要再某个viewController的viewDidLoad方法中去呈现其他的viewController,你如果想要的是XXviewController显示之后马上呈现YY的话,可以在viewDidAppear中试试。

2.插件安装位置

1.位置

cd ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/

2.删除

    rm -r Rayrolling.xcplugin/

3.读取xcodeUUID

    defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容