如何解决更新Nuget软件包-Firebase / Analytics-VS社区8.5
在我的Xamarin本机iOS项目中将Firebase Analytics Package从6.0.4更新到最新的稳定版时,出现此错误。
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(3,3):错误:System.UnauthorizedAccessException:访问路径“ / Users / user / 19thDec / iOS / bin / iPhoneSimulator / Debug / device-builds / iphone 11-13.3 / xx.iOS.app / GoogleSignIn.bundle / Roboto-Bold.ttf”被拒绝。 在System.IO.FileStream..ctor(System.String路径,System.IO.FileMode模式,System.IO.FileAccess访问,System.IO.FileShare共享,System.Int32 bufferSize,System.Boolean匿名,System.IO。 FileOptions选项)[0x00259]在/Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.IO/FileStream中。 cs:274 在System.IO.FileStream..ctor(System.String路径,System.IO.FileMode模式,System.IO.FileAccess访问,System.IO.FileShare共享,System.Int32 bufferSize,System.IO.FileOptions选项)处[0x00000 /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.IO/FileStream.cs:106中的] 在(包装器远程调用检查)System.IO.FileStream..ctor(字符串,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions) 在/ Users / builder / jenkins / workspace / build-package-osx-mono / 2019-10 / external中的System.IO.FileSystem.CopyFile(System.String sourceFullPath,System.String destFullPath,System.Boolean覆盖)[0x00035] /bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs:55 在/ Users / builder / jenkins / workspace / build-package-osx-mono / 2019-10 / external中的System.IO.File.Copy(System.String sourceFileName,System.String destFileName,System.Boolean覆盖)[0x00056] /bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/File.cs:74 在:0中的Xamarin.MacDev.Tasks.SmartCopyTaskBase.CopyFile(System.String源,System.String目标,System.String targetItemSpec)[0x00030]处 在Xamarin.MacDev.Tasks.SmartCopyTaskBase.Execute()[0x000e5]在:0(xx.iOS)
中
我尝试清除bin,obj文件夹并重建,但这没有用。
我还尝试转到此路径“ / Users / user / 19th_Dec / iOS / bin / iPhoneSimulator / Debug / device-builds / iphone 11-13.3 / xx.iOS.app / GoogleSignIn.bundle / Roboto-Bold.ttf ”并授予其读/写权限,但这似乎也不起作用。还有其他人面对吗?
谢谢。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。