Question: I'm getting this error with code signing with Xcode 8:

> 
> Your account does not have sufficient permissions to modify containers
> 
> 
> 

[![enter image description here](https://i.stack.imgur.com/9nx1E.png)](https://i.stack.imgur.com/9nx1E.png)

What does it want from me?

Answer: 
1) Remove all automatically created provision profiles from

```
~/Library/MobileDevice/Provisioning Profiles/

```

2) In Xcode 11.1 and higher remove and add capabilities

[![](https://i.stack.imgur.com/OSPSU.png)](https://i.stack.imgur.com/OSPSU.png)
Another potential solution, depending on your needs, is to upgrade to the paid version of the Apple Developer Program; this gives you access to the iCloud container features. Once paid and activated (the membership application takes a few hours to go through if you're an individual... sometimes a few days if you're a business) you'll need to enable iCloud features via the online dashboard or via XCode as per Apple's instructions. You may then have to restart XCode.