5

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?

Here is the Popup I got form Xcode

Lex Li
  • 60,503
  • 9
  • 116
  • 147
  • Having the same problem. I have just updated Xcode & Visual Studio. – vrwim Apr 19 '17 at 15:16
  • @vrwim I am having the latest version of Xcode (8.3.1) and Visual studio(Preview 6) – Siddharth Eswaramoorthy Apr 20 '17 at 05:13
  • Copy pasted your question on the forums https://forums.xamarin.com/discussion/93633/project-xcodeproj-cannot-be-opened-because-the-project-file-cannot-be-parsed-error/p1?new=1 – vrwim Apr 20 '17 at 08:34
  • A colleague just informed me that a new update is available that fixes the problem for him. Trying now. – vrwim Apr 20 '17 at 08:35

2 Answers2

1

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

vrwim
  • 13,020
  • 13
  • 63
  • 118
1

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.

Anna
  • 31
  • 4