What sites the XCode access when we will publish a app - xcode

In my company, we have a stupid firewall. It block all itunes.apple.com sites and to publish an app, we have to use our internet. To publish a app, we have to go in this screen in Organizer and press "Share"
Was asked me: what things you have to unblock to publish an app? With my limited knowledge I use the Wireshark and discovery that the program first access the site:
http://contentdelivery.itunes.apple.com:443
But and after, there are a special port, or a magic thing that the firewall can block? Or it have to unblock only site with itunes.apple.com for http and https? I really don't know find it :(

I'd try something like Little Snitch to find out, it will pop up a box every time a program tries to access something on the internet - giving you the address and port number.
I find it pretty useful for this and testing connectivity issues in debugging.

Related

Connection timeout issue in Visual Studio Code

I have been facing some weird connection timeout issues in Visual Studio Code.
I am writing a simple web crawler to read a website using the requests and beautifulsoup4 packages in Python. I don't have any problem opening the URL in my web browsers (opens fine in Edge and Chrome), but when I say request.get(url), then the request always times out. Also, when I try to install some additional packages using pip, it always times out. But the corresponding PyPI page opens fine on my web browser.
The funny thing is - I am facing this issue only when I work out of my company's office. I don't have this issue at all when I am working from my home. There shouldn't be a system-wide firewall or a network firewall, because if there is, then the sites shouldn't be opening on my browsers too, right?
I went to VS Code Preferences and checked the settings there. There's no proxy set up. There is nothing specifically that would block network requests from inside VS Code. Here are some screenshots showing what VS Code Settings looks like.
I looked online and couldn't find much, since every question out there is regarding timeouts in SSH connections, which isn't relevant to me here. This official site here gives a bunch of URLs that need to be allowed by the firewall for VS Code to be able to connect to the network, but I don't know where to add them.
Is there something that I am missing? Any leads on how I can debug this issue? Or is it something that I'll have to take up with my company's network administrator?
TIA.

Debug VisualStudio in tablet instead of desktop

My question might be silly but I'm new and I really need help.
I am making some changes to a nopCommerce site in VisualStudio. When I hit run in Google Chrome it starts on localhost:number and I can debug from my pc (meaning break points are hit when I go to specific pages).
What I need to do is debug my site while connecting to it from my tablet instead of my pc.
I think I can do that. Can someone tell me how?
Thank you for your help :)
This is not a complete answer, but the following link will give you the nuts and bolts of what you need to do in order to achieve what you are after:
http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx
Make sure you do the Ninja way, not the easy way.
After configuring the IIS Express settings and setting up the host header, you can debug from any device that connects to the internet from the same subnet where IIS Express is. You can ignore everything else that has to do with setting up the self-signed SSL certificate and serving up content over port 443, it sounds like all you want is port 80.

Can't access microsoft.com and skype.com web site after installing VS2013 Preview

Recently i installed Microsoft Visual Studio 2013 Preview Ultimate on Windows 7. Everything went smoothly except now i can't access www.microsoft.com and www.skype.com anymore. Tried latest IE10 and FireFox, both show blank page when accessing the above mentioned web sites. Firefox in its left bottom corner shows that it is waiting for ajax.aspnetcdn.com.
I'd really like not to reinstall OS on my machine, so i'd appreciate any idea how to fix this. For myself i tried to stop Firewall service and disable MS Security Essentials runtime protection, neither helped.
PS: I can access www.microsoft.com and www.skype.com from another machine in the same local network
UPDATE: i am using tfs.visulstudio.com as my TFS server and it opens fine if i am not signed in. But once i am trying to log in it opens blank, like browser is waiting for something (the same as for microsoft.com and skype.com). Something related to live ID?
Don't think this is the website to post this kind of question but try uninstalling VS2013 preview because you think that's causing the problem. Search in Google for people getting similar problem. I also don't think it is VS2013 because I can't think of anyway of how VS2013 would somehow disable you from going to a certain website. Make sure the sites weren't down at the time or if you're having something kind of Internet server issues.
skype is owned by microsoft, so you can't enter both microsoft pages. This could be related with some kind of ISP (Internet Service Provider) and not with VS2013, or you can try rebooting your router. Last thing i would do is traceroute both address and see where they fall.
I wanted to write this as a comment but I don't have enough reputation yet. Anyway, obviously trying to uninstall the program and trying again would be a good start as already mentioned, but you should also look inside your hosts file for any weird redirections some virus of malware might have set up. It's located at "C:\Windows\System32\drivers\etc" and you can open this inside notepad (might require notepad to be run as an administrator). Check to see if skype.com or microsoft.com are in there and are pointing to a different IP address. If they are you can just remove them and save the file (might require a restart to take effect). If still no luck you should try a livecd of a linux distro to make sure the problem is definitely inside your windows somewhere.
Let us know how it goes.

Firewall impeding Bonjour network debugging

I’m trying to debug a Bonjour network routine, and every time I run it, the Mac’s firewall asks “Do you want the application ProjectName to accept incoming network connections?”
I click “allow,” give it the administrator name and password, and the app is duly added to the firewall’s list of allowed incoming-connections apps…until the next run.
Debugging this sync routine is cumbersome as it is. It’s really a nuisance having to type in the admin and password for every run. Of course I could get around this by running the Mac as admin, but I’d rather not compromise the security that way.
Does Xcode have some project setting that will calm the firewall?
You should code sign your app. The firewall is much more lenient toward apps that are signed.
To do that, you need to go into your Project Settings and in the Code Signing section, you should add one of your provisioning profiles as the Code Signing Identity.
There's a pretty good description of the process here.

Is it possible to easily compile and run code in another machine in Visual Studio/Eclipse?

Let's say I am developing a program that needs a bit more power than a netbook can provide and I have a good computer at home connected to the internet.
Is there any easy way to code in the netbook while I'm not at home and then when building, making it go and run on the computer at home?
I know running programs on other computers isn't a problem, but I'd like to know if it is possible to have an easy experience (it's still possible to debug, etc).
Thanks
It is definitely possible for Java code and Eclipse. But there are issues as well.
It helps a great deal if you have a fixed IP.
You need to open up ports on your firewall to be able to
copy your code into your PC
remote debug and upload your application
The last step will create issues with security that you need to address. I use ssh and public/private key to secure my connections.
In general, what you are asking is not much different to releasing a code to a server and debugging it. And normally servers sit somewhere on the internet or cloud.

Resources