Use $SWIFTSHELL_FRAMEWORK_PATH instead of $DYLD_FRAMEWORK_PATH in the swiftshell launcher script.
Because of this change in El Capitan: "Spawning children processes of processes restricted by System Integrity Protection, such as by launching a helper process in a bundle with NSTask or calling the exec(2) command, resets the Mach special ports of that child process. Any dynamic linker (dyld) environment variables, such as DYLD_LIBRARY_PATH, are purged when launching protected processes." https://developer.apple.com/library/prerelease/mac/documentation/Security/Conceptual/System_Integrity_Protection_Guide/RuntimeProtections/RuntimeProtections.html
This commit is contained in:
@@ -12,7 +12,7 @@ if [ $? -ne 0 ]; then
|
||||
fi
|
||||
|
||||
# Make sure the swiftshell script will use the newly built framework.
|
||||
export DYLD_FRAMEWORK_PATH=$PROJECT_ROOT/build/Release/
|
||||
export SWIFTSHELL_FRAMEWORK_PATH=$PROJECT_ROOT/build/Release/
|
||||
|
||||
# Import the unit testing script.
|
||||
. assert.sh
|
||||
|
||||
Reference in New Issue
Block a user