-
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
MAUI 7.0 iOS Release build won't install on iOS 16 #11385
Comments
Hi @jdunaway, thank you for your feedback! Starting in iOS 16, you will need to enable "Developer Mode" on the iphone in order to install .ipa files.
Please try this and let us know if this fixes your issue. Thank you! |
Hi @jdunaway. 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. |
Hi @tj-devel709. Thanks for the reply. This issue is only happening on the ad-hoc release build, which shouldn't require Developer mode. I do have developer mode enabled on the device though since it was required in order to run the debug build on the device. The debug build is working, but the release build will not install or open on the device. |
@rolfbjarne thoughts? @jdunaway if you just use a new MAUI app does that work? |
@PureWeen Haven't tried that yet but will try when I get a chance and reply back. If it does still happen will also create a repo with the issue. Can't create a repo of the current solution since it has proprietary code in it. |
sudo dotnet publish -f net7.0-ios -c Release -r ios-arm64 /p:ArchiveOnBuild=true |
This looks weird, but the first step would be to figure out whether this is app-specific (does it happen with a new MAUI app?) or if it's something specific to one project (in which case we'll need a repro project). |
Hi @jdunaway. 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. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate. |
@PureWeen @rolfbjarne I was able to reproduce this issue with a file -> new maui project. Here is the repo: https://github.com/jdunaway/MauiAppReproiOS16ReleaseBuildIssue Please see the azure-pipelines.yml file for how I'm building this. I've also tried building this locally on the windows and mac side but I'm currently getting a Link.semaphore error. So you may want to try building this locally too. You will need to update the certificate to an adhoc iOS distribution certificate and update the provisioning profile to your own provisioning profile in order to reproduce. Also note the project settings I have set for the release build if you think that may be leading to the issue. These are the same as what I have in our production project that we are trying to release but can't release until the iOS 16 install issue is resolved. I get the same results with the reproduction repo: the ipa produced will install on iOS 15 devices but not iOS 16 devices. I'm able to debug on both iOS 15 and iOS 16 devices but the release build won't install on iOS 16 devices. |
@PureWeen @rolfbjarne Please reopen this issue since the same issue occurs with a file -> new maui project and I have provided the reproduction repo in the previous comment. |
@rolfbjarne @PureWeen @jsuarezruiz Please remove the needs-info label since the info has been provided. |
We have resolved this issue based on this post in the apple developer forum: https://developer.apple.com/forums/thread/714600 The issue was with the bundle-identifier in our manifest.plist file. At one point we added Maui to the end of the bundle-identifier but removed it later and didn't update the manifest.plist file. It looks like this isn't an issue for iOS 15 but iOS 16 is more strict and won't allow you to install the application if the bundle-identifier isn't an exact match. Removing Maui from the bundle-identifier in the manifest.plist resolved this issue. |
Description
I'm using Azure DevOps to create an ad-hoc build for iOS for a .net 7 MAUI application (recently updated from .net 6 which had the same issue):
dotnet publish -f net7.0-ios -c Release -r ios-arm64 /p:ArchiveOnBuild=true
The .ipa file produced by the build works on iOS 15 devices but when I download it on an iOS 16 device the icon is blank and when I tap it to open it says the application cannot be installed at this time. Has anyone successfully published a MAUI release build for iOS 16?
Steps to Reproduce
dotnet publish -f net7.0-ios -c Release -r ios-arm64 /p:ArchiveOnBuild=true
Link to public reproduction project repository
(https://github.com/jdunaway/MauiAppReproiOS16ReleaseBuildIssue)
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 16
Did you find any workaround?
No.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: