pod denied问题
/Users/xxx/Library/Developer/Xcode/DerivedData/xxx-cdsvdpxrnyrnhshklcylefhdtghq/Build/Intermediates.noindex/xxx.build/Debug-iphoneos/xxxx.build/Script-56BB1C3CFEDB9A62D05CD6D6.sh: line 2: /Users/xxxx/Desktop/xxxx/Pods/Target Support Files/Pods-xxxx/Pods-xxxx-resources.sh: Permission denied
在使用了pods之后首次编译加载时会出现错误 你的Pods存放目录/Pods/Target Support Files/Pods/Pods-resources.sh: Permission denied
该错误是由访问权限引起,解决方案是
进入Pods/Target Support Files/Pods/ 目录以后,执行以下命令即可
chmod a+x Pods-resources.sh
然后编译程序,问题得到修复
解决办法是:在test.sh所在的目录下执行sudo chmod 777 test.sh后,问题解决