-
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
Cannot Upload MAUI Archive to Apple App Store #9507
Comments
Are you sure you made a release build? I have published several maui apps to the ios app store without any problem. Also, if you use visual studio 2022 for mac the entire process is much simpler. |
Thanks, yes, I built it using a release build with the following command line: dotnet publish -f:net6.0-ios -c:Release. That is what was described in the online documentation here: https://docs.microsoft.com/en-us/dotnet/maui/ios/deployment/overview, which is what I followed to get this far. |
To expand on this further...instead of trying to upload the file, I did a Validate file from Xcode. It flagged the same error shown above for every single .DYLIB file in the archive. I opened the .ipa file (by renaming it to .zip) and found 9 DYLIB files. So how are we supposed to handle those types of files when distributing to the Apple app store/ |
Further comment...I just found the same exact issue on github here: #8701. Based on the comments in there and Tom's above, I'm guessing @tom-b-iodigital that you are building your archive on a Mac? I launch the build command from Windows and it seems that might be the difference. |
Hi there, thanks for the report! All the info is indeed in the issue you've linked (#8701) and the workaround right now is to archive the app on the Mac directly, that will make this error go away. The issue on Windows is being investigated and fixed hopefully sooner than later, thanks! |
Duplicate of #8701 |
Description
I've been following the documentation here: https://docs.microsoft.com/en-us/dotnet/maui/ios/deployment/overview to create an archive of my MAUI app for iOS. That part worked. When it was done, I opened Xcode on my Mac and the archive it created shows up in the Xcode Organizer window. That part is all good.
I went through the process to upload the file using App Connect as described here: https://help.apple.com/xcode/mac/current/#/dev442d7f2ca. I get through the process and start the upload, and the upload ends up failing with the error message "Invalid Bundle Structure". Hopefully you can see the image pasted here:
When I got this error the first time, I tried doing the upload again and unchecked the option to include symbols. I still get the same error message. Between this error, and the other bug I previously opened here: #9029, MAUI is completely dead and a non-starter for building apps. At all. I would like to get some sort of statement from someone on the PM team regarding how these issues are going to be addressed. We've invested a lot of time and energy building our app using MAUI and now are completely dead in the water because we did, with no apparent interest from Microsoft in getting things fixed anytime soon.
Steps to Reproduce
I think the description is self-explanatory. Of course, if someone had actually built a project, deployed it to a physical device, and tried uploading it to the Apple App Store at least once I would think that they would have seen these issues already.
Version with bug
6.0.400
Last version that worked well
Unknown/Other
Affected platforms
iOS, I was not able test on other platforms
Affected platform versions
iOS ALL
Did you find any workaround?
Not yet.
Relevant log output
The text was updated successfully, but these errors were encountered: