Adhoc deployed app on a device, the app runs fine with wifi, but does not work with 3g connection. Any idea what i'm missing?

Din't get much help from google.

And also the app installed does not show in the Use Mobile Data For : list

Code :

```
    //To handle time out issue with 3g

    configuration.timeoutIntervalForResource = 60

    // Mark using Alamofire to do the downloads

    self.alamofireManager = Alamofire.Manager(configuration:configuration)
    self.alamofireManager!.request(.GET, jsonUrl).responseJSON(){
        (_, _, JSON, _) in
        println("printing json :\(JSON)")
        if JSON != nil {

              let imageInfos = (JSON!.valueForKey("image") as [NSDictionary]).map {
                ImageInfo(id: $0["id"] as String, url: $0["url"] as String)
            }

           self.tableData.addObjectsFromArray(imageInfos)
 }

```

Error log:

I get a

```
(Error Domain = NSURLErrorDomain Code = -1004 )

```

no matter how much i increase the timeoutInterval. Tried both with Resource and Request

Forgot to mention that the server was a Raspberry Pi, and i could not access the server outside the LAN so that was causing the problem. Thanks for the help. timeout was very helpful in handling server faults.