Question: Table structure for table `site`
--------------------------------

```
CREATE TABLE `site` (
  `id` int(10) NOT NULL auto_increment,
  `site_name` varchar(255) NOT NULL,
  `adresa` varchar(255) NOT NULL,
  `oras` varchar(255) NOT NULL,
  `stat` varchar(255) NOT NULL,
  `zip` varchar(255) NOT NULL,
  `telefon` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

```

-- 

-- Dumping data for table `site`
--------------------------------

```
INSERT INTO `site` VALUES (1, 'company LLC', 'address   ', 'city, KS', 'zip ', '(111) 111-7338', 'sales');

```

Answer: 
For me, here's what I did to fix this issue:

1. Click on your project in the Xcode Project navigator.
2. Click on the Signing & Capabilities tab.
3. Click the blue arrows next to Team, and select None.
4. Click the blue arrows again next to Team, and re-select the team it was originally set to.
If your certificate is going to expire then you have to recreate it and make sure you are using same certificate for editing/Creating Provisioning profile.