Xcode should give an error if two bundles have the same bundle identifier

Originator:danielctull
Number:rdar://19045130 Date Originated:20-Nov-2014 05:38 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.1
Classification:Enhancement Reproducible:Always
 
Summary:
When adding a framework which you wish to have the same product name as the app, by default you will get duplicate bundle identifiers. When launching on the simulator, Xcode will show an error that says “An error was encountered while running (Domain = LaunchServicesError, Code = 0)”. It would be better if it could through an error at compilation time notifying the developer that there are two bundle identifiers that are the same. 

I have created a project that exhibits this issue at https://github.com/danielctull-tests/Duplicate-Bundle-Identifier-Issue

A blog post that might give further information about why I want to do this is at http://danieltull.co.uk/blog/2014/11/20/an-error-was-encountered-while-running

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!