My Awesome Newsletter

Archives
January 16, 2019

Here's How I Integrated C++ Libraries into an Xcode Project

# Integrating C++ Libraries in your Xcode Project In the article [Objective-C and Swift – Being Friendly](https://learningswift.brightdigit.com/objective-c-and-swift-being-friendly/), I talked about how I used Objective-C to integrate C++ libraries with Swift in [Speculid](https://speculid.com/). Today, I’m going to talk about the challenges of using C++ Libraries in your XCode project. [Speculid is a completely open source application](https://speculid.com/) built with the latest version of Xcode (10.1) primarily in Swift (I’ll explain why primarily and not only). With Speculid, you can take a single graphic file and build it into a complete App Icon or Image Set.

Before I was using executables which were a pain to include as well as use. With version 2.0, I switched over to using C++ libraries. It was a pain but I learned quite a bit and it made Speculid a much better experience for the user.

If you are interested, you can read more about it [here](https://learningswift.brightdigit.com/integrating-c-plus-plus-swift/):
[https://learningswift.brightdigit.com/integrating-c-plus-plus-swift/](https://learningswift.brightdigit.com/integrating-c-plus-plus-swift/)

What are some really big challenges you face using Xcode? Send me a reply and let me know.

Thanks,
Leo

Don't miss what's next. Subscribe to My Awesome Newsletter:
Powered by Buttondown, the easiest way to start and grow your newsletter.