CFBundleURLSchemes tries to open an iOS (Simulator) app on OS X

Originator:mc
Number:rdar://16010795 Date Originated:2014-02-07
Status:Open Resolved:
Product:OS X Product Version:10.9.1
Classification:UI/Usability Reproducible:Always
 
Say you have a Mac and iOS Version of an app and you'd like to use the same "foo://" URL Scheme. It actually makes sense, because you can send an email to your customers and tell them "open this same URL on your Mac and on your iOS Device". The problem, for a developer, is that during testing, clicking on that "foo://" will try to open the iOS SImulator version of the app, before the OS X Version.

Comments

RCDefaultApp

Consider using RCDefaultApp or the appropriate LaunchServices APIs to just set which URL handler is preferred on your computer. (Not to say this isn't a bug, but RCDefaultApp is a good solution for now.)


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!