xcode: show error if SDK is missing

This commit is contained in:
Gautier Pelloux-Prayer 2015-09-24 10:26:37 +02:00
parent 238559c273
commit fd321a0c48

View file

@ -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;