Update to latest alpha build causes build problesm with watchOS

Since I updated to the latest alpha build because of this: https://forums.xamarin.com/discussion/88045/update-to-vs2017rc-no-connection-to-mac-agent

I cannot build my watchOS project anymore. This is the error message I got:

2017-02-07 22:17:51.502 LottoStatsiOSLottoStatsWatchExtension[21828:264903] ObjCRuntime.RuntimeException: The registrar found a signature mismatch in the method 'LottoStats.iOS.LottoStatsWatchExtension.StartupInterfaceController.OnLotto6Of49Click' - the selector 'OnLotto6Of49Click:' indicates the method takes 1 parameters, while the managed method has 0 parameters.
2017-02-07 22:17:51.511 LottoStatsiOSLottoStatsWatchExtension[21828:264903] *** Terminating app due to uncaught exception 'ObjCRuntime.RuntimeException', reason: 'The registrar found a signature mismatch in the method 'LottoStats.iOS.LottoStatsWatchExtension.StartupInterfaceController.OnLotto6Of49Click' - the selector 'OnLotto6Of49Click:' indicates the method takes 1 parameters, while the managed method has 0 parameters.'
*** First throw call stack:
(
0 CoreFoundation 0x00672d74 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x05259df4 objc_exception_throw + 50
2 libxamarin-debug.dylib 0x050f8339 xamarin_process_managed_exception + 1113
3 libxamarin-debug.dylib 0x050f7ecf xamarin_process_managed_exception_gchandle + 63
4 libxamarin-debug.dylib 0x051067b5 xamarin_main + 2693
5 LottoStatsiOSLottoStatsWatchExtension 0x000225dc xamarin_watchextension_main + 124
6 libdyld.dylib 0x05dc4ad5 start + 1
7 ??? 0x00000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

How can I fix it? Even if I recreate the "Click"-Methods for my Buttons I got this error because the methods will be generated exact as before.

Best Answer

Answers

Sign In or Register to comment.