Skip to content
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

Closed
speschka opened this issue Aug 17, 2022 · 7 comments
Closed

Cannot Upload MAUI Archive to Apple App Store #9507

speschka opened this issue Aug 17, 2022 · 7 comments
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) platform/iOS 🍎 t/bug Something isn't working

Comments

@speschka
Copy link

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:

AppStoreUploadError2

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 only "logging" can be seen in the screenshot of the error above.
@speschka speschka added the t/bug Something isn't working label Aug 17, 2022
@tom-b-iodigital
Copy link

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.

@speschka
Copy link
Author

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.

@speschka
Copy link
Author

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/

@speschka
Copy link
Author

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.

@tom-b-iodigital
Copy link

tom-b-iodigital commented Aug 18, 2022 via email

@PureWeen PureWeen added area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) platform/iOS 🍎 labels Aug 18, 2022
@jfversluis
Copy link
Member

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!

@jfversluis
Copy link
Member

Duplicate of #8701

@jfversluis jfversluis marked this as a duplicate of #8701 Aug 18, 2022
@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Aug 18, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Sep 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants