Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Can we please have some proper 'getting started' info #63

Open
deanchalk opened this issue Apr 2, 2016 · 17 comments
Open

Can we please have some proper 'getting started' info #63

deanchalk opened this issue Apr 2, 2016 · 17 comments

Comments

@deanchalk
Copy link

Ive installed gorilla, and ive got this big 'now what' question mark floating over my head.

I cant watch video's (i wont go into why), so where the documentation.

Im sat here in front of visual studio without a clue about what to do next. Im gonna start googling, and now doubt ill piece it all together, but a proper 'getting started' quick set of docs would be super useful.

Im not an idiot, it doesn't have to be 'Gorilla for people who know nothing about nothing' kinda stuff, just a quick FAQ that get get me to first base

Thanks

@jpbrocca
Copy link
Contributor

jpbrocca commented Apr 2, 2016

Hi @deanchalk thanks for your feedback.

We have a very simple walkthrough that you can get once Gorilla is installed which will give you the basic info you need.

To see it simply right click on Gorilla icon then select the "Getting Started Walkthrough":
image

Then you will the window with that info:
image

There you will find the 3 basic steps you need to follow.

Also on Visual Studio there is a getting started:
image

...with info on how to use the Gorilla Player addin for Visual Studio:
image

Hope that helps, but in case you need more help don't hesitate to let me know.

Regards,
JP

@deanchalk
Copy link
Author

But it doesnt work, and there are no instructions on getting it to work when my Visual Studio is in a parallels VM and my iOS simulator is on the mac

@jpbrocca
Copy link
Contributor

jpbrocca commented Apr 3, 2016

Hi @deanchalk,
What you mean it doesn't work? the walkthrough or Gorilla ?

I will need more info to guide you.

Can you try to open the menu doing right click on Gorilla icon, then select the "About .." option?

You should get info about the ports being used and the status, please tell me what you get.

On visual Studio, did you get the Gorilla status window and tried to connect?

Thanks,
JP

@deanchalk
Copy link
Author

Gorilla player on my IPhone simulator on my Mac won't connect to Gorilla
install on my windows virtual machine.
It won't connect automatically, and won't connect with manual setup.
My VM is running parallels.
Have you tested your technology in this kind of setup ?

On Sun, 3 Apr 2016, 11:19 jpbrocca, notifications@github.com wrote:

Hi @deanchalk https://github.com/deanchalk,
What you mean it doesn't work? the walkthrough or Gorilla ?

I will need more info to guide you.

Can you try to open the menu doing right click on Gorilla icon, then
select the "About .." option?

You should get info about the ports being used and the status, please tell
me what you get.

On visual Studio, did you get the Gorilla status window and tried to
connect?

Thanks,
JP


You are receiving this because you were mentioned.

Reply to this email directly or view it on GitHub
#63 (comment)

@lhughey
Copy link

lhughey commented Apr 3, 2016

I'm also having this issue. I'm willing to bet that this is the dominant setup for your users.

I am able to get Gorilla player to connect by using a manual setup and entering in the IP of the build host (which is the host mac). The IP is the same one of the Xamarin build host. I'm able to successfully connect, but the Gorilla player throws an error

"Error occurred while setting Gorilla Target XAML. File MyPeople.xaml (errors occurs while registering its colution)." I've tried to connect with various solutions but I keep getting the same error message.

It would also be good to have a "Logs" menu item. It would make it easier than searching the file system for logs. I searched for Gorilla on my mac and couldn't find the logs quickly, so i uploaded an image. I hope it helps.

I'm not sure if its related to our issues, but I noticed that XamStudio displays a dropdown device profile for Gorilla, Iphone and Iphone Simulator, where Vs.net just displays Iphone and Iphone Simulator in the drop down,

I am very excited about this product! Keep up the good work guys.

simulator screen shot apr 3 2016 3 16 57 pm

@dreboykin82
Copy link

I am also having a similar issue. Going through the walkthrough, step 2 doesn't seem to work. I open Player.sln... in visual studio and the projects require nuget packages to be refreshed. Trying to refresh the packages, I see a message in NuGet that reads "Acquiring lock for the installation of Xamarin.TestCloud.Agent 0.18.0. It never completes, it just hangs there indefinitely. This seems to be the issue. Without being able to complete this step I am unable to add Gorilla Player to my emulators for both Android and IOS.

@LeoHere
Copy link
Collaborator

LeoHere commented Apr 5, 2016

@deanchalk Couple of things to test:

  1. Try to access Gorilla About Page from your Mac. Gorilla should be up and running in the windows side of your machine, listening by default on port 9014 (assuming you are using 0.8.3.0). Open Safari and go to "address windows side":9014. If you are able to see the about page it means that at least from your Mac you can access Gorilla. If you can't see the page, I guess there are issues connecting both sides or a firewall messing around. Try to access Gorilla from a browser in your windows machine and let me know what you see.
  2. If you succeed, try to do the same from safari inside the iPhone simulator. Result?

