Question: I need to search table's for a mobile, first name or last name and return the row in the table using PHP and MySQL. My tables are below.

db\_user:

```
id           mobile        info_id             status    
1            9937229870    12                  1   
2            1234567892    13                  1
3            2123212324    14                  1

```

db\_user\_info:

```
info_id      fname         email               lname    
  12         Jay           as@gmail.com        Roy   
  13         Jarin         aw@gmail.com        Raot        
  14         Stoks         aq@gmail.com        Dravid

```

db\_skill:

```
skill_id     info_id       category
1            13            cat1
2            14            cat2
3            15            cat3

```

For example if a user has the name Jay Roy and their email is aw@gmail.com and the mobile is 2123212324 then it would return:

db\_user\_info:

```
info_id      fname         email               lname    
12           Jay           as@gmail.com        Roy   
13           Jarin         aw@gmail.com        Raot

```

db\_user:

```
id           mobile        info_id             status
3            2123212324    14                  1

```

How can I do this?

Answer: 
Recently I started facing issues during upload progress and Xcode used to get stuck a lot and would eventually fail with the second error which you are seeing. Having fed up for a while, I switched to use Application Loader in XCode. 

Way to use would be, first archive your app, once that is finished, you can spot `Export` option on the right hand side panel just below `Upload to App Store` option. After you select Export You will see different options. Select `Save for iOS App Deployment`. This will create a .ipa file and save it in your desired location. 

Now, go to XCode -> Developer Tools -> Application Loader -> Deliver Your App -> Select the .ipa file where you had saved before. 

This method has been helping me a lot and failed not even once for quite sometime. Hope it helps you as well.
It would only work if I used Application Loader, like this:

First, export the application Archive from Xcode's Organizer window (it saves this into a directory on the Desktop).

Then, from Xcode:

Xcode > Open Developer Tool > Application Loader