title: Unable to get chromecast sample ios app to work
body: <p>This is what I have done so far: 
  1) downloaded the sample ios app from Github (cast-ios-sample)</p>
  
  <p>2) Got my device whitelisted by Google and received App ID, something like this, changed of course, but looks similar to this abcdefgh-1234-5678-abcd-abcdefghijkl.</p>
  
  <p>3) Updated receiver.html file to </p>
  
  <pre><code>// Initialize and start the media playing receiver
  var receiver = new cast.receiver.Receiver('abcdefgh-1234-5678-abcd-abcdefghijkl', [cast.receiver.RemoteMedia.NAMESPACE], "", 5);
  </code></pre>
  
  <p>4)loaded receiver.html in an AWS S3 bucket and made it public (I can download the file from my browser, so I confirmed it is public).<br>
  5) In xcode, modified GCKAppDelegate.m as follows:</p>
  
  <pre><code>NSLog(@"Setting receiver url.");
  //self.host = @"http://www.yourdomain.com/yourreceiver.html";
  self.host = @"http://name_of_bucket.amazonaws.com/receiver.html";
  </code></pre>
  
  <p>6) In xcode, modified GCKViewController.m as follows:
      NSLog(@"Starting session.");
      [self.mSession startSessionWithApplication:@"abcdefgh-1234-5678-abcd-abcdefghijkl"                                    argument:self.applicationArgument];</p>
  
  <p>7) I am able to run the application and I can see my Chormecast in the app, but when I select it, I get the following errors in the xcode console:</p>
  
  <pre><code>2013-08-09 11:49:20.746 ChromecastDemoApp[16077:c07] executing a GCKStartApplicationRequest with url=http://172.17.1.11:8008/apps/abcdefgh-1234-5678-abcd-abcdefghijkl
  2013-08-09 11:49:20.747 ChromecastDemoApp[16077:c07] started POST request for: http://172.17.1.11:8008/apps/abcdefgh-1234-5678-abcd-abcdefghijkl and data: &lt;GCKMimeData: 0xf8089c0&gt;
  2013-08-09 11:49:20.748 ChromecastDemoApp[16077:c07] Selected device: ChromecastXXXX
  2013-08-09 11:49:20.796 ChromecastDemoApp[16077:c07] httpRequest:didCompleteWithStatusCode:404:data:0 bytes
  2013-08-09 11:49:20.796 ChromecastDemoApp[16077:c07] Request failed with error: 5
  2013-08-09 11:49:20.796 ChromecastDemoApp[16077:c07] tearDownSessionWithError: Error   Domain=com.google.GCKFramework.GCKApplicationSessionError Code=1 "failed to start application (com.google.GCKFramework.GCKApplicationSessionError)"
  2013-08-09 11:49:20.797 ChromecastDemoApp[16077:c07] all teardown steps complete
  2013-08-09 11:49:20.797 ChromecastDemoApp[16077:c07] GCK Session failed to start: Error Domain=com.google.GCKFramework.GCKApplicationSessionError Code=1 "failed to start application (com.google.GCKFramework.GCKApplicationSessionError)"
  </code></pre>
  
  <p>8) I am unable to get my web console working by going to localhost:9222.</p>
  
  <p>Any help in what I am doing wrong would be appreciated it.</p>