Xcode gives incorrect "Add IAP entitlement to your App ID" error

Originator:bya
Number:rdar://18935901 Date Originated:Nov 10, 2014
Status:Open Resolved:
Product:Xcode Product Version:Xcode 5.1.1
Classification: Reproducible:Yes
 
Summary:
In the Capabilities tab for my application target, Xcode displays the following error:
    Add the "In App Purchase" entitlement to your App ID
Underneath, it shows a "Fix Issue" button.

This error is incorrect: I have already added an IAP entitlement to my App ID. I think Xcode is confused because all of my code signing is set up at the project level. This allows me to share this setup across my other targets. See the attached "Code Signing (Good)" image.

If I click the "Fix Issue" button anyways, Xcode destroys my setup. See the attached "Code Signing (Bad)" image.

If I replicate my code signing setup so that the values are set at the application level rather than the project level, the error goes away.

Steps to Reproduce:
1. Set up a project with code signing values set at the project level, rather than at the application level.

Expected Results:
No error.

Actual Results:
Error.

Version:
Currently using Xcode 5.1.1 and 10.10.1

Notes:


Configuration:
This happens in Xcode 5 and Xcode 6.

Comments


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!