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:
Kare Morstol
2015-11-09 22:07:23 +01:00
parent 4f9e90fe62
commit a7a68866a1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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