From 102b5bf7b636410536f4817f186e204c03f5ee82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 23 May 2016 13:15:45 +0200 Subject: [PATCH] package/ci: work around iOS Simulator not finding OpenGLES.framework. --- package/ci/travis-ios-simulator.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/ci/travis-ios-simulator.sh b/package/ci/travis-ios-simulator.sh index c921a30f8..2ca875087 100755 --- a/package/ci/travis-ios-simulator.sh +++ b/package/ci/travis-ios-simulator.sh @@ -67,4 +67,7 @@ cmake .. \ -G Xcode cmake --build . --config Release | xcpretty cmake --build . --config Release --target install | xcpretty -CORRADE_TEST_COLOR=ON ctest -V -C Release -E GLTest +# TODO: find a better way to avoid +# Library not loaded: /System/Library/Frameworks/OpenGLES.framework/OpenGLES +# error +DYLD_FALLBACK_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework/ DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks CORRADE_TEST_COLOR=ON ctest -V -C Release -E GLTest