It would appear that Gatekeeper in macOS Sierra is a bit pickier. At any rate, it is causing a small utility I made some years ago to throw a rather annoying error.
As I haven't yet had the time to dig into the under-the-hood changes in Sierra, I'm not sure how to fix the error. Does anyone have experience dealing with errors relating to AppTranslocation and fixing them?
Code and error follow:
tell application "Finder" set currentDir to POSIX path of ((container of (path to me)) as text) end tell set currentDir to quoted form of currentDir set lib80211 to quoted form of "AirPort Utility 5.6.1 Launcher.app/Contents/Resources/Apple80211.framework/Versions/A/Apple80211" do shell script "export DYLD_INSERT_LIBRARIES=" & currentDir & lib80211 & " cd " & currentDir & "AirPort\\ Utility\\ 5.6.1.app/Contents/MacOS ./AirPort\\ Utility"
sh: line 1: cd: /private/var/folders/t4/7k5z832d2tjd4xpzvvq43n4m0000gn/T/AppTranslocation/23AF67A4-3DF7-4982-A1A3-B019CDACB4C2/dAirPort Utility 5.6.1.app/Contents/MacOS: No such file or directory sh: line 2: ./AirPort Utility: No such file or directory (127)