简体   繁体   English

Xamarin没有构建iOS项目

[英]Xamarin not building iOS project

Everything was working fine up until today. 直到今天,一切都很好。 It was working fine yesterday and I have not applied any changes since then. 它昨天工作正常,从那以后我没有应用任何变化。 Today when I try to debug my project in Xamarin I get the only error: 今天当我尝试在Xamarin中调试我的项目时,我得到了唯一的错误:

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: Error: System.IO.FileNotFoundException: /Users/me/Dropbox/Projects/projectname/projectfile/obj/iPhone/Debug/build-ipad4.5-9.3.2/ibtool/Main.storyboardc/BYZ-38-t0r-view-78.nib does not exist
File name: '/Users/me/Dropbox/Projects/projectname/projectfile/obj/iPhone/Debug/build-ipad4.5-9.3.2/ibtool/Main.storyboardc/BYZ-38-t0r-view-78.nib'
  at System.IO.File.Copy (System.String sourceFileName, System.String destFileName, Boolean overwrite) <0x1a24c60 + 0x00333> in <filename unknown>:0 
  at Xamarin.MacDev.Tasks.SmartCopyTaskBase.CopyFile (System.String source, System.String target, System.String targetItemSpec) <0x3fc5de8 + 0x000c7> in <filename unknown>:0 
  at Xamarin.MacDev.Tasks.SmartCopyTaskBase.Execute () <0x3f08bf0 + 0x002bf> in <filename unknown>:0  (projectname)

Please note: I changed project name and my user name for the above example. 请注意:我更改了上面示例的项目名称和用户名。

Renaming a viewcontroller caused me this problem 重命名viewcontroller导致我这个问题

Removing the Obj & Bin folders manually present in the project solved me this problem. 删除项目中手动存在的ObjBin文件夹解决了我的这个问题。

Obj文件夹

Cleaning the project does not remove all the generated files 清理项目不会删除所有生成的文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM