Questions about new iOS Designer

Hello All,

Super excited about the new iOS Designer but I have a few questions. If there is a doc or press release that has some of this info please point me in the direction.

Will the new iOS Designer:

  1. Work with both storyboards and xib?
  2. Work with storyboards and/or xibs created with Xcode?
  3. Maintain compatibility with Xcode in case you need to switch back?

Also, can you install multiple versions of Xamarin Studio on the same Mac. I would love to install the alpha to get a look at the new designer but working on a project right now so can't loose my stable install.

Thanks for any help

Mark Reynolds

Posts

  • JonasStawskiJonasStawski USDeveloper Group Leader ✭✭

    I'm also very interested in these questions

  • KevinMullinsKevinMullins USMember, Beta ✭✭

    And I'll second that motion...

    First let me say the WOW!! It looks great and exactly what was needed to take Xamarin Studio to the next level.

    And as a component designer I'm very interested and excited by the built in support for components and the sandboxed rendering of components within the designer. I do have a question though, will the Android designer support the same feature set for components?

    All around though great work!

  • AlanMcGovernAlanMcGovern USXamarin Team Xamurai
    edited April 2013

    1) its storyboard format only
    2) yes
    3) yes

    If you have issues opening in xcode, its a bug we need to fix.

  • AlanMcGovernAlanMcGovern USXamarin Team Xamurai
    edited April 2013

    A

  • MarkReynoldsMarkReynolds USMember ✭✭

    Thanks for the responses Alan, very helpful.

    Do you know if Xamarin Studio allows for multiple installs on the same Mac. One set to the stable release and one to the alpha?

  • ChrisMillerChrisMiller USBeta, Developer Group Leader ✭✭

    @Mark,

    I saw a talk presented by @mhutch and he mentioned installing a second copy of Xamarin Studion as a way of launching 2 separate copies of the IDE. You could duplicate the Xamarin Studio App with Finder and use the second copy as the Alpha version. I just tried it and it seems to work. The second is on the Alpha channel and is downloading the latest bits and the original version is still on the stable channel.

  • MarkReynoldsMarkReynolds USMember ✭✭

    Thanks for the help Christopher; I was wondering if that might work. I'll give that a shot this afternoon!

  • ChrisMillerChrisMiller USBeta, Developer Group Leader ✭✭

    I just got around to finishing the Alpha install. It installed cleanly into a duplicate of the Xamarin Studio and didn't touch the other copy.

  • KenLavigneKenLavigne USBeta
    edited April 2013

    Can someone help me please? I have a storyboard that works fine in Xcode but will not open in the new Xamarin designer. I don't know where to go to get any error info. All I see is a box in the center of the screen with a red circle with a while dash in the middle of it. The words to the right are "There was a problem rendering this document." It does still open in Xcode and I am using Xcode 4.6.1

    I also have a smaller storyboard in the same project that does open fine.

    Thanks in advance.

  • AlexCorradoAlexCorrado USXamarin Team Xamurai

    You can find a more extensive log by going to the Help menu and choosing Open Log Directory. The iOS designer logs are prefixed "iOSDesigner."

  • AlanMcGovernAlanMcGovern USXamarin Team Xamurai

    Typically the fastest way to get these issues fixed is to send us a copy of the actual storyboard file if you are comfortable doing that. Alternatively the log file might contain enough information for us to fix the issue, but it does not always help.

  • RijaRabeRijaRabe USMember

    Hello,
    I just began with the Phoneword tutorial and boom! issue opening the main storyboard that was automatically created by the template.
    Do I still need to send a storyboard even*n like that? (xCode bêta 6 is referenced on the Xamarin studio preferences)

  • RijaRabeRijaRabe USMember

    Pointing to xCode 5.1 (Stable version) fix the issue!

  • RSHRSH USUniversity ✭✭

    System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.<>c__DisplayClass3.b__0(VSBuildServerClient client)
    at Xamarin.VisualStudio.IOS.Utilities.Helpers.<>c__DisplayClass9c1.<RunOnlyIfConnected>b__9a() at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
    at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.<>c__DisplayClass3.b__0(VSBuildServerClient client)
    at Xamarin.VisualStudio.IOS.Utilities.Helpers.<>c__DisplayClass9c1.<RunOnlyIfConnected>b__9a() at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()<---

    Contents of C:\Users\ryan\AppData\Local\Xamarin\Log\12.0\iOSDesigner.2014-08-06__14-28-38.log:
    [2014-08-06 14:29:09.6] INFO: Starting full reload...
    [2014-08-06 14:29:09.6] INFO: Reloading: Serialization took 2ms
    [2014-08-06 14:29:10.3] ERROR: EnsureSession (counter 0): System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.<>c__DisplayClass3.b__0(VSBuildServerClient client)
    at Xamarin.VisualStudio.IOS.Utilities.Helpers.<>c__DisplayClass9c1.<RunOnlyIfConnected>b__9a() at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    --- End of inner exception stack trace ---
    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
    at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.SendPayload(DeviceTrait device, Int32 maxSdkMajorVersion, MemoryStream payload)
    at Xamarin.VisualStudio.IOS.Designer.MtbServerProcessConnection.SendRequestImpl(Action1 send) at MonoTouch.Design.Client.ServerProcessConnection.SendRequest(Action1 send, Action1 recv, Boolean throwIfNotRunning) at MonoTouch.Design.Client.ServerProcessConnection.SendRequest(CommandRequest req, Boolean throwIfNotRunning) at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse](CommandRequest req, Boolean throwIfNotRunning) at MonoTouch.Design.Client.ServerProcessConnection.CreateSession() at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    --- End of inner exception stack trace ---
    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result()
    at MonoTouch.Design.Client.IPhoneDesignerSession.<>c__DisplayClass761.<EnsureSession>b__75(Task1 t)
    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at MonoTouch.Design.Client.IPhoneDesignerSession.<>c__DisplayClass761.b__74()
    ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.<>c__DisplayClass3.b__0(VSBuildServerClient client)
    at Xamarin.VisualStudio.IOS.Utilities.Helpers.<>c__DisplayClass9c1.<RunOnlyIfConnected>b__9a() at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    --- End of inner exception stack trace ---
    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
    at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.SendPayload(DeviceTrait device, Int32 maxSdkMajorVersion, MemoryStream payload)
    at Xamarin.VisualStudio.IOS.Designer.MtbServerProcessConnection.SendRequestImpl(Action1 send) at MonoTouch.Design.Client.ServerProcessConnection.SendRequest(Action1 send, Action1 recv, Boolean throwIfNotRunning) at MonoTouch.Design.Client.ServerProcessConnection.SendRequest(CommandRequest req, Boolean throwIfNotRunning) at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse](CommandRequest req, Boolean throwIfNotRunning) at MonoTouch.Design.Client.ServerProcessConnection.CreateSession() at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    --- End of inner exception stack trace ---
    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result()
    at MonoTouch.Design.Client.IPhoneDesignerSession.<>c__DisplayClass761.<EnsureSession>b__75(Task1 t)
    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke() at System.Threading.Tasks.Task.Execute() ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.<>c__DisplayClass3.<SendPayload>b__0(VSBuildServerClient client) at Xamarin.VisualStudio.IOS.Utilities.Helpers.<>c__DisplayClass9c1.b__9a()
    at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.SendPayload(DeviceTrait device, Int32 maxSdkMajorVersion, MemoryStream payload) at Xamarin.VisualStudio.IOS.Designer.MtbServerProcessConnection.SendRequestImpl(Action1 send)
    at MonoTouch.Design.Client.ServerProcessConnection.SendRequest(Action1 send, Action1 recv, Boolean throwIfNotRunning)
    at MonoTouch.Design.Client.ServerProcessConnection.SendRequest(CommandRequest req, Boolean throwIfNotRunning)
    at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse](CommandRequest req, Boolean throwIfNotRunning)
    at MonoTouch.Design.Client.ServerProcessConnection.CreateSession()
    at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() ---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object. at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.<>c__DisplayClass3.<SendPayload>b__0(VSBuildServerClient client) at Xamarin.VisualStudio.IOS.Utilities.Helpers.<>c__DisplayClass9c1.b__9a()
    at System.Threading.Tasks.Task`1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()<---
    <---
    <---

    [2014-08-06 14:29:10.4] ERROR: Unexpected exception while reloading XML for MonoTouch.Design.Client.IPhoneDesignerItem[]
    System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.<>c__DisplayClass3.b__0(VSBuildServerClient client)
    at Xamarin.VisualStudio.IOS.Utilities.Helpers.<>c__DisplayClass9c1.<RunOnlyIfConnected>b__9a() at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
    at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.<>c__DisplayClass3.b__0(VSBuildServerClient client)
    at Xamarin.VisualStudio.IOS.Utilities.Helpers.<>c__DisplayClass9c1.<RunOnlyIfConnected>b__9a() at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()<---

    [2014-08-06 14:29:10.4] INFO: Reload complete in 794ms.
    [2014-08-06 14:35:44.9] INFO: Starting full reload...
    [2014-08-06 14:35:44.9] INFO: Reloading: Serialization took 0ms
    [2014-08-06 14:35:45.4] ERROR: EnsureSession (counter 0): System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.<>c__DisplayClass3.b__0(VSBuildServerClient client)
    at Xamarin.VisualStudio.IOS.Utilities.Helpers.<>c__DisplayClass9c1.<RunOnlyIfConnected>b__9a() at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    --- End of inner exception stack trace ---
    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
    at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.SendPayload(DeviceTrait device, Int32 maxSdkMajorVersion, MemoryStream payload)
    at Xamarin.VisualStudio.IOS.Designer.MtbServerProcessConnection.SendRequestImpl(Action1 send) at MonoTouch.Design.Client.ServerProcessConnection.SendRequest(Action1 send, Action1 recv, Boolean throwIfNotRunning) at MonoTouch.Design.Client.ServerProcessConnection.SendRequest(CommandRequest req, Boolean throwIfNotRunning) at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse](CommandRequest req, Boolean throwIfNotRunning) at MonoTouch.Design.Client.ServerProcessConnection.CreateSession() at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    --- End of inner exception stack trace ---
    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result()
    at MonoTouch.Design.Client.IPhoneDesignerSession.<>c__DisplayClass761.<EnsureSession>b__75(Task1 t)
    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at MonoTouch.Design.Client.IPhoneDesignerSession.<>c__DisplayClass761.b__74()
    ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.<>c__DisplayClass3.b__0(VSBuildServerClient client)
    at Xamarin.VisualStudio.IOS.Utilities.Helpers.<>c__DisplayClass9c1.<RunOnlyIfConnected>b__9a() at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    --- End of inner exception stack trace ---
    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
    at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.SendPayload(DeviceTrait device, Int32 maxSdkMajorVersion, MemoryStream payload)
    at Xamarin.VisualStudio.IOS.Designer.MtbServerProcessConnection.SendRequestImpl(Action1 send) at MonoTouch.Design.Client.ServerProcessConnection.SendRequest(Action1 send, Action1 recv, Boolean throwIfNotRunning) at MonoTouch.Design.Client.ServerProcessConnection.SendRequest(CommandRequest req, Boolean throwIfNotRunning) at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse](CommandRequest req, Boolean throwIfNotRunning) at MonoTouch.Design.Client.ServerProcessConnection.CreateSession() at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    --- End of inner exception stack trace ---
    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result()
    at MonoTouch.Design.Client.IPhoneDesignerSession.<>c__DisplayClass761.<EnsureSession>b__75(Task1 t)
    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke() at System.Threading.Tasks.Task.Execute() ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.<>c__DisplayClass3.<SendPayload>b__0(VSBuildServerClient client) at Xamarin.VisualStudio.IOS.Utilities.Helpers.<>c__DisplayClass9c1.b__9a()
    at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.SendPayload(DeviceTrait device, Int32 maxSdkMajorVersion, MemoryStream payload) at Xamarin.VisualStudio.IOS.Designer.MtbServerProcessConnection.SendRequestImpl(Action1 send)
    at MonoTouch.Design.Client.ServerProcessConnection.SendRequest(Action1 send, Action1 recv, Boolean throwIfNotRunning)
    at MonoTouch.Design.Client.ServerProcessConnection.SendRequest(CommandRequest req, Boolean throwIfNotRunning)
    at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse](CommandRequest req, Boolean throwIfNotRunning)
    at MonoTouch.Design.Client.ServerProcessConnection.CreateSession()
    at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() ---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object. at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.<>c__DisplayClass3.<SendPayload>b__0(VSBuildServerClient client) at Xamarin.VisualStudio.IOS.Utilities.Helpers.<>c__DisplayClass9c1.b__9a()
    at System.Threading.Tasks.Task`1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()<---
    <---
    <---

    [2014-08-06 14:35:45.4] ERROR: Unexpected exception while reloading XML for MonoTouch.Design.Client.IPhoneDesignerItem[]
    System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.<>c__DisplayClass3.b__0(VSBuildServerClient client)
    at Xamarin.VisualStudio.IOS.Utilities.Helpers.<>c__DisplayClass9c1.<RunOnlyIfConnected>b__9a() at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
    at Xamarin.VisualStudio.IOS.Designer.DesignerRemoteRequests.<>c__DisplayClass3.b__0(VSBuildServerClient client)
    at Xamarin.VisualStudio.IOS.Utilities.Helpers.<>c__DisplayClass9c1.<RunOnlyIfConnected>b__9a() at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()<---

  • AlanMcGovernAlanMcGovern USXamarin Team Xamurai

    Can you attach the log files generated by Visual Studio? Unfortunately there was an issue in the designer integration which converted the real exception into a NullReferenceException so we cannot actually tell what the issue is from the data you pasted. However the log file will have the real exception in it and we can diagnose the problem with that.

Sign In or Register to comment.