@LeoHere
Copy link
Collaborator

LeoHere commented Apr 5, 2016

@lhughey Can you give me more details about your setup? Gorilla is installed on the windows or mac side? From what you said you are using XS from windows side, right?

I like your Logs menu item idea!

@LeoHere
Copy link
Collaborator

LeoHere commented Apr 5, 2016

@dreboykin82 That is weird. If you create a new XF solution, are those packages added successfully to the solution? Are you having that issue with all the packages or just the TestCloud.Agent?

Did you tested it using XS instead of VS? same result?

@lhughey
Copy link

lhughey commented Apr 5, 2016

@LeoHere

I'm running in EL Capitan on a MacBook Pro. My Windows 10 installation is running in parallels 11. The visual studio is vs 2015 update 2. The gorilla is .8.3.

My goal is to be able to run iOS solutions from vs.net (preferably to the simulator running from the Mac host).

From your earlier messages, it seems like I need to have gorilla running on both os's and they need to talk to each other. I didn't get that from the documentation. It could have been a reading comprehension fail on my part. I had primarily had it running from the Mac side since it was the side that the simulator run on.

I have tried different combinations of running them in parallel with no luck. Port 9014 between the host and vm is closed. I spent a couple of minutes trying to open it to no avail. I didn't know if I should go down that road.

Another point: the gorilla window in vs.net shows that it's connected and it's boring because it doesn't have any calm to render. It doesn't detect any camp page openings.

@deanchalk
Copy link
Author

Have you actually tested this in a virtual machine environment ? If you
have personally had this working then it's worth persevering, otherwise I'm
sceptical that it will work as host to client comms on virtual machines can
be challenging

Thanks

Dean

On Tue, 5 Apr 2016, 10:21 Leonardo Rodríguez, notifications@github.com
wrote:

@deanchalk https://github.com/deanchalk Couple of things to test:

  1. Try to access Gorilla About Page from your Mac. Gorilla should be up
    and running in the windows side of your machine, listening by default on
    port 9014 (assuming you are using 0.8.3.0). Open Safari and go to
    :9014. If you are able to see the about page it means that at least from
    your Mac you can access Gorilla. If you can't see the page, I guess there
    are issues connecting both sides or a firewall messing around. Try to
    access Gorilla from a browser in your windows machine and let me know what
    you see.
  2. If you succeed, try to do the same from safari inside the iPhone
    simulator. Result?


You are receiving this because you were mentioned.

Reply to this email directly or view it on GitHub
#63 (comment)

@LeoHere
Copy link
Collaborator

LeoHere commented Apr 6, 2016

@lhughey There is no need to have Gorilla running in both host OS. Usually Gorilla should be installed where you IDE is (in your case that should be Windows, not Mac). Gorilla should be able to read on its own from the file system the solution you want to preview (i.e. 'C:\Users\lhughey\Gorilla\Samples\MyCoolCompanyApp\MyCoolCompanyApp.sln'). That is why it gives you an error each time you open a solution, it can't access any of those solutions.

So, you should install Gorilla on Windows and connect the iOS simulator from your Mac. You should be able to access port 9014 of your windows setup in order for this to work. Please let us know your findings and thanks for your time an patience.

Regarding the "boring gorilla issue" what is the root type of the page/view you are trying to preview?

@LeoHere
Copy link
Collaborator

LeoHere commented Apr 6, 2016

@deanchalk No, we didn't particularly tested the Parallels scenario so far. However Gorilla works fine when you have it installed in your Windows machine and you connect the simulator running from a Mac or a real device running on its own. My guess is that there might be some configuration issue blocking connectivity and that gorilla should work as it is in your scenario, but might be wrong. If you are willing to try I can assist you in finding what the problem might be. Thanks.

@lhughey
Copy link

lhughey commented Apr 10, 2016

@LeoHere
Sorry for the delay in responding. The file I was looking to view was a Xamarin forms .Xaml file. Gorilla works fine when being used with Xamarin studio, but I cant seem to get it working from Visual studio using the ios simulator or a real device as a display.

I have started Gorilla only in Windows. I've removed the default Gorilla firewall entries, as they didn't allow communication with the Mac host. I can now ping the Mac Host from windows and vice versa. I've also tried turning off the windows firewall.

I configured gorilla in VS to connect to local gorilla instance (also running in Windows). Unfortunately, the gorilla window shows to be connected but it cannot doesn't change when I view a XAML page from within VS. I've tried editing and re-saving files, but the gorilla window doesn't detect a change, nor does the client running on ios (in the host).

