Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Similar to bug #1808
The CIImage class includes an unneeded constructor for the "initWithCVImageBuffer:" selector:
public CIImage (CVImageBuffer imageBuffer) : base (NSObjectFlag.Empty)
This selector is not present in iOS. For example, in Xcode attempting to compile an iOS project that calls this method, displays an error:
> 'initWithCVImageBuffer:' is unavailable: not available on iOS
This method appears in the following lines in the CIImage.h header file. Interestingly, there is no `#if !TARGET_OS_IPHONE` surrounding these lines.
> - (id)initWithCVImageBuffer:(CVImageBufferRef)imageBuffer __OSX_AVAILABLE_STARTING(__MAC_10_4, __IPHONE_NA);
> - (id)initWithCVImageBuffer:(CVImageBufferRef)imageBuffer options:(NSDictionary *)dict __OSX_AVAILABLE_STARTING(__MAC_10_4, __IPHONE_NA);
Compare also the iOS documentation:
... to the OS X documentation:
You won't find any `#if !TARGET_OS_IPHONE` - that would be too chatty ;-)
The `__OSX_AVAILABLE_STARTING` macro handle this, e.g. it says that `__IPHONE_NA` which means the API is not available in any version of the iPhone SDK.
That looks like a mistake in the bindings - which our introspection tests should have spotted (I'll look why it did not).
Yes, the introspection tests only checked the methods, not the constructors. There's a few extra in there that I'll review. Good catch!
Fixed in maccore/master c115fb50cd3902c160a93e50a9861c5da2b5ec15
Thanks for the quick fix!
This fix is planned to be released with Xamarin.iOS 7.0.6, which should hit the beta channel before December 23rd.
I have verified this issue, with stable and latest build and compare on both.
As per my observation as I checked that I am seeing code with current build "https://gist.github.com/saurabh360/9399003b2969166df3c2" as show in screen cast "http://www.screencast.com/t/uNgAxZ5a7U" while with stable builds I getting code "https://gist.github.com/saurabh360/7a98b480dde443302f74" as shown in screen cast "http://screencast.com/t/24dTEVTL"
XS 4.2.1 (build 1)
X iOs 22.214.171.124
XS 4.2.3 (build 23)
X iOs 126.96.36.199
Please let me know is it correct behavior which I have followed or is there anything else which I have missed out to verify this issue.
Looks good Sadik, marking as VERIFIED.