I need to update one of my live apps whose iCloud container name prefix is my TeamIDPrefix
.
Xcode 6 only allows iCloud container names that start with iCloud.
Problem: If I use the new iCloud container name (with prefix of iCloud), my users would no longer be able to access their data which is in in old container (with the TeamID prefix).
This solved my problem.
Xcode will show you errors under "capabilities". Ignore the errors and do not hit "Fix it" as it would mess up everything.