DYLD USAGE: Loading public but unavailable routines from CommonCrypto in Swift

Originator:zach
Number:rdar://32678129 Date Originated:09-Jun-2017 10:50 AM
Status:Duplicate/18256932 Resolved:false
Product:Developer Tools Product Version:Xcode Version 9.0 beta (9M136h) / swiftlang 900.0.43
Classification:Suggestion Reproducible:N/A
 
Summary:
WWDC 2017 Session 413 asked developers to share their use cases for the dlfcn.h functions.

CommonCrypto continues to lack a module map for bridging into Swift. While there are scores of workarounds, the most expedient solution for a one-off is dlsym.

See also <rdar://problem/18256932>

Steps to Reproduce:
N/A. See above and <rdar://problem/18256932>.

Expected Results:
I can use all publicly available function prototype from Apple.

Observed Results:
I cannot use all publicly available function prototype from Apple.

Version:
Xcode Version 9.0 beta (9M136h) / swiftlang 900.0.43

Notes:
N/A

Configuration:
N/A

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!