I created a custom behavior in Xcode 4 (Xcode > behaviors > edit behaviors > +) in order to launch a shell script (which is configured to be executable). I can invoke the behavior using the menu or my custom shortcut (console shows up as specified), but the script is not executed (no output in the console).
The script has been already tested in the terminal and it works fine! and I also created a dummy script with a simple echo and the result is the same... why? How can I debug this?
![enter image description here]
After solving the problem I realized what I had in mind, if you are interested read my post:
[Generate beautiful code documentation with a simple shortcut using AppleDoc, Xcode custom behaviors and AppleScript!]
以上就是Xcode 4: custom behavior does not execute my sh script?的详细内容，更多请关注web前端其它相关文章！