首页 > 代码库 > Xamarin 示例Standard Controls报错:xamarin Failed to compile interface file. See Build Output for details

Xamarin 示例Standard Controls报错:xamarin Failed to compile interface file. See Build Output for details

Standard Controls 示例下载地址:

http://developer.xamarin.com/content/StandardControls/

Xamarin官网上的IOS示例“Standard Controls”编译报错:

xamarin  Failed to compile interface file. See Build Output for details
 
搜索Xamarind 的forums,有几个帖子是关于相同错误信息的,貌似最权威的解答是下面这个:
http://stackoverflow.com/questions/16938250/xamarin-studio-folder-structure-issue-in-ios-project/16951545#16951545
但是试了之后问题仍然在。
 
最后用一个个移出的办法,发现问题出在Screens->IPhone->Sliders这个View,将Sliders这个文件夹移除后,编译正常。
如果试图打开Sliders_IPhone.xib,则XCode会报错。
 
先把这个“坑”记录下来,分享给大家,具体原因暂不深究了。
 
 
我的环境:
 === Xamarin Studio ===
Version 5.5.4 (build 15)
 Runtime:
Mono 3.10.0 ((detached/92c4884)
GTK+ 2.24.23 (Raleigh theme)
Package version: 310000031

=== Apple Developer Tools ===

Xcode 6.1 (6604)
Build 6A1052d

=== Xamarin.iOS ===

Version: 8.4.0.43 

=== Operating System ===

Mac OS X 10.10.1

 

Xamarin 示例Standard Controls报错:xamarin Failed to compile interface file. See Build Output for details