sample.xcodeproj cannot be opened because the project file cannot be parsed. while opening the Xib file in Xcode interface builder

孤人 提交于 2019-12-07 07:49:30

问题


I am developing an app in Xamarin using Visual Studio for Mac.

When I try to open a .xib (or any other interface builder file) in Xcode(8.3) interface builder for designing, I get the error

sample.xcodeproj cannot be opened because the project file cannot be parsed.

Does anyone have solution to this?


回答1:


Visual Studio for Mac Preview 8 (7.0 build 2845) fixes this problem.




回答2:


I found that the problem was in Info.plist file. Some of the mandatory fields that are empty cannot be parsed when trying to open a .xib file. And in my case Minimum system version field somehow happened to be empty.



来源:https://stackoverflow.com/questions/43494284/sample-xcodeproj-cannot-be-opened-because-the-project-file-cannot-be-parsed-whi

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