阅读背景:

在xcode中运行时使用NSTask工作的Swift 2.1 OSx shell命令,但在导出时不使用

来源:互联网 

I wrote a simple OSx (10.11) application to execute shell commands when a button is pressed. It works when I run it from xcode, but when I export the application via "archive", one of the buttons no longer works. I don't get an error and I don't get any output either. I am using absolute paths so I don't understand why it works in xcode but not as an exported application, Nor do I understand why one button works and the other doesn't.I wrote a simple OSx (10.11) application to exe




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: