binding-tools-for-swift
binding-tools-for-swift copied to clipboard
Using Xamarin.iOS version 14.2.0.12 causes issues with MediaSetup Binding
Sebastien recommends using a Xamarin.iOS version that is higher than 13.18 since it was released before Xcode 12
Expected:
- I can update the Xamarin.iOS version to the one higher than 13.18, 14.2.0.12, and build successfully on the pipeline build
Actual:
- The build fails in the "Build" step saying that: bindingmetadata.iphone.swift:73:8: error: no such module 'MediaSetup'
- https://dev.azure.com/xamarin/public/_build/results?buildId=30550&view=logs&j=b944efd9-1a3a-54bf-926f-a01c570708bc&t=21e7d97e-20fa-52e2-1c14-34bcaa2b17dd&l=275
Rolf suggested that maybe it could be because MediaSetup is not in common.mk, but adding it does not change the result.
Problem also occurs in other versions of XI. MediaSetup was introduced in iOS 14.0 so something could be going on in it's binding process and XI 13.X is not looking for MediaSetup.