Bundle indexstore.h in Xcode along with IndexStore

Originator:davelee
Number:rdar://49490166 Date Originated:April 1, 2019
Status:Open Resolved:
Product:Developer Tools Product Version:
Classification: Reproducible:
 
Summary:

As of Xcode 10.2, libIndexStore.dylib is included in the Xcode toolchain. This is great, thank you! However, the associated header, indexstore.h, is not included. Can the header be included along with the dylib? Thanks!

Steps to Reproduce:

find /Application/Xcode.app -name indexstore.h

Expected Results:

Maybe something like:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/indexstore.h

Actual Results:

No files found

Version/Build:

Xcode 10.2 / 10E125

Configuration:

N/A

Comments

Official Reply

• This dylib is not new, it has been in the toolchain since Xcode 9.

• The header is not bundled with Xcode because it is not considered a supported stable API. With ‘not supported’ I mean that, unless stated otherwise, frameworks and dylibs contained inside the Xcode.app bundle are considered internal implementation details and we reserve the right to completely change them between Xcode versions (the ABI may change or the framework/dylib eliminated entirely, etc.).


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!