iOS - Use a different Info.plist and specify App Version numbers when doing a dotnet publish #30866
Chris-Marassovich
started this conversation in
Upgrading from Xamarin
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a maui app I have ported from XF.
It's been ported to a single project file.
I have two different Info.plist files ... I have one called ReleaseRed.plist and another called ReleaseBlue.plist. Mostly just Bundle Identifier differences and App Icon differences.
I have found two different references on how to do this, and they make a lot of sense except they do not work for me at all.
I know they are not working because during the publish to the App Store I get errors about incorrect values which I know are set in the Info.plist which is quite different to what I have in the ReleaseRed.plist and ReleaseBlue.plist.
How do I get the build system to use specific Info.plist files?
In my csproj I have tried
Style 1
Style 2
Can anyone suggest how best to achieve this?
Also during my dotnet publish I am passing in the ApplicationDisplayVersion and ApplicationVersion as per the doco ...
but these are not being used as I can see in my error logs publishing to the App Store that its taking the values from the Info.plist.
Does anyone have a suggestion on how to pass along version details during the Azure Pipeline build?
Regards
Chris ....
Beta Was this translation helpful? Give feedback.
All reactions