I am trying to distribute an enterprise application, but I am having trouble when users try to download the app over a 3G connection. I've created the proper manifest file and it points correctly to the .ipa location. I am able to download and install the application fine over a Wi-Fi network, but when I switch off Wi-Fi, I am no longer able to download the app. Rather than a successful installation, I get the "Unable to download" pop up.
My application size is only 440K, so it is not subject to file size limits.
Does anyone know what would be causing this? Help would be greatly appreciated. Please let me know if you need more details.
Thanks.
As it turns out, our web server was experiencing network latency. I believe we were losing the connection to Apple's server, which was verifying our application's enterprise status. Eventually the latency cleared up and we were able to download the file with no problems.
Is the your ipa file and manifest on a public server, or is it on an internal server? When you're using the 3G connection you're only able to see machines that are public. When you're using wi-fi you can see machines that are on a local network or intranet.
Related
I'm located in China, and in the past, I have uploaded binary to iTunes Connect several times with no problem. I recently upgraded to Lion and XCode 4.3, and have been unable to succesfully upload. After validating my binary (using Archive, always works fine), I press Distribute, and after several minutes, I get the following errors. I contacted Developer Support, who told me there was nothing they could do, as my problem is due to being located in China.
I have a hard time believing that because CanYouSeeMe.org shows my port 443 as open, and so my question is: Is anyone on SO located in China and do you have problems uploading binary? If so, what steps do you take to make it work?
My Error Codes:
Communication Error. Please use diagnostic mode to check connectivity. You need to have outbound access to TCP Port 443.
An exception has occurred:Operation timed out.
Could not connect to Apple's web service.
An error occurred while connecting to the transport host https://itmsdav.apple.com: Operation timed out.
Could not start delivery: all transports failed diagnostics.
Just to add on to the answer, if this screenshot is what you getting.
(My case is from XCode 4.5.2 Organizer during Distribute...
You should try another internet connection, in my case it failed during WIFI but SUCCEEDED when I use Tethering!
This is not a permanent solution to original question but as least app is submitted now.
It seems that your ISP or router has some wall up blocking all outbound traffic. I'm no expert on china but I think that you should be able to tether your phone. If you can't, try a random Wi-Fi hotspot at one of the big stores. (In the U.S. Starbucks)
Use Application loader old version like 2.5.2.
super basic question - I am building an iphone app but will need to set up my computer as a server so my app can send data to my computer. what are the first steps that i need to take?
Thanks!
If you are writing an iPhone app you are probably on a Macbook so you can easily enable Apache in system preferences, click sharing, enable web sharing it will then show you your computers IP address that you can hit over a web browser.
That will set you up with a web server on your machine. Since your emulator and web server will be on the same wifi network and even if you deploy to the device you can have it on your wifi network you should be able to post data to your Mac's web server.
If you are passing data to it you'll need to read about 'web services', probably REST web services. I would then suggest reading about PHP and/or Ruby or Python as your programming language to interpret what you are posting to the web service.
Hope that helps you on your way.
If you are not on a Mac you can't develop an iPhone app anyways ;) so the above strategy should work for you.
3G will only work for you if your server is available outside of the network. Tons of info online on how to set that up but essentially what you would do is configure your router to forward incoming traffic from (for example) port 8080 to the ip address of your server. Assuming you are on a router.
As a side note, if down the line you use Ruby you could check out http://www.heroku.com/how if you want to host your server there
I have recently been having problems with my app and I need to view the data being sent to and from my iPhone. I have read about Paros and downloaded it, but I don't know what information I need to put into paros and my iPhone to make it work. I am running a normal windows 7 installation with no current proxy server and my ISP is telus with the fiber optics package. So what do I need to install and where do I find all of the information needed to read the data being sent over the network by my iPhone using paros?
I do this a lot. I do it with a MacBook, but I'm sure you can use a similar technique to do it from windows:
Connect your PC to a hard-wired ethernet to the outside world.
Set your PC up for internet sharing. (This is the big thing that will work differently between the Mac and PC). Set up to share your Hard-wired Connection with people from your WiFi Connection. Your computer will then become a wireless access point.
Connect your iPhone to use your PC as it's WiFi network
Download and run Wireshark (Open Source - Publicly available) on your PC. Wireshark will sniff and log the network traffic.
You can then obviously set up whatever rules your would like to limit your network trace to only your iPhone.
Like I said - I do this all the time with a MacBook and it's easy and powerful!
I was thinking about creating an iPhone app "front end" for one of our internal systems.
I suspect this will need to run via a Cisco VPN (connecting with a key code).
What are the options to do this on the iPhone?
Do you need to manually connect to a VPN somehow using the iPhone and then start the iPhone app?
Or can the app prompt users to enter their key code and then start the VPN session?
No, (as of iPhone SDK 3.1.2) there's no API provided by the SDK to manipulate VPN connections. The user will have to manually connect to the network.
While there may not be an API available to manipulate the VPN itself, as of iOS 3.0 enterprises can at least enforce hosts within particular domains be accessed via a VPN, and "VPN On Demand" can be used to turn on the VPN when a given resource is being accessed. Without the enterprise deployment tools though, I suspect you're out of luck.
It doesn't sound like the application will be able to have any insight in to any of this happening, though.
Ref: http://support.apple.com/kb/HT1424
Try iSimplyConnect - it support Dial-On-Demand.
I am making iPhone application for accessing bugzilla (application).
Rightnow my application is allow to access bugzilla from anywhere without VPN IPSec, but whenever some bugzilla's required VPN IPsec authentication to use from outside the network,
It will not allow to access bugzilla from my iPhone application,
how can I code to configure VPN first then connect to bugzilla?
Thank you.
There isn't any programmatic access to the VPN system on the iPhone so you can do it in your application. If the question is if it can be done at all on the iPhone the answer is yes though since the iPhone itself does support VPN with ipsec. The user would need to set that up and activate it before trying to connect using the application.
Please have a look at the existing application for accessing Bugzilla on iPhone.