Skip to content

Conversation

@janusw
Copy link
Member

@janusw janusw commented Dec 7, 2022

This fixes a couple of warnings in the build and packaging process, observed in the GHA logs.

* in order to fix a build warning:
  Google Play requires that new applications and updates must use a TargetFrameworkVersion of v11.0 (API level 30) or above. You are currently targeting v9.0 (API level 28).
* in order to fix build warnings:
  'OxyPlot.Xamarin.Android.pdb' is using a deprecated debug information level.
  Set the debugging information to Portable in the Visual Studio project property pages or edit the project file in a text editor and set the 'DebugType' MSBuild property to 'portable' to use the newer, cross-platform debug information level.
  If this file comes from a NuGet package, update to a newer version of the NuGet package or notify the library author.
* 'UIApplication.Main(string[]?, string?, string?)' is obsolete: 'Use the overload with 'Type' instead of 'String' parameters for type safety.'
* 'PlotViewRenderer.Init()' hides inherited member 'NSObject.Init()'. Use the new keyword if hiding was intended.
* NU5125: The 'licenseUrl' element will be deprecated. Consider using the 'license' element instead.
* NU5048: The 'PackageIconUrl'/'iconUrl' element is deprecated. Consider using the 'PackageIcon'/'icon' element instead. Learn more at https://aka.ms/deprecateIconUrl
* in order to fix a build warning:
  warning XA4211: AndroidManifest.xml //uses-sdk/@android:targetSdkVersion '27' is less than $(TargetFrameworkVersion) ''. Using API-30 for ACW compilation.
* 'UIGraphics.EndPDFContent()' is obsolete: 'Use 'EndPDFContext' instead.'
@janusw
Copy link
Member Author

janusw commented Dec 7, 2022

The last build breaks the Azure pipeline (probably due to older tooling versions, e.g. XCode 13). But I think that's not a problem, because Azure only builds the iOS parts anyway and GHA still builds fine.

I guess we should simple remove/disable the Azure pipeline, and rely on GHA only.

* since it does not work any more
@janusw
Copy link
Member Author

janusw commented Dec 7, 2022

Azure is gone, GHA still builds cleanly. Will merge.

@janusw janusw merged commit 73f87e9 into oxyplot:develop Dec 7, 2022
@janusw janusw deleted the fix_warnings branch December 7, 2022 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant