Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Example Apps

These three example Xcode projects show how to incorporate the OpenSSL+Curl libraries into your code.

iOS

The iOS Build iOS Test App

image image

tvOS

The tvOS Build tvOS Test App

Image

macOS

The macOS Build macOS Test App

Image

Build Notes

The Test Apps will not build without the required files in the libs and include folders. These are created during the build and will be installed by the script:

./build.sh

If you are setting up a new Xcode project, there are a few things you will need to do, including adding the required xcframework (lib) files and include path. Note, these are all set up for you already in the Test xcodeproj files.

Add to Project

You will need to add the xcframework files (libs) and header files (include). You will also need to add libz.tbd to the Xcode project ("General").

Image

You will also need to import the cacert.pem certificate bundle file into your project if you plan to use HTTPS (openssl) for certificate verification.

Sandbox Settings for macOS

For macOS builds, you will need to allow "Outgoing Connection (Client)" in the "Signing & Capabilities" of the project target "Sandbox" settings.

Image

You will also need to add libz.tbd, libldap.tbd, CoreFoundation.framework, and SystemConfiguration.framework to the Xcode project ("General") to prevent build errors.

Image