Add a destination for Contents/Helpers for the Copy Files Build Phase

Originator:SaagarJha28
Number:rdar://29940005 Date Originated:09-Jan-2017 05:55 PM
Status:Closed Resolved:
Product:Developer Tools Product Version:Version 8.2.1 (8C1002)
Classification:Enhancement Reproducible:
 
Summary:
I'm working on an app that contains an embedded command line tool that resides in the app bundle's Contents/Helpers folder. While Xcode provides options for Contents/MacOS, Contents/Frameworks, etc. it does not provide one for Contents/Helpers. See attached screenshot for what I mean.

Steps to Reproduce:
1. Add a copy files build phase to a project to Contents/Helpers.

Expected Results:
Option for "Helpers" equivalent in the dropdown.

Actual Results:
No option available, workaround (described below) required.

Version:
Version 8.2.1 (8C1002)

Notes:
Workaround:

Select "Absolute path", and enter $(CODESIGNING_FOLDER_PATH)/Contents/Helpers for the path.

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

Comments

"$(CODESIGNING_FOLDER_PATH)/Contents/Helpers" breaks on archiving, use "$(CONTENTS_FOLDER_PATH)/Helpers" instead.

By SaagarJha28 at March 8, 2017, 2:48 a.m. (reply...)

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!