From 36efa187a31242b1eb82598e0c2568f8fc7bced4 Mon Sep 17 00:00:00 2001 From: Felix Schulze Date: Sat, 11 Jul 2015 12:26:58 +0200 Subject: [PATCH] Add check if lib is build --- OpenSSL-for-iOS.xcodeproj/project.pbxproj | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/OpenSSL-for-iOS.xcodeproj/project.pbxproj b/OpenSSL-for-iOS.xcodeproj/project.pbxproj index 558973b..9bd98d1 100644 --- a/OpenSSL-for-iOS.xcodeproj/project.pbxproj +++ b/OpenSSL-for-iOS.xcodeproj/project.pbxproj @@ -188,6 +188,7 @@ isa = PBXNativeTarget; buildConfigurationList = 533ED31C1528C4840005C6FA /* Build configuration list for PBXNativeTarget "OpenSSL-for-iOS" */; buildPhases = ( + 535C0E0B1B51253B0043FE32 /* Run Script */, 533ED2F71528C4840005C6FA /* Sources */, 533ED2F81528C4840005C6FA /* Frameworks */, 533ED2F91528C4840005C6FA /* Resources */, @@ -272,6 +273,23 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 535C0E0B1B51253B0043FE32 /* Run Script */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Run Script"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "if [ ! -f lib/libcrypo.a ]; then\n echo \"error: Please run ./build-libssl.h first\"\n exit 1\nfi"; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 533ED2F71528C4840005C6FA /* Sources */ = { isa = PBXSourcesBuildPhase;