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.
Using ReplayKit on iOS 9 appears to cause an InvalidCastException when recording ends
### Steps to Reproduce
1. Download, unzip and open ReplayKitCrash.sln
2. Compile and Start Debugging on device
3. Touch any part of the black background, this should bring up the ReplayKit permission UI
4. Select "Record Screen Only" (If you select Record Screen & Microphone the UI won't appear the next time you try)
5. Touch any part of the black background after a few seconds
### Expected Results
Replay recording should end
### Actual Results
Above linked error is thrown
=== Xamarin Studio ===
Version 5.9.7 (build 9)
Installation UUID: 852fb169-eb98-4eeb-93fb-5f54eb55f790
Mono 4.0.4 ((detached/cb6d6b2)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400040002
=== Apple Developer Tools ===
Xcode 7.0 (8227)
=== Xamarin.iOS ===
Version: 18.104.22.168 (Business Edition)
Build date: 2015-09-18 23:22:05-0400
=== Xamarin.Android ===
Version: 22.214.171.124 (Business Edition)
Android SDK: /Users/codybeyer/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
4.0.3 (API level 15)
4.4 (API level 19)
5.0 (API level 21)
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
=== Xamarin Android Player ===
Version: Unknown version
Location: /Applications/Xamarin Android Player.app
=== Xamarin.Mac ===
Version: 126.96.36.199 (Business Edition)
=== Build Information ===
Release ID: 509070009
Git revision: 31fa64709030b3edb971237780a452a4c69943c4
Build date: 2015-09-17 11:44:37-04
Xamarin addins: b105d33d8cd72911ff2cf3ee0b7715d37e5f19a6
=== Operating System ===
Mac OS X 10.10.5
Darwin BeyerStudiosMac.local 14.5.0 Darwin Kernel Version 14.5.0
Wed Jul 29 02:26:53 PDT 2015
This can be duplicate with maccore/master too
The handler signature is incorrect. It probably changed during the betas and this handlers signature changes are not something our API tests catch.
Fixed in maccore/master dfa21c91d2c301202368bcc0bba3637fe8c6f2ef
Candidate for SR1 https://trello.com/c/QwBbqnZh/25-bug-34200-incorrrect-signature-in-rpscreenrecorder
I verified this issue with Xamarin.iOS master Xamarin.iOS
Version: 188.8.131.52 (Enterprise Edition)
I could reproduce the issue with the current stable 184.108.40.206.pkg
I couldn't reproduce the invalid cast exception. But, continuously got "2015-09-24 16:42:33.063 ReplayKitCrash[1666:1375455] -[UIWindow endDisablingInterfaceAutorotationAnimated:] called on <UIWindow: 0x15cd79790; frame = (0 0; 320 568); autoresize = W+H; gestureRecognizers = <NSArray: 0x15cd7ab30>; layer = <UIWindowLayer: 0x15cd791f0>> without matching -beginDisablingInterfaceAutorotation. Ignoring."
I did not see those messages (but I did not really look for any either) but they are not related to the fix.
Those looks like a sample issue (they are not API that XI calls by itself),
The issue seem to be fixed with the latest stable release on OSX but remains when using Visual Studio. It seems that the signature of RPScreenRecorder.StopRecording() is still missing a parameter when compiling using Xamarin for Visual Studio. Below is the version information of my setup.
Microsoft Visual Studio Community 2013
Version 12.0.40629.00 Update 5
Microsoft .NET Framework
Xamarin 3.11.1443.0 (39031d3)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android 220.127.116.11 (58099c5358da3488b0e7fb0bb4af47aca7cc61d6)
Visual Studio plugin to enable development for Xamarin.Android.
Xamarin.Forms Intellisense 1.0
Provides intellisense for Xamarin.Forms in the XML editor.
Xamarin.iOS 18.104.22.168 (7eaf3bc2053ad0d4f720422bb3dc13504d61f7b5)
Visual Studio extension to enable development for Xamarin.iOS.
Xamarin.iOS Unified Migration 1.0
Automated migration for Xamarin iOS Classic projects to Unified
Early preview of Xamarin Test Cloud integration
@Philippe XVS 3.11.1450 should be the matching version and available (like XI's 22.214.171.124) on the beta channel.
I tried the beta channel and I am getting the same issue (works in Xamarin Studio on OSX)
@Joe any clue why ?
Reproduced with iOS 9 build: Xamarin.iOS Version: 126.96.36.199
I am able to Verified with iOS 9 builds Xamarin.iOS
Version: 188.8.131.52 (Business Edition)
Build date: 2015-09-25 18:08:44-0400
app output: https://gist.github.com/Arpit360/a92bb6481a399c51c1be
Verified with Cycle 6 builds Xamarin.iOS
Version: 184.108.40.206 (Business Edition)
app output: https://gist.github.com/Arpit360/6a0f871b8b938e02ffa1
Note: we are able to reproduce this issue on iPhone 6+ iOS 9.1