The actions and outlets associated with this file could not be (re)generated

Xamarin Studio Community 6.01-Build 9
iOS Project

iOS Designer Issue

When setting the name of an existing UIButton in the Properties Pad of an existing UIViewController in the iOSDesigner a message appears at the top of the designer "The actions and outlets associated with this file could not be (re)generated" (Open Log File - Try Again). As a result of this error the associated UIViewController.designer file never receives the new outlets defined in it? Any help is appreciated.

Here is the end of the Log file:
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:113
at MonoTouch.Design.Client.IPhoneDesignerSession+c__asyncB.MoveNext () [0x0046c] in /Users/builder/data/lanes/3422/e879ce52/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1124
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:113
at MonoTouch.Design.Client.IPhoneDesignerSession+c__asyncA.MoveNext () [0x0003d] in /Users/builder/data/lanes/3422/e879ce52/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1070
[2016-06-30 00:27:35.4] INFO: Actions and outlets synchronized in 164ms
system: Jun 30 00:30:30 LAMU02QJ9RKG8WP routined[71462]: CoreLocation: Error occurred while trying to retrieve motion state update: CMErrorDomain Code:104
system: Jun 30 00:36:30 LAMU02QJ9RKG8WP routined[71462]: CoreLocation: Error occurred while trying to retrieve motion state update: CMErrorDomain Code:104
system: Jun 30 00:36:30 LAMU02QJ9RKG8WP syslogd[71459]: ASL Sender Statistics

Sincerely,
Brendan

Tagged:

Answers

  • CharlieFinlaysonCharlieFinlayson USUniversity ✭✭

    I am having this same problem after copying elements from one storyboard into a new one.

    The top answer here says it's possible http://stackoverflow.com/questions/13417332/move-or-copy-view-controller-from-one-storyboard-to-another

    But that the outlets remain as is. So this is a bug in Xamarin?

  • DmytroBondarenkoDmytroBondarenko USMember ✭✭
    edited July 2016

    I have the same error in old ios project. Even if I add new VC from VS template (which is working in another projects). But everything is OK in another\new projects.

    [2016-07-07 14:37:03.3] ERROR: Exception occurred while (re)generating actions and outlets
    System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
    Parameter name: span

    I don't know how to fix it and where is problem.

  • BrendanKennedyBrendanKennedy USMember

    Still experiencing the same issue, looks like recreating the UI is faster.

Sign In or Register to comment.