How to generate c++ or c header files when generating dylib in Objective-c project?

Replies

OK, so I presume that:

  1. You have an Xcode project that you create from the macOS > Library template.

  2. On creating it you set Type to Dynamic and Framework to None.

Is that right?

If so, what do you mean by “generate c++ or c header files”? When creating a C-based library the compiler doesn’t generate headers but, rather, you write those headers yourself. What sort of header are you trying to generate?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"