I've spent lots of time trying to get this to work, with no luck from visual studio.

@LeoHere
Copy link
Collaborator

LeoHere commented Apr 21, 2016

Hi @lhughey / @deanchalk,

Sorry for the delay. Finally I have the chance to setup Parallels on my dev environment.

My setup:

  • Mac OSX El Capitan
    • iOS Simulator 9.3
    • Gorilla Player iOS App
  • Parallels 11 - Windows 10 Pro
    • Visual Studio 2015 - Community Edition
    • Gorilla Player
  • iPhone Device
    • Gorilla Player iOS App

My Parallels setup is configured in Shared network access mode. My Mac and the iOS device are connected to the same Wifi (important for discovery).

During Gorilla first launch, Windows asked for permissions to access private/public networks. I allowed both.

After my initial setup I was able to connect from the iOS simulator to Gorilla running within Win10 only using Manual setup (I just entered 10.211.53.3:9014 -> connect -> ready to preview). At this point auto discovery was not working and also the physical device was not able to see Gorilla within Win10 (so automatic/manual setup was not possible). That makes sense since they were not in the same network.

In order to solve those issues I setup a couple of port forwarding rules in Parallels.

  • From: 9014 (TCP) -> To: Win10Pro Port:9014
  • From: 14578 (UDP) -> To: Win10Pro Port:14578

After doing so auto discovery start working both in the simulator and the iOS device and I can connect/preview normally.

@lhughey,

  • Is your parallels setup configured using shared network?
  • When you said "The file I was looking to view was a Xamarin forms .Xaml file. Gorilla works fine when being used with Xamarin studio,"
    • XS working from your mac, right? or XS working from Windows?
  • When you switch XAMLs within VS, are you seeing the Gorilla icon on the top/right corner of your XAML editor? Is gorilla configured to follow you or stick to a specific XAML?

Best,
Leo

@lhughey
Copy link

lhughey commented Apr 22, 2016

Thanks for the response, Leo. I've setup the port forwarding rules in Parallels as you've laid out. The player in simulator can see and connect with my player running on my Win10 VM. My visual studio 2015 enterprise (update 2) is configured to use its local IP address, but I am typing out its ip address so that it matches the same address that the player is connecting to, "10.211.xx.x"). The simulator (running in ios), the player in windows and the player extension in vs.net are all connected.

However, i don't get the gorilla icon on the top right corner of my Xaml editor. I've tried reinstalling the Gorilla extension multiple times. I've also tried different projects. I'm wondering if this might be a Visual studio Enterprise issue.

@MsXam
Copy link

MsXam commented Apr 28, 2016

I'm not sure what the issues are here . I have a MAC which houses a Parallels VM running Win10. Within W10 I use VS2015.

I probably took around 30 mins to get Gorilla Player up and running but thats probably because I am a superstar and would rather hurt my head trying to figure something out rather then moaning about it ;-) - and that includes installing the player on 4 androids devices (GenyMotion, XAP) together with 14 iOS Devices - Iphone 4s, 5, 5s, 6, 6s and iPADS running iOS 8, 9 and 9.3).

For those that cannot get this to work within this environment - if you are using a SHARED NETWORK interface within PARALLELS, remember that your VM will have a different IP to that of where your build Host will be running, typically this will be something like 10.211.55.2. You do not need to configure a HOST only network.

Steps to get GP working within VS2015

  1. Install latest version of GP
  2. Once you installed GP in your VM, right mouse button at bottom of task bar on your GP icon and 'INSTALL EXTRAS' - make sure you install the VS2015 integration component (@lhughey - this might be the last step you needed so that you see the happy GP within a XF editor file)
  3. Start up VS2015 - open the directory that contains the GP player files and deploy these accordingly to your chosen devices.
  4. Now in order to make your player connect to your GP server - you need to ensure that you change your GP connection with VS to be the local ip address of your VM. Try changing this to either localhost:9014 or if that doesnt work, explicitly specify the IP address of your VM - you can get this by typing IPCONFIG from within a DOS command session .... You set this IP from within the XAMARIN-Gorilla-> Settings tab in VS2015 Options.
  5. Once VS2015 is set up - then you need to go to your Player and this time , try and connect MANUALLY. - Enter the IP address of the VM box followed by the PORT, then hit the CONNECT button.

All things being setup - you should see your XAML page rendered properly on your simulator - you may need to set Tools-GorillaPlayer->Stick to this XAML so you get a better GP experience.....

I didnt need to set up port forwarding within Parallels - thats only applicable if you want to have auto discovery.

So now hopefully you will see instantly what your XAML looks like when you make changes and we can thank JP and the guys at UXDivers for a gr8 tool - MUCH better then the PREVIEWER that ships only with XS and remember this is BETA, imagine what the full release will be like ;-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants