From 4aadfec054c71c60ab2030b3c97988f2e7c3b583 Mon Sep 17 00:00:00 2001 From: Jose Date: Mon, 17 Jun 2019 13:57:03 +0200 Subject: Enable CFBundle resources for IceSSL in Swift builds --- cpp/src/IceSSL/Util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/IceSSL/Util.cpp b/cpp/src/IceSSL/Util.cpp index 0d04ab423cd..29a265814fa 100755 --- a/cpp/src/IceSSL/Util.cpp +++ b/cpp/src/IceSSL/Util.cpp @@ -134,7 +134,7 @@ IceSSL::readFile(const string& file, vector& buffer) bool IceSSL::checkPath(const string& path, const string& defaultDir, bool dir, string& resolved) { -#if defined(ICE_USE_SECURE_TRANSPORT_IOS) +#if defined(ICE_USE_SECURE_TRANSPORT_IOS) || defined(ICE_SWIFT) CFBundleRef bundle = CFBundleGetMainBundle(); if(bundle) { -- cgit v1.2.3