I'm trying to set up an Applescript as a behavior in Xcode 4, but Xcode won't allow me to select my script. What kind of file is a valid script for Xcode? I've tried .applescript
, .scpt
, and .txt
. I've also tried no extension at all.
What do I need to do?
This is what I get for neglecting to read the documentation on creating a new behavior. (iOS developer login required.)
It turns out that Xcode can accept an executable file as a script. The solution was to run chmod +x
on the script file and then Xcode allowed me to select it. It's funny, because I wasn't aware that Finder allowed filtering based on chmod permissions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With