Bug 36428 - Action Extension template is broken
Summary: Action Extension template is broken
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Vincent Dondain [MSFT]
Depends on:
Reported: 2015-12-01 15:34 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2015-12-01 18:45 UTC (History)
1 user (show)

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:

Description Rolf Bjarne Kvinge [MSFT] 2015-12-01 15:34:11 UTC
1. This code is generated: https://gist.github.com/rolfbjarne/179860abd47c41cea3a2, which is wrong at line 41: https://gist.github.com/rolfbjarne/179860abd47c41cea3a2#file-activationviewcontroller-cs-L41 because 'image' isn't a UIImage, it's an NSUrl (so you end up with an InvalidCastException that crashes the extension).

2. The storyboard has an action to a selector called 'DoneClicked', but it's defined as 'DoneClicked:' in the code-behind, causing a selector-not-found exception when clicking "Done" in the extension.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2015-12-01 15:34:29 UTC
Xamarin Studio
Version 5.10 (build 923)
Installation UUID: 5d58dc83-4266-49dd-9bd6-88fca7956436
	Mono 4.2.1 (explicit/6dd2d0d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402010102

Not Installed

Apple Developer Tools
Xcode 7.1 (9079)
Build 7B91b

Android SDK: Not found

Xamarin Android Player
Not Installed

Version: (Business Edition)
Hash: 0da254d
Branch: master
Build date: 2015-12-01 15:23:11+0100

Version: (Business Edition)

Build Information
Release ID: 510000923
Git revision: f813900562d407edc86bacf51d3afe8c145c96da
Build date: 2015-10-01 18:41:00-04
Xamarin addins: db503a280404e33ba2941fb650d81cc6a59305e5
Build lane: monodevelop-lion-xcode7.1

Operating System
Mac OS X 10.10.5
Darwin Rolfs-Mac-Pro.local 14.5.0 Darwin Kernel Version 14.5.0
    Tue Sep  1 21:23:09 PDT 2015
    root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64
Comment 2 Vincent Dondain [MSFT] 2015-12-01 18:45:25 UTC
Fixed in md-addins/master commit:d727a6935ccb0f801ec7db11e3ac8f8d7f28caf5