Can you install an iOS app targeting 17.2 with support for 16.7.2 on an iPhone running 17.3.1?

I'm a developer. I'm having an issue that I've never seen before and I'm wondering if it's a version issue. I'm currently running a previous version of my app that is working just fine. When I go to install a new version of my app (sideloaded), I find that the installation seems to work, but the app does not upgrade.  I see the Verifying, Loading, and Installing messages showing the progress of the app install. When I open the app, I notice that the version has not changed. The answer to the title of my question will help me either resolve the issue or narrow down the problem. Thanks!

iPhone 12

Posted on Feb 26, 2024 9:37 AM

Reply
6 replies

Mar 1, 2024 10:26 AM in response to dumber_texan

I finally solved the issue. The answer to my question is yes. You can install an app that targets older versions of iOS than what is currently installed on your device.


The actual problem that was causing the version issue was due to AppLinks code. I have since commented out the AppLinks code (a few lines in 4 files) that was causing the issue.


applinks | Apple Developer Documentation

Feb 26, 2024 11:05 AM in response to MrHoffman

No, it is the same app ID. It is the same app.


It's a .Net MAUI app. I'm incrementing the ApplicationDisplayVersion each time and then displaying that information on the login page. Usage of the ApplicationDisplayVersion is not working correctly in other areas, so I know the app is not updating.


<!-- Versions -->
<ApplicationDisplayVersion>1.0.20</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>

Feb 26, 2024 11:16 AM in response to dumber_texan

This is seemingly centrally something with Microsoft .NET MAUI behavior around installs, updates, and side-loading.


Check with the .NET MAUI framework maintainers, as what you’ve shown isn’t (directly) an App ID.


Looks like that framework uses a discussion forum here: https://github.com/dotnet/maui


Two tickets are part of the USD$99, though more can be purchased.


But thr e use of that framework complicates things.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can you install an iOS app targeting 17.2 with support for 16.7.2 on an iPhone running 17.3.1?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.