Smart Banner integration can not be debugged

Originator:jszumski
Number:rdar://25731793 Date Originated:4/14/16
Status:Closed Resolved:Duplicate of 24362238
Product:iOS Product Version:8.0+
Classification:Enhancement Reproducible:always
 
Summary:
Smart Banners on iOS 8 or 9 devices don't detect Xcode-deployed builds as "installed" and always redirect to the app's App Store page instead of calling application:openURL:sourceApplication:annotation: method in the app delegate.  This means that any parsing of navigation context sent as the "app-argument" can't be directly tested before shipping to the App Store.

Steps to Reproduce:
1. Install a debug build of your app from Xcode
1. Deploy a <meta name="apple-tunes-app"> tag using your app's app-id to a webpage.
2. On an iOS 8 or 9 device, browse to the page
3. Observe the Smart Banner displays with a "View" button

Expected Results:
The Smart Banner should have an "Open" button indicating that it found the app installed, and tapping that button should call the app delegate's application:openURL:sourceApplication:annotation:.

Actual Results:
The Smart Banner always displays the "View" button that takes the user to the App Store page.

Version:
iOS 9.1 (13B143)

Notes:
This previously worked in iOS 7 by installing the App Store build first, then running a debug build on top of it.  As of iOS 8, this is no longer a valid workaround.

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!