Add helperURL to Bundle/NSBundle for Contents/Helpers

Originator:SaagarJha28
Number:rdar://29940479 Date Originated:09-Jan-2017 06:22 PM
Status:Open Resolved:
Product:macOS + SDK (Installation) Product Version:Version 8.2.1 (8C1002)
Classification:UI/Usability Reproducible:
 
Area:
Installation

Summary:
Bundle already provides many convenience variables for Resources, PlugIns, Frameworks, etc. but Helpers is conspicuously missing. I'd like to see this added.

Steps to Reproduce:
1. Try to access a Bundle's Contents/Helpers folder

Expected Results:
A property such as "helperURL"/"helperPath", etc. to make this easy

Actual Results:
:(

Version:
Version 8.2.1 (8C1002)

Notes:
Workaround, this monstrosity:
Bundle.main.bundleURL.appendingPathComponent(“Contents”, isDirectory: true).appendingPathComponent(“Helpers”, isDirectory: true)

Configuration:
Early 2015 MacBook Pro with Retina Display running macOS Sierra 10.12.3 Beta (16D17a)

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!