0

I would like to create a new Cocoa Touch Static Library project in Xcode which will build C++ source code. But when asked in the project settings for a language selection. I am hesitating, the choice is between Objective-C and Swift languages. Is the choice of project language when building c++ static library is important?

Blazej SLEBODA
  • 7,648
  • 5
  • 43
  • 81

1 Answers1

0

Choose Objective-C. Objective-C works better with C++ than Swift does. See the following Stack Overflow question:

What is Objective C++?

Swift Dev Journal
  • 18,147
  • 4
  • 53
  • 63