Xcode warns about mismatched iCloud containers with per-configuration bundle IDs

Originator:matej
Number:rdar://27750195 Date Originated:08-Aug-2016 08:12 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 8b4
Classification:Other Bug Reproducible:Always
 
Summary:

Our app uses a separate build configuration with a different bundle identifier for nightly builds (see image #3 and #4). We use the default iCloud container that is tied to the bundle ID (see image #2). We also set up a separate provisioning profile for nightly builds with the different bundle id and (and thus also a different iCloud container ID). 

Xcode 8 warns that the nightly profile does not have the correct iCloud container for the default bundle ID (see image #1). 

Steps to Reproduce:

Create two build configurations with different bundle IDs. Enabled iCloud with the default container settings. Generate a provisioning profile for each of the two configurations and set them up in Xcode. 

Expected Results:

Due to the modified bundle ID, the iCloud container should match the alternative provisioning profile. Xcode should not warn about this configuration. 

Actual Results:

A warning is displayed because the default iCloud container could not be matched to the alternative provisioning profile. 

Regression:

Happens in Xcode 8 (tested with b4).

Comments

Screenshots

https://cloudup.com/iv1O_K5X_ps


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!