-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with publishing app to Apple App Store - Asset validation failed (90171) #8701
Comments
I have same issue while publishing Maui App version 6.0.408 . Should I create new issue as this issue is about Maui Blazor app. |
@HobDev no need, I think it's the same cause. @drasticactions it's a bit of a long shot, but I see Hot Reload, any idea how that ends up in the resulting ipa? |
@jfversluis still not working on latest VS 2022 Version 17.3.0 Preview 4.0 and VS for Mac 17.3 Preview (17.3 build 2012)...:-( |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@jfversluis still not working on latest VS 2022 Version 17.3.0 Preview 5.0 and VS for Mac 17.3 Preview (17.3 build 2083)... :-( Am I doing anything wrong or am I only who have problems with publishing MAUI app to Apple App Store generally? |
@RaspeR87 I was able to publish my iOS app without a problem after I figured out why the app icon was missing. But I also had got a different issue than you. |
@Symbai in which way you create ipa file? With this command? |
|
same thing here .
i too receive the same 9 issues in Transporter upload of .ipa file. |
Could anywhere here that is experiencing this issue add the This will produce a so-called binlog file which you can find in the folder you run the command from. It should be named |
Hi @RaspeR87. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
@jfversluis here is my msbuild.binlog file (I added it into zip file because binlog extension is not supported here). |
msbuild.binlog from my machine attached here. dev environment: win11 Pro intel i7 + M2 macbook pro ( paired) |
meanwhile , same repo, cloned and built on the Macbook directly with attaching the msbuild log from MacBook, if it could help figure out the issue. |
I would like to confirm that people seeing this are all remote building from Windows, and none are building on a mac directly. Please let us know if that is not true. From @anupam99 's log and my inability to reproduce this locally, building on a mac right now appears to be a potential work around. |
Looking into this a bit more, the difference appears to be that macOS is choosing (in ResolveRuntimePackAssets) a static lib:
while Windows remote build is choosing a dylib
|
Yes, for me same repo cloned and build on the Macbook with this command + uploads through transporter app works well too :-) |
So @RaspeR87 @anupam99 @Symbai - I'm trying to reproduce this locally on a Windows machine and I can't publish at all without a runtime identifier configured, which I see missing in your invocations.. Are you not seeing something like this:
Are you not setting
change any behavior? |
Its set in csproj, see the XML of this documentation section. And yes it only fails when trying to build from Windows (11) machine connected to a macOS machine. Building on macOS works out of the box. |
I understand you can set RuntimeIdentifier's in the csproj, but without a csproj to compare against I'm not 100% sure what it's being set to. @Symbai - Doe setting |
It can't, ever. The assemblies are injected into the running application on debug, and only on debug. No files are copied to the output directory. No users could directly reference them unless they actively copied and referenced the DLLs directly. |
Thanks for the issue report @RaspeR87! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS. If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.
This issue will be automatically closed in 3 days if there are no further comments. |
This issue is being closed due to inactivity. If this issue is still affecting you, please follow the steps above to use the VS Feedback Tool to report the issue. |
Description
I have problem with uploading .NET MAUI Blazor App to Apple App Store.
My IPA file is successfully created with that command like everytime before:
dotnet publish -f:net6.0-ios -c:Release /p:ServerAddress=10.20.30.21 /p:ServerUser=ezslovenia /p:ServerPassword=xxxxxxxx /p:TcpPort=58181 /p:ArchiveOnBuild=true /p:_DotNetRootRemoteDirectory=/Users/ezslovenia/Library/Caches/Xamarin/XMA/SDKs/dotnet/ /p:EnableAssemblyILStripping=false
But when I wanted to publish that app into Apple App Store via Transporter app, I got this errors:
Does anybody know if I am doing anything wrong?
All this steps worked well everytime I tried in past months.
Steps to Reproduce
dotnet publish -f:net6.0-ios -c:Release /p:ServerAddress=10.20.30.21 /p:ServerUser=ezslovenia /p:ServerPassword=xxxxxxxx /p:TcpPort=58181 /p:ArchiveOnBuild=true /p:_DotNetRootRemoteDirectory=/Users/ezslovenia/Library/Caches/Xamarin/XMA/SDKs/dotnet/ /p:EnableAssemblyILStripping=false
Version with bug
6.0.400 (current)
Last version that worked well
6.0 Release Candidate 3
Affected platforms
iOS
Affected platform versions
Xcode 13.4.1, VS 17.3.0 Preview 3.0
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: