我有以下错误,即使在我清理或重建后,错误仍然出现。该文件不是 Xamarin 自动生成的吗?
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: Error: System.IO.FileNotFoundException: /Users/simonlam/Desktop/Application Repository/App/iOS/obj/iPhone/Debug/build-iphone5.4-9.3/ibtool-link/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib does not exist File name: '/Users/simonlam/Desktop/Application Repository/App/iOS/obj/iPhone/Debug/build-iphone5.4-9.3/ibtool-link/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib' at System.IO.File.Copy (System.String sourceFileName, System.String destFileName, System.Boolean overwrite) [0x000d1] in :0 at Xamarin.MacDev.Tasks.SmartCopyTaskBase.CopyFile (System.String source, System.String target, System.String targetItemSpec) [0x0002e] in <8cce4f82936e41b29850baed19c7dcc5>:0 at Xamarin.MacDev.Tasks.SmartCopyTaskBase.Execute () [0x00121] in <8cce4f82936e41b29850baed19c7dcc5>:0
最佳答案
通过删除自动生成的文件夹解决。由于它在编译时重新生成。
关于ios - Xamarin 表单(在 iOS 上运行): Unable to file a storyboard file when building,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40966031/