I am trying to build Alljoyn framework for my iOS application. But when build this framework I'm getting can't exec '/usr/local/Cellar/scons' (Permission denied) error. I have done the following 'sudo chown -R whoami
/usr/local', but no luck!
我正在尝试为我的iOS应用程序构建Alljoyn框架。但是当构建这个框架时,我得到的不能执行'/ usr / local / Cellar / scons'(Permission denied)错误。我做了以下'sudo chown -R whoami / usr / local',但没有运气!
Can you please help me on what the error could be?
你能帮我解决一下这个错误吗?
1 个解决方案
#1
0
Make sure to set the complete path including the destination file. I was getting a similar error because I was taking the file path as "/xxxx/alljoyn-15.04.00-osx_ios-sdk/alljoyn_objc/bin/". The error vanished after updating the file path as : "/xxxx/alljoyn-15.04.00-osx_ios-sdk/alljoyn_objc/bin/AllJoynCodeGenerator"
确保设置包括目标文件的完整路径。我得到了类似的错误,因为我将文件路径视为“/xxxx/alljoyn-15.04.00-osx_ios-sdk/alljoyn_objc/bin/”。更新文件路径后错误消失为:“/ xxxx /alljoyn-15.04.00-osx_ios-sdk/alljoyn_objc/bin/AllJoynCodeGenerator”
#1
0
Make sure to set the complete path including the destination file. I was getting a similar error because I was taking the file path as "/xxxx/alljoyn-15.04.00-osx_ios-sdk/alljoyn_objc/bin/". The error vanished after updating the file path as : "/xxxx/alljoyn-15.04.00-osx_ios-sdk/alljoyn_objc/bin/AllJoynCodeGenerator"
确保设置包括目标文件的完整路径。我得到了类似的错误,因为我将文件路径视为“/xxxx/alljoyn-15.04.00-osx_ios-sdk/alljoyn_objc/bin/”。更新文件路径后错误消失为:“/ xxxx /alljoyn-15.04.00-osx_ios-sdk/alljoyn_objc/bin/AllJoynCodeGenerator”