From c90b270a59f40ae7937a078149440a01b35da8cc Mon Sep 17 00:00:00 2001 From: Danmei Chen <danmei.chen@belledonne-communications.com> Date: Thu, 6 Dec 2018 15:13:12 +0100 Subject: [PATCH] fix ios Info.plist file missing required key --- CMakeLists.txt | 1 + build/osx/Info.plist.in | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2636c09..10aca33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,6 +29,7 @@ cmake_minimum_required(VERSION 3.0) project(lime VERSION 0.0.1 LANGUAGES CXX C) set(LIME_SO_VERSION "0") +set(LIME_VERSION ${PROJECT_VERSION}) option(ENABLE_SHARED "Build shared library." ON) option(ENABLE_STATIC "Build static library." ON) diff --git a/build/osx/Info.plist.in b/build/osx/Info.plist.in index 599faf2..19a6081 100644 --- a/build/osx/Info.plist.in +++ b/build/osx/Info.plist.in @@ -26,11 +26,11 @@ <key>CFBundlePackageType</key> <string>FMWK</string> <key>CFBundleShortVersionString</key> - <string>${LINPHONE_VERSION}</string> + <string>${LIME_VERSION}</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>${LINPHONE_VERSION}</string> + <string>${LIME_VERSION}</string> <key>CSResourcesFileMapped</key> <true/> <key>NSHumanReadableCopyright</key> -- GitLab