Visual Studio,毛伊岛,dotnet 发布。无法使用以下身份验证方法进行身份验证:KeyboardInteractiveAuthenticationMethod
Visual Studio, Maui, dotnet publish. Unable to authenticate using the following authentication method: KeyboardInteractiveAuthenticationMethod
在连接到 Mac Mini (M1) 的 Visual Studio 2022(预览版 2.1)中发布 Maui(预览版 14)应用程序时,代码签名发布失败,但似乎是一些身份验证错误:
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : [xma]: Unable to authenticate using the following authentication method: KeyboardInteractiveAuthenticationMethod [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
环境信息
- Windows 10;
- Visual studio 2022 预览版 2.1;
- Mac 迷你(M1,2020 处理器)MacOS 蒙特雷;
附加信息
- Build/publish 是发布(商店)构建(不是开发)证书有效;
- 曾在毛伊岛工作(预览 13/Visual studio 预览 2);
尝试过的操作
完成重新安装 mac 和证书;
已安装 mac 根证书和中间证书(https://www.apple.com/certificateauthority/);
重新安装Visual studio;
已清除缓存文件夹;
已验证证书和终端访问权限。
额外的日志记录:
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : [xma]: Unable to authenticate using the following authentication met
hod: KeyboardInteractiveAuthenticationMethod [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : [xma]: Unable to authenticate using the following authentication met
hod: KeyboardInteractiveAuthenticationMethod [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : data [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Security.Cryptography.BlockCipher.Encrypt(Byte[]
data, Int32 offset, Int32 length) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Session.SendMessage(Message message) [C:\repo\eco
touch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.KeyboardInteractiveAuthenticationMethod.Authentic
ate(Session session) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Xamarin.Messaging.Ssh.MessagingAuthenticationMethod.TryAuthent
icate(Session session, AuthenticationMethod method) in D:\a\_work\s\src\Xamarin.Messaging.Ssh\MessagingAuthenticationMethod.cs:line 118 [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : data [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Security.Cryptography.BlockCipher.Encrypt(Byte[]
data, Int32 offset, Int32 length) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Session.SendMessage(Message message) [C:\repo\eco
touch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.KeyboardInteractiveAuthenticationMethod.Authentic
ate(Session session) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Xamarin.Messaging.Ssh.MessagingAuthenticationMethod.TryAuthent
icate(Session session, AuthenticationMethod method) in D:\a\_work\s\src\Xamarin.Messaging.Ssh\MessagingAuthenticationMethod.cs:line 118 [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : [xma]: Unable to authenticate using the following authentication met
hod: PasswordAuthenticationMethod [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : [xma]: Unable to authenticate using the following authentication met
hod: PasswordAuthenticationMethod [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : data [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Security.Cryptography.BlockCipher.Encrypt(Byte[]
data, Int32 offset, Int32 length) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Session.SendMessage(Message message) [C:\repo\eco
touch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.PasswordAuthenticationMethod.Authenticate(Session
session) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Xamarin.Messaging.Ssh.MessagingAuthenticationMethod.TryAuthent
icate(Session session, AuthenticationMethod method) in D:\a\_work\s\src\Xamarin.Messaging.Ssh\MessagingAuthenticationMethod.cs:line 118 [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : data [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Security.Cryptography.BlockCipher.Encrypt(Byte[]
data, Int32 offset, Int32 length) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Session.SendMessage(Message message) [C:\repo\eco
touch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.PasswordAuthenticationMethod.Authenticate(Session
session) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Xamarin.Messaging.Ssh.MessagingAuthenticationMethod.TryAuthent
icate(Session session, AuthenticationMethod method) in D:\a\_work\s\src\Xamarin.Messaging.Ssh\MessagingAuthenticationMethod.cs:line 118 [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
过滤掉
身份验证失败:
Unable to authenticate using the following authentication method: KeyboardInteractiveAuthenticationMethod
Unable to authenticate using the following authentication method: PasswordAuthenticationMethod
Client not connected.
An error occurred while using the SCP Client. Details: Permission denied (publickey).
An error occurred while uploading files
Session operation has timed out
- 有文件复制到mac~/Library/Xamarin/mtbs/*;
- 我可以(手动)使用 ssh(cmd 和 putty)连接到目标位置;
- 最终创建的 IPA 文件不包含导致错误的应用程序
ERROR ITMS-90207: "Invalid Bundle. The bundle at 'ecotouch-mobile.app' does not contain a bundle executable."
;
第二次 运行ned 时(创建某些文件时),日志中的第一个错误行是:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.2.302-preview.14.122\tools\msbuild\iOS\Xamarin.Shared.targets(2095,3):
Access to the path 'C:\Users\ecomation\Library\Caches\Xamarin\mtbs\builds\ecotouch
mobile238eb08c3968e031ffb939c9cf1096a0590a34cdab32179a5ce61bef63d9ed\bin\Release\net6.0-ios\ios-arm64\ecotouch-mobile.app\_CodeSignature\CodeResources' is denied. [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.2.302-preview.14.122\tools\msbuild\iOS\Xamarin.Shared.targets(2095,3):
warning : Access to the path 'C:\Users\ecomation\Library\Caches\Xamarin\mtbs\builds\ecotouch
mobile238eb08c3968e031ffb939c9cf1096a0590a34cdab32179a5ce61bef63d9ed\bin\Release\net6.0-ios\ios-arm64\ecotouch-mobile.app\ecotouch-mobile' is denied. [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
这些文件夹是在之前的 运行 中自动创建的。
毛伊岛问题Github:https://github.com/dotnet/maui/issues/5632
[补充信息]
警告可能不是它不起作用的原因。
生成的 IPA 似乎是有效的,但大多数文件都是空的:
这似乎导致:
ERROR ITMS-90207:
"Invalid Bundle. The bundle at 'ecotouch-mobile.app' does not contain a bundle executable."
已将所有内容完全更新为最新版本(mac、所有工作负载、visual studio 等),现在可以使用了。抛出所有相同的警告,但无论如何都会生成一个工作包。
在连接到 Mac Mini (M1) 的 Visual Studio 2022(预览版 2.1)中发布 Maui(预览版 14)应用程序时,代码签名发布失败,但似乎是一些身份验证错误:
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : [xma]: Unable to authenticate using the following authentication method: KeyboardInteractiveAuthenticationMethod [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
环境信息
- Windows 10;
- Visual studio 2022 预览版 2.1;
- Mac 迷你(M1,2020 处理器)MacOS 蒙特雷;
附加信息
- Build/publish 是发布(商店)构建(不是开发)证书有效;
- 曾在毛伊岛工作(预览 13/Visual studio 预览 2);
尝试过的操作
完成重新安装 mac 和证书;
已安装 mac 根证书和中间证书(https://www.apple.com/certificateauthority/);
重新安装Visual studio;
已清除缓存文件夹;
已验证证书和终端访问权限。
额外的日志记录:
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : [xma]: Unable to authenticate using the following authentication met
hod: KeyboardInteractiveAuthenticationMethod [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : [xma]: Unable to authenticate using the following authentication met
hod: KeyboardInteractiveAuthenticationMethod [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : data [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Security.Cryptography.BlockCipher.Encrypt(Byte[]
data, Int32 offset, Int32 length) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Session.SendMessage(Message message) [C:\repo\eco
touch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.KeyboardInteractiveAuthenticationMethod.Authentic
ate(Session session) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Xamarin.Messaging.Ssh.MessagingAuthenticationMethod.TryAuthent
icate(Session session, AuthenticationMethod method) in D:\a\_work\s\src\Xamarin.Messaging.Ssh\MessagingAuthenticationMethod.cs:line 118 [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : data [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Security.Cryptography.BlockCipher.Encrypt(Byte[]
data, Int32 offset, Int32 length) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Session.SendMessage(Message message) [C:\repo\eco
touch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.KeyboardInteractiveAuthenticationMethod.Authentic
ate(Session session) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Xamarin.Messaging.Ssh.MessagingAuthenticationMethod.TryAuthent
icate(Session session, AuthenticationMethod method) in D:\a\_work\s\src\Xamarin.Messaging.Ssh\MessagingAuthenticationMethod.cs:line 118 [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : [xma]: Unable to authenticate using the following authentication met
hod: PasswordAuthenticationMethod [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : [xma]: Unable to authenticate using the following authentication met
hod: PasswordAuthenticationMethod [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : data [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Security.Cryptography.BlockCipher.Encrypt(Byte[]
data, Int32 offset, Int32 length) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Session.SendMessage(Message message) [C:\repo\eco
touch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.PasswordAuthenticationMethod.Authenticate(Session
session) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Xamarin.Messaging.Ssh.MessagingAuthenticationMethod.TryAuthent
icate(Session session, AuthenticationMethod method) in D:\a\_work\s\src\Xamarin.Messaging.Ssh\MessagingAuthenticationMethod.cs:line 118 [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : data [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Security.Cryptography.BlockCipher.Encrypt(Byte[]
data, Int32 offset, Int32 length) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.Session.SendMessage(Message message) [C:\repo\eco
touch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Renci.SshNet.PasswordAuthenticationMethod.Authenticate(Session
session) [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk.0.200-preview.14.5099\targets\Microsoft.Maui.Resizetizer.targets(518,9): warning : at Xamarin.Messaging.Ssh.MessagingAuthenticationMethod.TryAuthent
icate(Session session, AuthenticationMethod method) in D:\a\_work\s\src\Xamarin.Messaging.Ssh\MessagingAuthenticationMethod.cs:line 118 [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
过滤掉 身份验证失败:
Unable to authenticate using the following authentication method: KeyboardInteractiveAuthenticationMethod
Unable to authenticate using the following authentication method: PasswordAuthenticationMethod
Client not connected.
An error occurred while using the SCP Client. Details: Permission denied (publickey).
An error occurred while uploading files
Session operation has timed out
- 有文件复制到mac~/Library/Xamarin/mtbs/*;
- 我可以(手动)使用 ssh(cmd 和 putty)连接到目标位置;
- 最终创建的 IPA 文件不包含导致错误的应用程序
ERROR ITMS-90207: "Invalid Bundle. The bundle at 'ecotouch-mobile.app' does not contain a bundle executable."
;
第二次 运行ned 时(创建某些文件时),日志中的第一个错误行是:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.2.302-preview.14.122\tools\msbuild\iOS\Xamarin.Shared.targets(2095,3):
Access to the path 'C:\Users\ecomation\Library\Caches\Xamarin\mtbs\builds\ecotouch
mobile238eb08c3968e031ffb939c9cf1096a0590a34cdab32179a5ce61bef63d9ed\bin\Release\net6.0-ios\ios-arm64\ecotouch-mobile.app\_CodeSignature\CodeResources' is denied. [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.2.302-preview.14.122\tools\msbuild\iOS\Xamarin.Shared.targets(2095,3):
warning : Access to the path 'C:\Users\ecomation\Library\Caches\Xamarin\mtbs\builds\ecotouch
mobile238eb08c3968e031ffb939c9cf1096a0590a34cdab32179a5ce61bef63d9ed\bin\Release\net6.0-ios\ios-arm64\ecotouch-mobile.app\ecotouch-mobile' is denied. [C:\repo\ecotouch-mobile\ecotouch-mobile.csproj]
这些文件夹是在之前的 运行 中自动创建的。
毛伊岛问题Github:https://github.com/dotnet/maui/issues/5632
[补充信息]
警告可能不是它不起作用的原因。
生成的 IPA 似乎是有效的,但大多数文件都是空的:
这似乎导致:
ERROR ITMS-90207:
"Invalid Bundle. The bundle at 'ecotouch-mobile.app' does not contain a bundle executable."
已将所有内容完全更新为最新版本(mac、所有工作负载、visual studio 等),现在可以使用了。抛出所有相同的警告,但无论如何都会生成一个工作包。