Bug 14374 - Getting "System.Reflection.TargetInvocationException" error on closing Apple Login popup.
Summary: Getting "System.Reflection.TargetInvocationException" error on closing Apple ...
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 4.1.10
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: 4.0.13 (XCode5)
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2013-09-02 11:40 UTC by Saurabh
Modified: 2013-10-21 09:50 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
VERIFIED FIXED

Description Saurabh 2013-09-02 11:40:27 UTC
Step to reproduce:
1. Open XS 
2. Create an iOS application
3. Open info.plist file
4. Move to 'Entitlement section'
5. Select 'Enable Entitlement' checkbox
6. Click on Refresh button
7. Observe that Apple Login popup appears
8. Close Apple Login popup by clicking red close button

Actual result: 
On clicking red close button of Apple Login popup we are getting "System.Reflection.TargetInvocationException" error.

Expected result:
On clicking red close button of Apple Login popup should close and no error should appear. 

Supplement info:
Screencast: http://screencast.com/t/aDlyVcXRV
Error Details:  https://gist.github.com/AkhileshKumar01/9681516b300ebafcb4a5

Environment:
All Mac
XS 4.1.10 (build 3)
X.iOS 6.9.6.0
Mono 3.2.2 ((no/a0fc6ba)

Regression status: A REGRESSION. This issue does not exist with stable XS 4.0.12 (build 3) and latest X.iOS 6.9.6.0 builds. http://screencast.com/t/plGB9IcksgVh
Comment 1 PJ 2013-09-04 17:03:02 UTC
Jeff said he wouldn't be able to fix this for 4.1.10, but we'll want to do it for 4.0.13.
Comment 2 Jeffrey Stedfast 2013-09-06 16:24:25 UTC
fixed in git master for 4.0.13
Comment 3 narayanp 2013-10-21 09:50:03 UTC
I have checked it again on another builds:

All Mac and Windows
X.S 4.1.7(build 1537)
Mono 3.2.4
X.iOS 7.0.4.84

Now I have observed that I am getting the same behavior as for Xcode5 and above,
now we are seeing entitlements.plist file appears under project and when we
select the check-box for 'Enable Passbook' it prompts for Account details. and we are successfully able to cancel account windows. This is the screencast for the same: http://screencast.com/t/TaYpTdhXChS

Changing the status to Verified.