From fd321a0c48f088dc8cb627a145af16e357956d0f Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Thu, 24 Sep 2015 10:26:37 +0200 Subject: [PATCH] xcode: show error if SDK is missing --- linphone.xcodeproj/project.pbxproj | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/linphone.xcodeproj/project.pbxproj b/linphone.xcodeproj/project.pbxproj index 1cc2ceb56..f9fb8df77 100755 --- a/linphone.xcodeproj/project.pbxproj +++ b/linphone.xcodeproj/project.pbxproj @@ -3151,6 +3151,7 @@ isa = PBXNativeTarget; buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "linphone" */; buildPhases = ( + 63F0162D1BB3E9D5001FAD87 /* ShellScript */, 1D60588D0D05DD3D006BFB54 /* Resources */, 63DCC71D1A07B08E00916627 /* Run Script */, D33CF34715D3985000CD4B85 /* ShellScript */, @@ -3955,6 +3956,19 @@ shellPath = /bin/sh; shellScript = $SRCROOT/Tools/git_version.sh; }; + 63F0162D1BB3E9D5001FAD87 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "test -f liblinphone-sdk/apple-darwin/share/linphone/rootca.pem || (echo 'liblinphone SDK not found. Please refer to the README but you need to compile liblinphone SDK before building Linphone application' && exit 1)"; + }; D33CF34715D3985000CD4B85 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647;